aboutsummaryrefslogtreecommitdiff
path: root/src/locales/pt_PT
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-07-28 19:49:06 -0400
committerGitHub <[email protected]>2023-07-28 23:49:06 +0000
commita4631dbb82e157bf5b9e63b26de47df396b91f50 (patch)
tree5a69b2d42bc4fb3ba275a958fa14f43dbec7b820 /src/locales/pt_PT
parent1b3e5ebd8a6a6d70b50c1acae11d4b86c2858a2b (diff)
downloadfaker-a4631dbb82e157bf5b9e63b26de47df396b91f50.tar.xz
faker-a4631dbb82e157bf5b9e63b26de47df396b91f50.zip
feat(location): add states for pt_PT (#2269)
Diffstat (limited to 'src/locales/pt_PT')
-rw-r--r--src/locales/pt_PT/location/index.ts2
-rw-r--r--src/locales/pt_PT/location/state.ts22
2 files changed, 24 insertions, 0 deletions
diff --git a/src/locales/pt_PT/location/index.ts b/src/locales/pt_PT/location/index.ts
index 656d03c4..df90e11c 100644
--- a/src/locales/pt_PT/location/index.ts
+++ b/src/locales/pt_PT/location/index.ts
@@ -13,6 +13,7 @@ import default_country from './default_country';
import direction from './direction';
import postcode from './postcode';
import secondary_address from './secondary_address';
+import state from './state';
import street_address from './street_address';
import street_pattern from './street_pattern';
import street_prefix from './street_prefix';
@@ -28,6 +29,7 @@ const location: LocationDefinition = {
direction,
postcode,
secondary_address,
+ state,
street_address,
street_pattern,
street_prefix,
diff --git a/src/locales/pt_PT/location/state.ts b/src/locales/pt_PT/location/state.ts
new file mode 100644
index 00000000..da1359b5
--- /dev/null
+++ b/src/locales/pt_PT/location/state.ts
@@ -0,0 +1,22 @@
+export default [
+ 'Azores',
+ 'Aveiro',
+ 'Beja',
+ 'Braga',
+ 'Bragança',
+ 'Castelo Branco',
+ 'Coimbra',
+ 'Évora',
+ 'Faro',
+ 'Guarda',
+ 'Leiria',
+ 'Lisbon',
+ 'Madeira',
+ 'Portalegre',
+ 'Porto',
+ 'Santarém',
+ 'Setúbal',
+ 'Viana do Castelo',
+ 'Vila Real',
+ 'Viseu',
+];