aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-03-30 22:29:57 +0700
committerGitHub <[email protected]>2023-03-30 15:29:57 +0000
commit3ae36919d052cbbcf21bf3f5cb16088668544f02 (patch)
tree60630a397b0fa9a95e410531ad151c375ef81f1f /src
parent6ba509392365103adcc4b5d6ca62fc74204a39ec (diff)
downloadfaker-3ae36919d052cbbcf21bf3f5cb16088668544f02.tar.xz
faker-3ae36919d052cbbcf21bf3f5cb16088668544f02.zip
feat(locale): add hu states (#1990)
Diffstat (limited to 'src')
-rw-r--r--src/locales/hu/index.ts2
-rw-r--r--src/locales/hu/location/index.ts12
-rw-r--r--src/locales/hu/location/state.ts22
3 files changed, 36 insertions, 0 deletions
diff --git a/src/locales/hu/index.ts b/src/locales/hu/index.ts
index f122d5e2..bb76bd57 100644
--- a/src/locales/hu/index.ts
+++ b/src/locales/hu/index.ts
@@ -9,6 +9,7 @@ import company from './company';
import date from './date';
import finance from './finance';
import internet from './internet';
+import location from './location';
import person from './person';
import phone_number from './phone_number';
import word from './word';
@@ -21,6 +22,7 @@ const hu: LocaleDefinition = {
date,
finance,
internet,
+ location,
person,
phone_number,
word,
diff --git a/src/locales/hu/location/index.ts b/src/locales/hu/location/index.ts
new file mode 100644
index 00000000..f6b9a5dd
--- /dev/null
+++ b/src/locales/hu/location/index.ts
@@ -0,0 +1,12 @@
+/*
+ * This file is automatically generated.
+ * Run 'pnpm run generate:locales' to update.
+ */
+import type { LocationDefinitions } from '../../..';
+import state from './state';
+
+const location: LocationDefinitions = {
+ state,
+};
+
+export default location;
diff --git a/src/locales/hu/location/state.ts b/src/locales/hu/location/state.ts
new file mode 100644
index 00000000..f8994240
--- /dev/null
+++ b/src/locales/hu/location/state.ts
@@ -0,0 +1,22 @@
+export default [
+ 'Bács-Kiskun',
+ 'Baranya',
+ 'Békés',
+ 'Borsod-Abaúj-Zemplén',
+ 'Budapest',
+ 'Csongrád-Csanád',
+ 'Fejér',
+ 'Győr-Moson-Sopron',
+ 'Hajdú-Bihar',
+ 'Heves',
+ 'Jász-Nagykun-Szolnok',
+ 'Komárom-Esztergom',
+ 'Nógrád',
+ 'Pest',
+ 'Somogy',
+ 'Szabolcs-Szatmár-Bereg',
+ 'Tolna',
+ 'Vas',
+ 'Veszprém',
+ 'Zala',
+];