diff options
| -rw-r--r-- | src/locales/hr/location/county.ts | 3 | ||||
| -rw-r--r-- | src/locales/hr/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/hr/location/state.ts | 23 |
3 files changed, 30 insertions, 0 deletions
diff --git a/src/locales/hr/location/county.ts b/src/locales/hr/location/county.ts new file mode 100644 index 00000000..6872cff7 --- /dev/null +++ b/src/locales/hr/location/county.ts @@ -0,0 +1,3 @@ +// Since first-level administrative regions of Croatia are called "counties" we return them both from the state() and county() methods +import state from './state'; +export default state; diff --git a/src/locales/hr/location/index.ts b/src/locales/hr/location/index.ts index fcdecf80..ebf8d61e 100644 --- a/src/locales/hr/location/index.ts +++ b/src/locales/hr/location/index.ts @@ -7,9 +7,11 @@ import building_number from './building_number'; import city_name from './city_name'; import city_pattern from './city_pattern'; import country from './country'; +import county from './county'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; +import state from './state'; import street_address from './street_address'; import street_name from './street_name'; import street_pattern from './street_pattern'; @@ -19,9 +21,11 @@ const location: LocationDefinition = { city_name, city_pattern, country, + county, default_country, postcode, secondary_address, + state, street_address, street_name, street_pattern, diff --git a/src/locales/hr/location/state.ts b/src/locales/hr/location/state.ts new file mode 100644 index 00000000..f82dbc94 --- /dev/null +++ b/src/locales/hr/location/state.ts @@ -0,0 +1,23 @@ +export default [ + 'Bjelovarsko-bilogorska', + 'Brodsko-posavska', + 'Dubrovačko-neretvanska', + 'Grad Zagreb', + 'Istarska', + 'Karlovačka', + 'Koprivničko-križevačka', + 'Krapinsko-zagorska', + 'Ličko-senjska', + 'Međimurska', + 'Osječko-baranjska', + 'Požeško-slavonska', + 'Primorsko-goranska', + 'Sisačko-moslavačka', + 'Splitsko-dalmatinska', + 'Šibensko-kninska', + 'Varaždinska', + 'Virovitičko-podravska', + 'Vukovarsko-srijemska', + 'Zadarska', + 'Zagrebačka', +]; |
