From 4a15bd0d4eea5e5f6a7d1e6be0c2bf9e59feb069 Mon Sep 17 00:00:00 2001 From: Robin van der Vliet Date: Sun, 9 Jul 2023 10:23:53 +0200 Subject: [PATCH] feat(locale): add Dutch province abbreviations (#2232) --- src/locales/nl/location/index.ts | 2 ++ src/locales/nl/location/state.ts | 16 ++++++++-------- src/locales/nl/location/state_abbr.ts | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 src/locales/nl/location/state_abbr.ts diff --git a/src/locales/nl/location/index.ts b/src/locales/nl/location/index.ts index 5ff29d5b224..61bff354c79 100644 --- a/src/locales/nl/location/index.ts +++ b/src/locales/nl/location/index.ts @@ -12,6 +12,7 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; +import state_abbr from './state_abbr'; import street_address from './street_address'; import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; @@ -26,6 +27,7 @@ const location: LocationDefinition = { postcode, secondary_address, state, + state_abbr, street_address, street_pattern, street_suffix, diff --git a/src/locales/nl/location/state.ts b/src/locales/nl/location/state.ts index 6b1b2900a32..8ad1c2ce851 100644 --- a/src/locales/nl/location/state.ts +++ b/src/locales/nl/location/state.ts @@ -1,14 +1,14 @@ export default [ - 'Noord-Holland', - 'Zuid-Holland', - 'Utrecht', - 'Zeeland', - 'Overijssel', - 'Gelderland', 'Drenthe', + 'Flevoland', 'Friesland', + 'Gelderland', 'Groningen', - 'Noord-Brabant', 'Limburg', - 'Flevoland', + 'Noord-Brabant', + 'Noord-Holland', + 'Overijssel', + 'Utrecht', + 'Zeeland', + 'Zuid-Holland', ]; diff --git a/src/locales/nl/location/state_abbr.ts b/src/locales/nl/location/state_abbr.ts new file mode 100644 index 00000000000..b37cf411973 --- /dev/null +++ b/src/locales/nl/location/state_abbr.ts @@ -0,0 +1,14 @@ +export default [ + 'DR', + 'FL', + 'FR', + 'GE', + 'GR', + 'LI', + 'NB', + 'NH', + 'OV', + 'UT', + 'ZE', + 'ZH', +];