Skip to content

Commit

Permalink
feat(locale): add Dutch province abbreviations (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinvanderVliet committed Jul 9, 2023
1 parent 5a48282 commit 4a15bd0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/locales/nl/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -26,6 +27,7 @@ const location: LocationDefinition = {
postcode,
secondary_address,
state,
state_abbr,
street_address,
street_pattern,
street_suffix,
Expand Down
16 changes: 8 additions & 8 deletions src/locales/nl/location/state.ts
Original file line number Diff line number Diff line change
@@ -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',
];
14 changes: 14 additions & 0 deletions src/locales/nl/location/state_abbr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default [
'DR',
'FL',
'FR',
'GE',
'GR',
'LI',
'NB',
'NH',
'OV',
'UT',
'ZE',
'ZH',
];

0 comments on commit 4a15bd0

Please sign in to comment.