From 359bed6f5a229a350f4bbd75e48dea3b6a6fe492 Mon Sep 17 00:00:00 2001 From: "Mona,Lisa" Date: Wed, 29 Mar 2023 16:56:24 +0700 Subject: [PATCH] feat(locale): add hu states MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add the 19 counties (vármegyék) of Hungary, plus the capital city (főváros) Budapest, which together make up the 1st level administrative areas ref https://en.wikipedia.org/wiki/Counties_of_Hungary https://hu.wikipedia.org/wiki/Magyarorsz%C3%A1g_v%C3%A1rmegy%C3%A9i_(2023%E2%80%93) https://infostart.hu/belfold/2023/01/02/uj-tablak-leptek-el-a-magyar-orszagutakat-galeria --- src/locales/hu/index.ts | 2 ++ src/locales/hu/location/index.ts | 12 ++++++++++++ src/locales/hu/location/state.ts | 22 ++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 src/locales/hu/location/index.ts create mode 100644 src/locales/hu/location/state.ts diff --git a/src/locales/hu/index.ts b/src/locales/hu/index.ts index f122d5e2efa..bb76bd57c00 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 00000000000..f6b9a5dd0b6 --- /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 00000000000..f8994240129 --- /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', +];