aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin van der Vliet <[email protected]>2023-07-09 10:23:53 +0200
committerGitHub <[email protected]>2023-07-09 08:23:53 +0000
commit4a15bd0d4eea5e5f6a7d1e6be0c2bf9e59feb069 (patch)
tree56317e67e42f08e9c2d5524ca79b4c438bbefa2d /src
parent5a4828264c9f27c4d4b023530fd6a893e3b8213b (diff)
downloadfaker-4a15bd0d4eea5e5f6a7d1e6be0c2bf9e59feb069.tar.xz
faker-4a15bd0d4eea5e5f6a7d1e6be0c2bf9e59feb069.zip
feat(locale): add Dutch province abbreviations (#2232)
Diffstat (limited to 'src')
-rw-r--r--src/locales/nl/location/index.ts2
-rw-r--r--src/locales/nl/location/state.ts16
-rw-r--r--src/locales/nl/location/state_abbr.ts14
3 files changed, 24 insertions, 8 deletions
diff --git a/src/locales/nl/location/index.ts b/src/locales/nl/location/index.ts
index 5ff29d5b..61bff354 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 6b1b2900..8ad1c2ce 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 00000000..b37cf411
--- /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',
+];