From 8cd196562be43d378bc82d0dfe8b003fd84c404f Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Thu, 27 Apr 2023 17:33:43 +0200 Subject: [PATCH] refactor(location)!: rename definition city to city_pattern (#2094) --- src/definitions/location.ts | 2 +- src/locales/af_ZA/location/{city.ts => city_pattern.ts} | 0 src/locales/af_ZA/location/index.ts | 4 ++-- src/locales/ar/location/{city.ts => city_pattern.ts} | 0 src/locales/ar/location/index.ts | 4 ++-- src/locales/az/location/{city.ts => city_pattern.ts} | 0 src/locales/az/location/index.ts | 4 ++-- src/locales/cs_CZ/location/{city.ts => city_pattern.ts} | 0 src/locales/cs_CZ/location/index.ts | 4 ++-- src/locales/de/location/{city.ts => city_pattern.ts} | 0 src/locales/de/location/index.ts | 4 ++-- src/locales/de_AT/location/{city.ts => city_pattern.ts} | 0 src/locales/de_AT/location/index.ts | 4 ++-- src/locales/de_CH/location/{city.ts => city_pattern.ts} | 0 src/locales/de_CH/location/index.ts | 4 ++-- src/locales/dv/location/{city.ts => city_pattern.ts} | 0 src/locales/dv/location/index.ts | 4 ++-- src/locales/el/location/{city.ts => city_pattern.ts} | 0 src/locales/el/location/index.ts | 4 ++-- src/locales/en/location/{city.ts => city_pattern.ts} | 0 src/locales/en/location/index.ts | 4 ++-- src/locales/en_AU/location/{city.ts => city_pattern.ts} | 0 src/locales/en_AU/location/index.ts | 4 ++-- src/locales/en_AU_ocker/location/{city.ts => city_pattern.ts} | 0 src/locales/en_AU_ocker/location/index.ts | 4 ++-- src/locales/en_CA/location/{city.ts => city_pattern.ts} | 0 src/locales/en_CA/location/index.ts | 4 ++-- src/locales/en_GB/location/{city.ts => city_pattern.ts} | 0 src/locales/en_GB/location/index.ts | 4 ++-- src/locales/en_GH/location/{city.ts => city_pattern.ts} | 0 src/locales/en_GH/location/index.ts | 4 ++-- src/locales/en_IE/location/{city.ts => city_pattern.ts} | 0 src/locales/en_IE/location/index.ts | 4 ++-- src/locales/en_IN/location/{city.ts => city_pattern.ts} | 0 src/locales/en_IN/location/index.ts | 4 ++-- src/locales/en_NG/location/{city.ts => city_pattern.ts} | 0 src/locales/en_NG/location/index.ts | 4 ++-- src/locales/en_US/location/{city.ts => city_pattern.ts} | 0 src/locales/en_US/location/index.ts | 4 ++-- src/locales/en_ZA/location/{city.ts => city_pattern.ts} | 0 src/locales/en_ZA/location/index.ts | 4 ++-- src/locales/es/location/{city.ts => city_pattern.ts} | 0 src/locales/es/location/index.ts | 4 ++-- src/locales/es_MX/location/{city.ts => city_pattern.ts} | 0 src/locales/es_MX/location/index.ts | 4 ++-- src/locales/fa/location/{city.ts => city_pattern.ts} | 0 src/locales/fa/location/index.ts | 4 ++-- src/locales/fr/location/{city.ts => city_pattern.ts} | 0 src/locales/fr/location/index.ts | 4 ++-- src/locales/fr_BE/location/{city.ts => city_pattern.ts} | 0 src/locales/fr_BE/location/index.ts | 4 ++-- src/locales/fr_CA/location/{city.ts => city_pattern.ts} | 0 src/locales/fr_CA/location/index.ts | 4 ++-- src/locales/fr_CH/location/{city.ts => city_pattern.ts} | 0 src/locales/fr_CH/location/index.ts | 4 ++-- src/locales/fr_LU/location/{city.ts => city_pattern.ts} | 0 src/locales/fr_LU/location/index.ts | 4 ++-- src/locales/he/location/{city.ts => city_pattern.ts} | 0 src/locales/he/location/index.ts | 4 ++-- src/locales/hr/location/{city.ts => city_pattern.ts} | 0 src/locales/hr/location/index.ts | 4 ++-- src/locales/hy/location/{city.ts => city_pattern.ts} | 0 src/locales/hy/location/index.ts | 4 ++-- src/locales/id_ID/location/{city.ts => city_pattern.ts} | 0 src/locales/id_ID/location/index.ts | 4 ++-- src/locales/it/location/{city.ts => city_pattern.ts} | 0 src/locales/it/location/index.ts | 4 ++-- src/locales/ja/location/{city.ts => city_pattern.ts} | 0 src/locales/ja/location/index.ts | 4 ++-- src/locales/ka_GE/location/{city.ts => city_pattern.ts} | 0 src/locales/ka_GE/location/index.ts | 4 ++-- src/locales/ko/location/{city.ts => city_pattern.ts} | 0 src/locales/ko/location/index.ts | 4 ++-- src/locales/lv/location/{city.ts => city_pattern.ts} | 0 src/locales/lv/location/index.ts | 4 ++-- src/locales/mk/location/{city.ts => city_pattern.ts} | 0 src/locales/mk/location/index.ts | 4 ++-- src/locales/nb_NO/location/{city.ts => city_pattern.ts} | 0 src/locales/nb_NO/location/index.ts | 4 ++-- src/locales/ne/location/{city.ts => city_pattern.ts} | 0 src/locales/ne/location/index.ts | 4 ++-- src/locales/nl/location/{city.ts => city_pattern.ts} | 0 src/locales/nl/location/index.ts | 4 ++-- src/locales/nl_BE/location/{city.ts => city_pattern.ts} | 0 src/locales/nl_BE/location/index.ts | 4 ++-- src/locales/pl/location/{city.ts => city_pattern.ts} | 0 src/locales/pl/location/index.ts | 4 ++-- src/locales/pt_BR/location/{city.ts => city_pattern.ts} | 0 src/locales/pt_BR/location/index.ts | 4 ++-- src/locales/pt_PT/location/{city.ts => city_pattern.ts} | 0 src/locales/pt_PT/location/index.ts | 4 ++-- src/locales/ro/location/{city.ts => city_pattern.ts} | 0 src/locales/ro/location/index.ts | 4 ++-- src/locales/ru/location/{city.ts => city_pattern.ts} | 0 src/locales/ru/location/index.ts | 4 ++-- src/locales/sk/location/{city.ts => city_pattern.ts} | 0 src/locales/sk/location/index.ts | 4 ++-- src/locales/sr_RS_latin/location/{city.ts => city_pattern.ts} | 0 src/locales/sr_RS_latin/location/index.ts | 4 ++-- src/locales/sv/location/{city.ts => city_pattern.ts} | 0 src/locales/sv/location/index.ts | 4 ++-- src/locales/th/location/{city.ts => city_pattern.ts} | 0 src/locales/th/location/index.ts | 4 ++-- src/locales/tr/location/{city.ts => city_pattern.ts} | 0 src/locales/tr/location/index.ts | 4 ++-- src/locales/uk/location/{city.ts => city_pattern.ts} | 0 src/locales/uk/location/index.ts | 4 ++-- src/locales/ur/location/{city.ts => city_pattern.ts} | 0 src/locales/ur/location/index.ts | 4 ++-- src/locales/vi/location/{city.ts => city_pattern.ts} | 0 src/locales/vi/location/index.ts | 4 ++-- src/locales/zh_CN/location/{city.ts => city_pattern.ts} | 0 src/locales/zh_CN/location/index.ts | 4 ++-- src/locales/zh_TW/location/{city.ts => city_pattern.ts} | 0 src/locales/zh_TW/location/index.ts | 4 ++-- src/locales/zu_ZA/location/{city.ts => city_pattern.ts} | 0 src/locales/zu_ZA/location/index.ts | 4 ++-- src/modules/location/index.ts | 4 +++- 118 files changed, 120 insertions(+), 118 deletions(-) rename src/locales/af_ZA/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ar/location/{city.ts => city_pattern.ts} (100%) rename src/locales/az/location/{city.ts => city_pattern.ts} (100%) rename src/locales/cs_CZ/location/{city.ts => city_pattern.ts} (100%) rename src/locales/de/location/{city.ts => city_pattern.ts} (100%) rename src/locales/de_AT/location/{city.ts => city_pattern.ts} (100%) rename src/locales/de_CH/location/{city.ts => city_pattern.ts} (100%) rename src/locales/dv/location/{city.ts => city_pattern.ts} (100%) rename src/locales/el/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_AU/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_AU_ocker/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_CA/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_GB/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_GH/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_IE/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_IN/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_NG/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_US/location/{city.ts => city_pattern.ts} (100%) rename src/locales/en_ZA/location/{city.ts => city_pattern.ts} (100%) rename src/locales/es/location/{city.ts => city_pattern.ts} (100%) rename src/locales/es_MX/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fa/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fr/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fr_BE/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fr_CA/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fr_CH/location/{city.ts => city_pattern.ts} (100%) rename src/locales/fr_LU/location/{city.ts => city_pattern.ts} (100%) rename src/locales/he/location/{city.ts => city_pattern.ts} (100%) rename src/locales/hr/location/{city.ts => city_pattern.ts} (100%) rename src/locales/hy/location/{city.ts => city_pattern.ts} (100%) rename src/locales/id_ID/location/{city.ts => city_pattern.ts} (100%) rename src/locales/it/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ja/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ka_GE/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ko/location/{city.ts => city_pattern.ts} (100%) rename src/locales/lv/location/{city.ts => city_pattern.ts} (100%) rename src/locales/mk/location/{city.ts => city_pattern.ts} (100%) rename src/locales/nb_NO/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ne/location/{city.ts => city_pattern.ts} (100%) rename src/locales/nl/location/{city.ts => city_pattern.ts} (100%) rename src/locales/nl_BE/location/{city.ts => city_pattern.ts} (100%) rename src/locales/pl/location/{city.ts => city_pattern.ts} (100%) rename src/locales/pt_BR/location/{city.ts => city_pattern.ts} (100%) rename src/locales/pt_PT/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ro/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ru/location/{city.ts => city_pattern.ts} (100%) rename src/locales/sk/location/{city.ts => city_pattern.ts} (100%) rename src/locales/sr_RS_latin/location/{city.ts => city_pattern.ts} (100%) rename src/locales/sv/location/{city.ts => city_pattern.ts} (100%) rename src/locales/th/location/{city.ts => city_pattern.ts} (100%) rename src/locales/tr/location/{city.ts => city_pattern.ts} (100%) rename src/locales/uk/location/{city.ts => city_pattern.ts} (100%) rename src/locales/ur/location/{city.ts => city_pattern.ts} (100%) rename src/locales/vi/location/{city.ts => city_pattern.ts} (100%) rename src/locales/zh_CN/location/{city.ts => city_pattern.ts} (100%) rename src/locales/zh_TW/location/{city.ts => city_pattern.ts} (100%) rename src/locales/zu_ZA/location/{city.ts => city_pattern.ts} (100%) diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 7e2403aa39c..0c834b7b7ff 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -17,7 +17,7 @@ export type LocationDefinitions = LocaleEntry<{ /** * The patterns to generate city names. */ - city: string[]; + city_pattern: string[]; /** * The names of actual cities. diff --git a/src/locales/af_ZA/location/city.ts b/src/locales/af_ZA/location/city_pattern.ts similarity index 100% rename from src/locales/af_ZA/location/city.ts rename to src/locales/af_ZA/location/city_pattern.ts diff --git a/src/locales/af_ZA/location/index.ts b/src/locales/af_ZA/location/index.ts index 5c4d4277a59..1b634f12dd2 100644 --- a/src/locales/af_ZA/location/index.ts +++ b/src/locales/af_ZA/location/index.ts @@ -3,14 +3,14 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, default_country, postcode, state, diff --git a/src/locales/ar/location/city.ts b/src/locales/ar/location/city_pattern.ts similarity index 100% rename from src/locales/ar/location/city.ts rename to src/locales/ar/location/city_pattern.ts diff --git a/src/locales/ar/location/index.ts b/src/locales/ar/location/index.ts index 80517bb2277..b83ab5cce94 100644 --- a/src/locales/ar/location/index.ts +++ b/src/locales/ar/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -17,8 +17,8 @@ import street_prefix from './street_prefix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/az/location/city.ts b/src/locales/az/location/city_pattern.ts similarity index 100% rename from src/locales/az/location/city.ts rename to src/locales/az/location/city_pattern.ts diff --git a/src/locales/az/location/index.ts b/src/locales/az/location/index.ts index c7940e2a076..54db48f9d75 100644 --- a/src/locales/az/location/index.ts +++ b/src/locales/az/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -18,8 +18,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/cs_CZ/location/city.ts b/src/locales/cs_CZ/location/city_pattern.ts similarity index 100% rename from src/locales/cs_CZ/location/city.ts rename to src/locales/cs_CZ/location/city_pattern.ts diff --git a/src/locales/cs_CZ/location/index.ts b/src/locales/cs_CZ/location/index.ts index f519be9bca5..98e0bad6f4f 100644 --- a/src/locales/cs_CZ/location/index.ts +++ b/src/locales/cs_CZ/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -18,8 +18,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/de/location/city.ts b/src/locales/de/location/city_pattern.ts similarity index 100% rename from src/locales/de/location/city.ts rename to src/locales/de/location/city_pattern.ts diff --git a/src/locales/de/location/index.ts b/src/locales/de/location/index.ts index 73024bf21c5..4edee784bd5 100644 --- a/src/locales/de/location/index.ts +++ b/src/locales/de/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -20,8 +20,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/de_AT/location/city.ts b/src/locales/de_AT/location/city_pattern.ts similarity index 100% rename from src/locales/de_AT/location/city.ts rename to src/locales/de_AT/location/city_pattern.ts diff --git a/src/locales/de_AT/location/index.ts b/src/locales/de_AT/location/index.ts index f519be9bca5..98e0bad6f4f 100644 --- a/src/locales/de_AT/location/index.ts +++ b/src/locales/de_AT/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -18,8 +18,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/de_CH/location/city.ts b/src/locales/de_CH/location/city_pattern.ts similarity index 100% rename from src/locales/de_CH/location/city.ts rename to src/locales/de_CH/location/city_pattern.ts diff --git a/src/locales/de_CH/location/index.ts b/src/locales/de_CH/location/index.ts index 1f624f34ab0..552f01fe080 100644 --- a/src/locales/de_CH/location/index.ts +++ b/src/locales/de_CH/location/index.ts @@ -3,8 +3,8 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country_code from './country_code'; import default_country from './default_country'; import postcode from './postcode'; @@ -14,8 +14,8 @@ import street_name from './street_name'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, city_name, + city_pattern, country_code, default_country, postcode, diff --git a/src/locales/dv/location/city.ts b/src/locales/dv/location/city_pattern.ts similarity index 100% rename from src/locales/dv/location/city.ts rename to src/locales/dv/location/city_pattern.ts diff --git a/src/locales/dv/location/index.ts b/src/locales/dv/location/index.ts index 8b722ee3bfb..2d4cea5d532 100644 --- a/src/locales/dv/location/index.ts +++ b/src/locales/dv/location/index.ts @@ -3,8 +3,8 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; @@ -13,8 +13,8 @@ import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { - city, city_name, + city_pattern, city_prefix, city_suffix, default_country, diff --git a/src/locales/el/location/city.ts b/src/locales/el/location/city_pattern.ts similarity index 100% rename from src/locales/el/location/city.ts rename to src/locales/el/location/city_pattern.ts diff --git a/src/locales/el/location/index.ts b/src/locales/el/location/index.ts index e9bd80bfba0..0817e8ba6a8 100644 --- a/src/locales/el/location/index.ts +++ b/src/locales/el/location/index.ts @@ -3,13 +3,13 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import county from './county'; import default_country from './default_country'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, county, default_country, street_pattern, diff --git a/src/locales/en/location/city.ts b/src/locales/en/location/city_pattern.ts similarity index 100% rename from src/locales/en/location/city.ts rename to src/locales/en/location/city_pattern.ts diff --git a/src/locales/en/location/index.ts b/src/locales/en/location/index.ts index 06406c63c04..c6473d5176e 100644 --- a/src/locales/en/location/index.ts +++ b/src/locales/en/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -23,8 +23,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/en_AU/location/city.ts b/src/locales/en_AU/location/city_pattern.ts similarity index 100% rename from src/locales/en_AU/location/city.ts rename to src/locales/en_AU/location/city_pattern.ts diff --git a/src/locales/en_AU/location/index.ts b/src/locales/en_AU/location/index.ts index 4e2d8a67607..9b44eb276a5 100644 --- a/src/locales/en_AU/location/index.ts +++ b/src/locales/en_AU/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -14,7 +14,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, default_country, postcode, state, diff --git a/src/locales/en_AU_ocker/location/city.ts b/src/locales/en_AU_ocker/location/city_pattern.ts similarity index 100% rename from src/locales/en_AU_ocker/location/city.ts rename to src/locales/en_AU_ocker/location/city_pattern.ts diff --git a/src/locales/en_AU_ocker/location/index.ts b/src/locales/en_AU_ocker/location/index.ts index 7660613e08e..25cea30fd32 100644 --- a/src/locales/en_AU_ocker/location/index.ts +++ b/src/locales/en_AU_ocker/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; @@ -17,7 +17,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, default_country, postcode, diff --git a/src/locales/en_CA/location/city.ts b/src/locales/en_CA/location/city_pattern.ts similarity index 100% rename from src/locales/en_CA/location/city.ts rename to src/locales/en_CA/location/city_pattern.ts diff --git a/src/locales/en_CA/location/index.ts b/src/locales/en_CA/location/index.ts index 05bfd853d02..94556e5b5dd 100644 --- a/src/locales/en_CA/location/index.ts +++ b/src/locales/en_CA/location/index.ts @@ -3,8 +3,8 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -12,8 +12,8 @@ import state_abbr from './state_abbr'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, city_name, + city_pattern, default_country, postcode, state, diff --git a/src/locales/en_GB/location/city.ts b/src/locales/en_GB/location/city_pattern.ts similarity index 100% rename from src/locales/en_GB/location/city.ts rename to src/locales/en_GB/location/city_pattern.ts diff --git a/src/locales/en_GB/location/index.ts b/src/locales/en_GB/location/index.ts index 29e876985e3..0ae9c358b17 100644 --- a/src/locales/en_GB/location/index.ts +++ b/src/locales/en_GB/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_infix from './city_infix'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import county from './county'; @@ -17,8 +17,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_infix, + city_pattern, city_prefix, city_suffix, county, diff --git a/src/locales/en_GH/location/city.ts b/src/locales/en_GH/location/city_pattern.ts similarity index 100% rename from src/locales/en_GH/location/city.ts rename to src/locales/en_GH/location/city_pattern.ts diff --git a/src/locales/en_GH/location/index.ts b/src/locales/en_GH/location/index.ts index 98d17a79a19..ef853bfeaa9 100644 --- a/src/locales/en_GH/location/index.ts +++ b/src/locales/en_GH/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -16,8 +16,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, default_country, postcode, state, diff --git a/src/locales/en_IE/location/city.ts b/src/locales/en_IE/location/city_pattern.ts similarity index 100% rename from src/locales/en_IE/location/city.ts rename to src/locales/en_IE/location/city_pattern.ts diff --git a/src/locales/en_IE/location/index.ts b/src/locales/en_IE/location/index.ts index e9bd80bfba0..0817e8ba6a8 100644 --- a/src/locales/en_IE/location/index.ts +++ b/src/locales/en_IE/location/index.ts @@ -3,13 +3,13 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import county from './county'; import default_country from './default_country'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, county, default_country, street_pattern, diff --git a/src/locales/en_IN/location/city.ts b/src/locales/en_IN/location/city_pattern.ts similarity index 100% rename from src/locales/en_IN/location/city.ts rename to src/locales/en_IN/location/city_pattern.ts diff --git a/src/locales/en_IN/location/index.ts b/src/locales/en_IN/location/index.ts index 05bfd853d02..94556e5b5dd 100644 --- a/src/locales/en_IN/location/index.ts +++ b/src/locales/en_IN/location/index.ts @@ -3,8 +3,8 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -12,8 +12,8 @@ import state_abbr from './state_abbr'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, city_name, + city_pattern, default_country, postcode, state, diff --git a/src/locales/en_NG/location/city.ts b/src/locales/en_NG/location/city_pattern.ts similarity index 100% rename from src/locales/en_NG/location/city.ts rename to src/locales/en_NG/location/city_pattern.ts diff --git a/src/locales/en_NG/location/index.ts b/src/locales/en_NG/location/index.ts index 58310282075..076fd9cc0ba 100644 --- a/src/locales/en_NG/location/index.ts +++ b/src/locales/en_NG/location/index.ts @@ -3,7 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; @@ -11,7 +11,7 @@ import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, city_prefix, default_country, postcode, diff --git a/src/locales/en_US/location/city.ts b/src/locales/en_US/location/city_pattern.ts similarity index 100% rename from src/locales/en_US/location/city.ts rename to src/locales/en_US/location/city_pattern.ts diff --git a/src/locales/en_US/location/index.ts b/src/locales/en_US/location/index.ts index 7f98dae9836..bcf053d326a 100644 --- a/src/locales/en_US/location/index.ts +++ b/src/locales/en_US/location/index.ts @@ -3,14 +3,14 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import county from './county'; import default_country from './default_country'; import postcode_by_state from './postcode_by_state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, county, default_country, postcode_by_state, diff --git a/src/locales/en_ZA/location/city.ts b/src/locales/en_ZA/location/city_pattern.ts similarity index 100% rename from src/locales/en_ZA/location/city.ts rename to src/locales/en_ZA/location/city_pattern.ts diff --git a/src/locales/en_ZA/location/index.ts b/src/locales/en_ZA/location/index.ts index 58310282075..076fd9cc0ba 100644 --- a/src/locales/en_ZA/location/index.ts +++ b/src/locales/en_ZA/location/index.ts @@ -3,7 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; @@ -11,7 +11,7 @@ import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, city_prefix, default_country, postcode, diff --git a/src/locales/es/location/city.ts b/src/locales/es/location/city_pattern.ts similarity index 100% rename from src/locales/es/location/city.ts rename to src/locales/es/location/city_pattern.ts diff --git a/src/locales/es/location/index.ts b/src/locales/es/location/index.ts index 459c2dca2e6..da7fb4fc10a 100644 --- a/src/locales/es/location/index.ts +++ b/src/locales/es/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import country from './country'; import default_country from './default_country'; @@ -19,7 +19,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, country, default_country, diff --git a/src/locales/es_MX/location/city.ts b/src/locales/es_MX/location/city_pattern.ts similarity index 100% rename from src/locales/es_MX/location/city.ts rename to src/locales/es_MX/location/city_pattern.ts diff --git a/src/locales/es_MX/location/index.ts b/src/locales/es_MX/location/index.ts index 38a55583fe1..5e986982fe7 100644 --- a/src/locales/es_MX/location/index.ts +++ b/src/locales/es_MX/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -20,7 +20,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/fa/location/city.ts b/src/locales/fa/location/city_pattern.ts similarity index 100% rename from src/locales/fa/location/city.ts rename to src/locales/fa/location/city_pattern.ts diff --git a/src/locales/fa/location/index.ts b/src/locales/fa/location/index.ts index 543c2da02d8..a12a1eef15f 100644 --- a/src/locales/fa/location/index.ts +++ b/src/locales/fa/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -21,8 +21,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/fr/location/city.ts b/src/locales/fr/location/city_pattern.ts similarity index 100% rename from src/locales/fr/location/city.ts rename to src/locales/fr/location/city_pattern.ts diff --git a/src/locales/fr/location/index.ts b/src/locales/fr/location/index.ts index 6e9ff89a0de..f9ae03f39ba 100644 --- a/src/locales/fr/location/index.ts +++ b/src/locales/fr/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import direction from './direction'; @@ -19,8 +19,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, direction, diff --git a/src/locales/fr_BE/location/city.ts b/src/locales/fr_BE/location/city_pattern.ts similarity index 100% rename from src/locales/fr_BE/location/city.ts rename to src/locales/fr_BE/location/city_pattern.ts diff --git a/src/locales/fr_BE/location/index.ts b/src/locales/fr_BE/location/index.ts index f465c55889f..fe69fe4b4fd 100644 --- a/src/locales/fr_BE/location/index.ts +++ b/src/locales/fr_BE/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; @@ -18,7 +18,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, default_country, diff --git a/src/locales/fr_CA/location/city.ts b/src/locales/fr_CA/location/city_pattern.ts similarity index 100% rename from src/locales/fr_CA/location/city.ts rename to src/locales/fr_CA/location/city_pattern.ts diff --git a/src/locales/fr_CA/location/index.ts b/src/locales/fr_CA/location/index.ts index dc1d228acc6..cddf0ff8833 100644 --- a/src/locales/fr_CA/location/index.ts +++ b/src/locales/fr_CA/location/index.ts @@ -3,7 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -11,7 +11,7 @@ import state_abbr from './state_abbr'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, default_country, postcode, state, diff --git a/src/locales/fr_CH/location/city.ts b/src/locales/fr_CH/location/city_pattern.ts similarity index 100% rename from src/locales/fr_CH/location/city.ts rename to src/locales/fr_CH/location/city_pattern.ts diff --git a/src/locales/fr_CH/location/index.ts b/src/locales/fr_CH/location/index.ts index 490386bc263..ceffaba4a49 100644 --- a/src/locales/fr_CH/location/index.ts +++ b/src/locales/fr_CH/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import country_code from './country_code'; import default_country from './default_country'; @@ -21,8 +21,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, country_code, default_country, diff --git a/src/locales/fr_LU/location/city.ts b/src/locales/fr_LU/location/city_pattern.ts similarity index 100% rename from src/locales/fr_LU/location/city.ts rename to src/locales/fr_LU/location/city_pattern.ts diff --git a/src/locales/fr_LU/location/index.ts b/src/locales/fr_LU/location/index.ts index 1db98544078..a078e57e0cd 100644 --- a/src/locales/fr_LU/location/index.ts +++ b/src/locales/fr_LU/location/index.ts @@ -3,14 +3,14 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import postcode from './postcode'; import state from './state'; const location: LocationDefinitions = { - city, city_name, + city_pattern, postcode, state, }; diff --git a/src/locales/he/location/city.ts b/src/locales/he/location/city_pattern.ts similarity index 100% rename from src/locales/he/location/city.ts rename to src/locales/he/location/city_pattern.ts diff --git a/src/locales/he/location/index.ts b/src/locales/he/location/index.ts index 8ee11cff379..6388b5d2940 100644 --- a/src/locales/he/location/index.ts +++ b/src/locales/he/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import county from './county'; import default_country from './default_country'; @@ -22,8 +22,8 @@ import street_prefix from './street_prefix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, county, default_country, diff --git a/src/locales/hr/location/city.ts b/src/locales/hr/location/city_pattern.ts similarity index 100% rename from src/locales/hr/location/city.ts rename to src/locales/hr/location/city_pattern.ts diff --git a/src/locales/hr/location/index.ts b/src/locales/hr/location/index.ts index 220f6fea8b6..4b649a30ce5 100644 --- a/src/locales/hr/location/index.ts +++ b/src/locales/hr/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -16,8 +16,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/hy/location/city.ts b/src/locales/hy/location/city_pattern.ts similarity index 100% rename from src/locales/hy/location/city.ts rename to src/locales/hy/location/city_pattern.ts diff --git a/src/locales/hy/location/index.ts b/src/locales/hy/location/index.ts index cb874da5f1b..bbb303c0e4f 100644 --- a/src/locales/hy/location/index.ts +++ b/src/locales/hy/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -18,7 +18,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/id_ID/location/city.ts b/src/locales/id_ID/location/city_pattern.ts similarity index 100% rename from src/locales/id_ID/location/city.ts rename to src/locales/id_ID/location/city_pattern.ts diff --git a/src/locales/id_ID/location/index.ts b/src/locales/id_ID/location/index.ts index de016532dde..adc29558e0a 100644 --- a/src/locales/id_ID/location/index.ts +++ b/src/locales/id_ID/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; @@ -15,8 +15,8 @@ import street_prefix from './street_prefix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, default_country, postcode, state, diff --git a/src/locales/it/location/city.ts b/src/locales/it/location/city_pattern.ts similarity index 100% rename from src/locales/it/location/city.ts rename to src/locales/it/location/city_pattern.ts diff --git a/src/locales/it/location/index.ts b/src/locales/it/location/index.ts index 3a5cf17d703..a2f2f60f99e 100644 --- a/src/locales/it/location/index.ts +++ b/src/locales/it/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -20,8 +20,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/ja/location/city.ts b/src/locales/ja/location/city_pattern.ts similarity index 100% rename from src/locales/ja/location/city.ts rename to src/locales/ja/location/city_pattern.ts diff --git a/src/locales/ja/location/index.ts b/src/locales/ja/location/index.ts index bfa9651d5b2..7c38d8a4c55 100644 --- a/src/locales/ja/location/index.ts +++ b/src/locales/ja/location/index.ts @@ -3,7 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -13,7 +13,7 @@ import state_abbr from './state_abbr'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/ka_GE/location/city.ts b/src/locales/ka_GE/location/city_pattern.ts similarity index 100% rename from src/locales/ka_GE/location/city.ts rename to src/locales/ka_GE/location/city_pattern.ts diff --git a/src/locales/ka_GE/location/index.ts b/src/locales/ka_GE/location/index.ts index ebc8d0c1dca..66906e05288 100644 --- a/src/locales/ka_GE/location/index.ts +++ b/src/locales/ka_GE/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -19,8 +19,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/ko/location/city.ts b/src/locales/ko/location/city_pattern.ts similarity index 100% rename from src/locales/ko/location/city.ts rename to src/locales/ko/location/city_pattern.ts diff --git a/src/locales/ko/location/index.ts b/src/locales/ko/location/index.ts index 278d9b1ee13..09844692268 100644 --- a/src/locales/ko/location/index.ts +++ b/src/locales/ko/location/index.ts @@ -3,8 +3,8 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_suffix from './city_suffix'; import postcode from './postcode'; import secondary_address from './secondary_address'; @@ -15,8 +15,8 @@ import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { - city, city_name, + city_pattern, city_suffix, postcode, secondary_address, diff --git a/src/locales/lv/location/city.ts b/src/locales/lv/location/city_pattern.ts similarity index 100% rename from src/locales/lv/location/city.ts rename to src/locales/lv/location/city_pattern.ts diff --git a/src/locales/lv/location/index.ts b/src/locales/lv/location/index.ts index c7940e2a076..54db48f9d75 100644 --- a/src/locales/lv/location/index.ts +++ b/src/locales/lv/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -18,8 +18,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/mk/location/city.ts b/src/locales/mk/location/city_pattern.ts similarity index 100% rename from src/locales/mk/location/city.ts rename to src/locales/mk/location/city_pattern.ts diff --git a/src/locales/mk/location/index.ts b/src/locales/mk/location/index.ts index 220f6fea8b6..4b649a30ce5 100644 --- a/src/locales/mk/location/index.ts +++ b/src/locales/mk/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -16,8 +16,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/nb_NO/location/city.ts b/src/locales/nb_NO/location/city_pattern.ts similarity index 100% rename from src/locales/nb_NO/location/city.ts rename to src/locales/nb_NO/location/city_pattern.ts diff --git a/src/locales/nb_NO/location/index.ts b/src/locales/nb_NO/location/index.ts index 17255e9a3b1..6fae1a736b6 100644 --- a/src/locales/nb_NO/location/index.ts +++ b/src/locales/nb_NO/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_suffix from './city_suffix'; import common_street_suffix from './common_street_suffix'; import default_country from './default_country'; @@ -20,8 +20,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_suffix, common_street_suffix, default_country, diff --git a/src/locales/ne/location/city.ts b/src/locales/ne/location/city_pattern.ts similarity index 100% rename from src/locales/ne/location/city.ts rename to src/locales/ne/location/city_pattern.ts diff --git a/src/locales/ne/location/index.ts b/src/locales/ne/location/index.ts index f732e6e374e..1126ed1c249 100644 --- a/src/locales/ne/location/index.ts +++ b/src/locales/ne/location/index.ts @@ -3,15 +3,15 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, city_name, + city_pattern, default_country, state, street_pattern, diff --git a/src/locales/nl/location/city.ts b/src/locales/nl/location/city_pattern.ts similarity index 100% rename from src/locales/nl/location/city.ts rename to src/locales/nl/location/city_pattern.ts diff --git a/src/locales/nl/location/index.ts b/src/locales/nl/location/index.ts index fd0195d2314..acdb59db14e 100644 --- a/src/locales/nl/location/index.ts +++ b/src/locales/nl/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -18,7 +18,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/nl_BE/location/city.ts b/src/locales/nl_BE/location/city_pattern.ts similarity index 100% rename from src/locales/nl_BE/location/city.ts rename to src/locales/nl_BE/location/city_pattern.ts diff --git a/src/locales/nl_BE/location/index.ts b/src/locales/nl_BE/location/index.ts index 9aefddb03c6..db4342782fd 100644 --- a/src/locales/nl_BE/location/index.ts +++ b/src/locales/nl_BE/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; @@ -18,7 +18,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, default_country, diff --git a/src/locales/pl/location/city.ts b/src/locales/pl/location/city_pattern.ts similarity index 100% rename from src/locales/pl/location/city.ts rename to src/locales/pl/location/city_pattern.ts diff --git a/src/locales/pl/location/index.ts b/src/locales/pl/location/index.ts index 870efa9baa0..66002bb89b7 100644 --- a/src/locales/pl/location/index.ts +++ b/src/locales/pl/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import direction from './direction'; @@ -20,8 +20,8 @@ import street_prefix from './street_prefix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, direction, diff --git a/src/locales/pt_BR/location/city.ts b/src/locales/pt_BR/location/city_pattern.ts similarity index 100% rename from src/locales/pt_BR/location/city.ts rename to src/locales/pt_BR/location/city_pattern.ts diff --git a/src/locales/pt_BR/location/index.ts b/src/locales/pt_BR/location/index.ts index d886fa657bf..3f70ab03abf 100644 --- a/src/locales/pt_BR/location/index.ts +++ b/src/locales/pt_BR/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -18,7 +18,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/pt_PT/location/city.ts b/src/locales/pt_PT/location/city_pattern.ts similarity index 100% rename from src/locales/pt_PT/location/city.ts rename to src/locales/pt_PT/location/city_pattern.ts diff --git a/src/locales/pt_PT/location/index.ts b/src/locales/pt_PT/location/index.ts index 8182c3209a7..c41a0987e73 100644 --- a/src/locales/pt_PT/location/index.ts +++ b/src/locales/pt_PT/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -19,8 +19,8 @@ import street_prefix from './street_prefix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/ro/location/city.ts b/src/locales/ro/location/city_pattern.ts similarity index 100% rename from src/locales/ro/location/city.ts rename to src/locales/ro/location/city_pattern.ts diff --git a/src/locales/ro/location/index.ts b/src/locales/ro/location/index.ts index 1a36f1b2293..a74f8881378 100644 --- a/src/locales/ro/location/index.ts +++ b/src/locales/ro/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import county from './county'; import default_country from './default_country'; import postcode from './postcode'; @@ -19,8 +19,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, county, default_country, postcode, diff --git a/src/locales/ru/location/city.ts b/src/locales/ru/location/city_pattern.ts similarity index 100% rename from src/locales/ru/location/city.ts rename to src/locales/ru/location/city_pattern.ts diff --git a/src/locales/ru/location/index.ts b/src/locales/ru/location/index.ts index c7940e2a076..54db48f9d75 100644 --- a/src/locales/ru/location/index.ts +++ b/src/locales/ru/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -18,8 +18,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/sk/location/city.ts b/src/locales/sk/location/city_pattern.ts similarity index 100% rename from src/locales/sk/location/city.ts rename to src/locales/sk/location/city_pattern.ts diff --git a/src/locales/sk/location/index.ts b/src/locales/sk/location/index.ts index 73024bf21c5..4edee784bd5 100644 --- a/src/locales/sk/location/index.ts +++ b/src/locales/sk/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -20,8 +20,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/sr_RS_latin/location/city.ts b/src/locales/sr_RS_latin/location/city_pattern.ts similarity index 100% rename from src/locales/sr_RS_latin/location/city.ts rename to src/locales/sr_RS_latin/location/city_pattern.ts diff --git a/src/locales/sr_RS_latin/location/index.ts b/src/locales/sr_RS_latin/location/index.ts index 220f6fea8b6..4b649a30ce5 100644 --- a/src/locales/sr_RS_latin/location/index.ts +++ b/src/locales/sr_RS_latin/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -16,8 +16,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/sv/location/city.ts b/src/locales/sv/location/city_pattern.ts similarity index 100% rename from src/locales/sv/location/city.ts rename to src/locales/sv/location/city_pattern.ts diff --git a/src/locales/sv/location/index.ts b/src/locales/sv/location/index.ts index fb913904ee9..bdbb474a0ec 100644 --- a/src/locales/sv/location/index.ts +++ b/src/locales/sv/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import common_street_suffix from './common_street_suffix'; @@ -21,7 +21,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, common_street_suffix, diff --git a/src/locales/th/location/city.ts b/src/locales/th/location/city_pattern.ts similarity index 100% rename from src/locales/th/location/city.ts rename to src/locales/th/location/city_pattern.ts diff --git a/src/locales/th/location/index.ts b/src/locales/th/location/index.ts index 55eb461e6ef..d475029f347 100644 --- a/src/locales/th/location/index.ts +++ b/src/locales/th/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -17,8 +17,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/tr/location/city.ts b/src/locales/tr/location/city_pattern.ts similarity index 100% rename from src/locales/tr/location/city.ts rename to src/locales/tr/location/city_pattern.ts diff --git a/src/locales/tr/location/index.ts b/src/locales/tr/location/index.ts index 536ab73ba37..6df7250774d 100644 --- a/src/locales/tr/location/index.ts +++ b/src/locales/tr/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; @@ -15,8 +15,8 @@ import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/uk/location/city.ts b/src/locales/uk/location/city_pattern.ts similarity index 100% rename from src/locales/uk/location/city.ts rename to src/locales/uk/location/city_pattern.ts diff --git a/src/locales/uk/location/index.ts b/src/locales/uk/location/index.ts index 3506c54d4c3..286a40aae52 100644 --- a/src/locales/uk/location/index.ts +++ b/src/locales/uk/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -21,8 +21,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/ur/location/city.ts b/src/locales/ur/location/city_pattern.ts similarity index 100% rename from src/locales/ur/location/city.ts rename to src/locales/ur/location/city_pattern.ts diff --git a/src/locales/ur/location/index.ts b/src/locales/ur/location/index.ts index 83bacdb2c03..f42ddf997d3 100644 --- a/src/locales/ur/location/index.ts +++ b/src/locales/ur/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import country from './country'; @@ -21,8 +21,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, city_name, + city_pattern, city_prefix, city_suffix, country, diff --git a/src/locales/vi/location/city.ts b/src/locales/vi/location/city_pattern.ts similarity index 100% rename from src/locales/vi/location/city.ts rename to src/locales/vi/location/city_pattern.ts diff --git a/src/locales/vi/location/index.ts b/src/locales/vi/location/index.ts index 513e1fffed0..8215c042f98 100644 --- a/src/locales/vi/location/index.ts +++ b/src/locales/vi/location/index.ts @@ -3,16 +3,16 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; import city_name from './city_name'; +import city_pattern from './city_pattern'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, city_name, + city_pattern, country, default_country, postcode, diff --git a/src/locales/zh_CN/location/city.ts b/src/locales/zh_CN/location/city_pattern.ts similarity index 100% rename from src/locales/zh_CN/location/city.ts rename to src/locales/zh_CN/location/city_pattern.ts diff --git a/src/locales/zh_CN/location/index.ts b/src/locales/zh_CN/location/index.ts index 7c1a84d12ee..b3975b01838 100644 --- a/src/locales/zh_CN/location/index.ts +++ b/src/locales/zh_CN/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; @@ -17,7 +17,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, default_country, diff --git a/src/locales/zh_TW/location/city.ts b/src/locales/zh_TW/location/city_pattern.ts similarity index 100% rename from src/locales/zh_TW/location/city.ts rename to src/locales/zh_TW/location/city_pattern.ts diff --git a/src/locales/zh_TW/location/index.ts b/src/locales/zh_TW/location/index.ts index 7c1a84d12ee..b3975b01838 100644 --- a/src/locales/zh_TW/location/index.ts +++ b/src/locales/zh_TW/location/index.ts @@ -4,7 +4,7 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; @@ -17,7 +17,7 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_pattern, city_prefix, city_suffix, default_country, diff --git a/src/locales/zu_ZA/location/city.ts b/src/locales/zu_ZA/location/city_pattern.ts similarity index 100% rename from src/locales/zu_ZA/location/city.ts rename to src/locales/zu_ZA/location/city_pattern.ts diff --git a/src/locales/zu_ZA/location/index.ts b/src/locales/zu_ZA/location/index.ts index 5c4d4277a59..1b634f12dd2 100644 --- a/src/locales/zu_ZA/location/index.ts +++ b/src/locales/zu_ZA/location/index.ts @@ -3,14 +3,14 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinitions } from '../../..'; -import city from './city'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinitions = { - city, + city_pattern, default_country, postcode, state, diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 26ead8ad5f7..e924bd7eadf 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -149,7 +149,9 @@ export class LocationModule { * @since 8.0.0 */ city(): string { - return this.faker.helpers.fake(this.faker.definitions.location.city); + return this.faker.helpers.fake( + this.faker.definitions.location.city_pattern + ); } /**