From 3529ef7a97513286ef9ecfdfb3a460bd9723f69f Mon Sep 17 00:00:00 2001 From: Shinigami Date: Fri, 21 Apr 2023 23:39:04 +0200 Subject: refactor(location)!: rename definition street to street_pattern (#2051) --- src/definitions/location.ts | 2 +- src/locales/af_ZA/location/index.ts | 4 ++-- src/locales/af_ZA/location/street.ts | 4 ---- src/locales/af_ZA/location/street_pattern.ts | 4 ++++ src/locales/ar/location/index.ts | 4 ++-- src/locales/ar/location/street.ts | 4 ---- src/locales/ar/location/street_pattern.ts | 4 ++++ src/locales/az/location/index.ts | 4 ++-- src/locales/az/location/street.ts | 4 ---- src/locales/az/location/street_pattern.ts | 4 ++++ src/locales/cs_CZ/location/index.ts | 4 ++-- src/locales/cs_CZ/location/street.ts | 1 - src/locales/cs_CZ/location/street_pattern.ts | 1 + src/locales/de/location/index.ts | 4 ++-- src/locales/de/location/street.ts | 1 - src/locales/de/location/street_pattern.ts | 1 + src/locales/de_AT/location/index.ts | 4 ++-- src/locales/de_AT/location/street.ts | 1 - src/locales/de_AT/location/street_pattern.ts | 1 + src/locales/de_CH/location/index.ts | 4 ++-- src/locales/de_CH/location/street.ts | 1 - src/locales/de_CH/location/street_pattern.ts | 1 + src/locales/dv/location/index.ts | 4 ++-- src/locales/dv/location/street.ts | 5 ----- src/locales/dv/location/street_pattern.ts | 5 +++++ src/locales/el/location/index.ts | 4 ++-- src/locales/el/location/street.ts | 4 ---- src/locales/el/location/street_pattern.ts | 4 ++++ src/locales/en/location/index.ts | 4 ++-- src/locales/en/location/street.ts | 4 ---- src/locales/en/location/street_pattern.ts | 4 ++++ src/locales/en_AU/location/index.ts | 4 ++-- src/locales/en_AU/location/street.ts | 4 ---- src/locales/en_AU/location/street_pattern.ts | 4 ++++ src/locales/en_AU_ocker/location/index.ts | 4 ++-- src/locales/en_AU_ocker/location/street.ts | 1 - src/locales/en_AU_ocker/location/street_pattern.ts | 1 + src/locales/en_CA/location/index.ts | 4 ++-- src/locales/en_CA/location/street.ts | 4 ---- src/locales/en_CA/location/street_pattern.ts | 4 ++++ src/locales/en_GB/location/index.ts | 4 ++-- src/locales/en_GB/location/street.ts | 4 ---- src/locales/en_GB/location/street_pattern.ts | 4 ++++ src/locales/en_GH/location/index.ts | 4 ++-- src/locales/en_GH/location/street.ts | 4 ---- src/locales/en_GH/location/street_pattern.ts | 4 ++++ src/locales/en_IE/location/index.ts | 4 ++-- src/locales/en_IE/location/street.ts | 4 ---- src/locales/en_IE/location/street_pattern.ts | 4 ++++ src/locales/en_IN/location/index.ts | 4 ++-- src/locales/en_IN/location/street.ts | 4 ---- src/locales/en_IN/location/street_pattern.ts | 4 ++++ src/locales/en_NG/location/index.ts | 4 ++-- src/locales/en_NG/location/street.ts | 4 ---- src/locales/en_NG/location/street_pattern.ts | 4 ++++ src/locales/en_US/location/index.ts | 4 ++-- src/locales/en_US/location/street.ts | 4 ---- src/locales/en_US/location/street_pattern.ts | 4 ++++ src/locales/en_ZA/location/index.ts | 4 ++-- src/locales/en_ZA/location/street.ts | 4 ---- src/locales/en_ZA/location/street_pattern.ts | 4 ++++ src/locales/es/location/index.ts | 4 ++-- src/locales/es/location/street.ts | 4 ---- src/locales/es/location/street_pattern.ts | 4 ++++ src/locales/es_MX/location/index.ts | 4 ++-- src/locales/es_MX/location/street.ts | 5 ----- src/locales/es_MX/location/street_pattern.ts | 5 +++++ src/locales/fa/location/index.ts | 4 ++-- src/locales/fa/location/street.ts | 1 - src/locales/fa/location/street_pattern.ts | 1 + src/locales/fr/location/index.ts | 4 ++-- src/locales/fr/location/street.ts | 1 - src/locales/fr/location/street_pattern.ts | 1 + src/locales/fr_BE/location/index.ts | 4 ++-- src/locales/fr_BE/location/street.ts | 5 ----- src/locales/fr_BE/location/street_pattern.ts | 5 +++++ src/locales/fr_CA/location/index.ts | 4 ++-- src/locales/fr_CA/location/street.ts | 4 ---- src/locales/fr_CA/location/street_pattern.ts | 4 ++++ src/locales/fr_CH/location/index.ts | 4 ++-- src/locales/fr_CH/location/street.ts | 1 - src/locales/fr_CH/location/street_pattern.ts | 1 + src/locales/he/location/index.ts | 4 ++-- src/locales/he/location/street.ts | 1 - src/locales/he/location/street_pattern.ts | 1 + src/locales/hr/location/index.ts | 4 ++-- src/locales/hr/location/street.ts | 1 - src/locales/hr/location/street_pattern.ts | 1 + src/locales/hy/location/index.ts | 4 ++-- src/locales/hy/location/street.ts | 1 - src/locales/hy/location/street_pattern.ts | 1 + src/locales/id_ID/location/index.ts | 4 ++-- src/locales/id_ID/location/street.ts | 4 ---- src/locales/id_ID/location/street_pattern.ts | 4 ++++ src/locales/it/location/index.ts | 4 ++-- src/locales/it/location/street.ts | 4 ---- src/locales/it/location/street_pattern.ts | 4 ++++ src/locales/ja/location/index.ts | 4 ++-- src/locales/ja/location/street.ts | 4 ---- src/locales/ja/location/street_pattern.ts | 4 ++++ src/locales/ka_GE/location/index.ts | 4 ++-- src/locales/ka_GE/location/street.ts | 1 - src/locales/ka_GE/location/street_pattern.ts | 1 + src/locales/ko/location/index.ts | 4 ++-- src/locales/ko/location/street.ts | 1 - src/locales/ko/location/street_pattern.ts | 1 + src/locales/lv/location/index.ts | 4 ++-- src/locales/lv/location/street.ts | 1 - src/locales/lv/location/street_pattern.ts | 1 + src/locales/mk/location/index.ts | 4 ++-- src/locales/mk/location/street.ts | 1 - src/locales/mk/location/street_pattern.ts | 1 + src/locales/nb_NO/location/index.ts | 4 ++-- src/locales/nb_NO/location/street.ts | 6 ------ src/locales/nb_NO/location/street_pattern.ts | 6 ++++++ src/locales/ne/location/index.ts | 4 ++-- src/locales/ne/location/street.ts | 4 ---- src/locales/ne/location/street_pattern.ts | 4 ++++ src/locales/nl/location/index.ts | 4 ++-- src/locales/nl/location/street.ts | 4 ---- src/locales/nl/location/street_pattern.ts | 4 ++++ src/locales/nl_BE/location/index.ts | 4 ++-- src/locales/nl_BE/location/street.ts | 4 ---- src/locales/nl_BE/location/street_pattern.ts | 4 ++++ src/locales/pl/location/index.ts | 4 ++-- src/locales/pl/location/street.ts | 1 - src/locales/pl/location/street_pattern.ts | 1 + src/locales/pt_BR/location/index.ts | 4 ++-- src/locales/pt_BR/location/street.ts | 4 ---- src/locales/pt_BR/location/street_pattern.ts | 4 ++++ src/locales/pt_PT/location/index.ts | 4 ++-- src/locales/pt_PT/location/street.ts | 3 --- src/locales/pt_PT/location/street_pattern.ts | 3 +++ src/locales/ro/location/index.ts | 4 ++-- src/locales/ro/location/street.ts | 1 - src/locales/ro/location/street_pattern.ts | 1 + src/locales/ru/location/index.ts | 4 ++-- src/locales/ru/location/street.ts | 4 ---- src/locales/ru/location/street_pattern.ts | 4 ++++ src/locales/sk/location/index.ts | 4 ++-- src/locales/sk/location/street.ts | 1 - src/locales/sk/location/street_pattern.ts | 1 + src/locales/sr_RS_latin/location/index.ts | 4 ++-- src/locales/sr_RS_latin/location/street.ts | 1 - src/locales/sr_RS_latin/location/street_pattern.ts | 1 + src/locales/sv/location/index.ts | 4 ++-- src/locales/sv/location/street.ts | 6 ------ src/locales/sv/location/street_pattern.ts | 6 ++++++ src/locales/th/location/index.ts | 2 ++ src/locales/th/location/street_pattern.ts | 1 + src/locales/tr/location/index.ts | 4 ++-- src/locales/tr/location/street.ts | 1 - src/locales/tr/location/street_pattern.ts | 1 + src/locales/uk/location/index.ts | 4 ++-- src/locales/uk/location/street.ts | 4 ---- src/locales/uk/location/street_pattern.ts | 4 ++++ src/locales/ur/location/index.ts | 4 ++-- src/locales/ur/location/street.ts | 4 ---- src/locales/ur/location/street_pattern.ts | 4 ++++ src/locales/vi/location/index.ts | 4 ++-- src/locales/vi/location/street.ts | 4 ---- src/locales/vi/location/street_pattern.ts | 4 ++++ src/locales/zh_CN/location/index.ts | 4 ++-- src/locales/zh_CN/location/street.ts | 1 - src/locales/zh_CN/location/street_pattern.ts | 1 + src/locales/zh_TW/location/index.ts | 4 ++-- src/locales/zh_TW/location/street.ts | 1 - src/locales/zh_TW/location/street_pattern.ts | 1 + src/locales/zu_ZA/location/index.ts | 4 ++-- src/locales/zu_ZA/location/street.ts | 4 ---- src/locales/zu_ZA/location/street_pattern.ts | 4 ++++ src/modules/location/index.ts | 4 +++- 172 files changed, 283 insertions(+), 278 deletions(-) delete mode 100644 src/locales/af_ZA/location/street.ts create mode 100644 src/locales/af_ZA/location/street_pattern.ts delete mode 100644 src/locales/ar/location/street.ts create mode 100644 src/locales/ar/location/street_pattern.ts delete mode 100644 src/locales/az/location/street.ts create mode 100644 src/locales/az/location/street_pattern.ts delete mode 100644 src/locales/cs_CZ/location/street.ts create mode 100644 src/locales/cs_CZ/location/street_pattern.ts delete mode 100644 src/locales/de/location/street.ts create mode 100644 src/locales/de/location/street_pattern.ts delete mode 100644 src/locales/de_AT/location/street.ts create mode 100644 src/locales/de_AT/location/street_pattern.ts delete mode 100644 src/locales/de_CH/location/street.ts create mode 100644 src/locales/de_CH/location/street_pattern.ts delete mode 100644 src/locales/dv/location/street.ts create mode 100644 src/locales/dv/location/street_pattern.ts delete mode 100644 src/locales/el/location/street.ts create mode 100644 src/locales/el/location/street_pattern.ts delete mode 100644 src/locales/en/location/street.ts create mode 100644 src/locales/en/location/street_pattern.ts delete mode 100644 src/locales/en_AU/location/street.ts create mode 100644 src/locales/en_AU/location/street_pattern.ts delete mode 100644 src/locales/en_AU_ocker/location/street.ts create mode 100644 src/locales/en_AU_ocker/location/street_pattern.ts delete mode 100644 src/locales/en_CA/location/street.ts create mode 100644 src/locales/en_CA/location/street_pattern.ts delete mode 100644 src/locales/en_GB/location/street.ts create mode 100644 src/locales/en_GB/location/street_pattern.ts delete mode 100644 src/locales/en_GH/location/street.ts create mode 100644 src/locales/en_GH/location/street_pattern.ts delete mode 100644 src/locales/en_IE/location/street.ts create mode 100644 src/locales/en_IE/location/street_pattern.ts delete mode 100644 src/locales/en_IN/location/street.ts create mode 100644 src/locales/en_IN/location/street_pattern.ts delete mode 100644 src/locales/en_NG/location/street.ts create mode 100644 src/locales/en_NG/location/street_pattern.ts delete mode 100644 src/locales/en_US/location/street.ts create mode 100644 src/locales/en_US/location/street_pattern.ts delete mode 100644 src/locales/en_ZA/location/street.ts create mode 100644 src/locales/en_ZA/location/street_pattern.ts delete mode 100644 src/locales/es/location/street.ts create mode 100644 src/locales/es/location/street_pattern.ts delete mode 100644 src/locales/es_MX/location/street.ts create mode 100644 src/locales/es_MX/location/street_pattern.ts delete mode 100644 src/locales/fa/location/street.ts create mode 100644 src/locales/fa/location/street_pattern.ts delete mode 100644 src/locales/fr/location/street.ts create mode 100644 src/locales/fr/location/street_pattern.ts delete mode 100644 src/locales/fr_BE/location/street.ts create mode 100644 src/locales/fr_BE/location/street_pattern.ts delete mode 100644 src/locales/fr_CA/location/street.ts create mode 100644 src/locales/fr_CA/location/street_pattern.ts delete mode 100644 src/locales/fr_CH/location/street.ts create mode 100644 src/locales/fr_CH/location/street_pattern.ts delete mode 100644 src/locales/he/location/street.ts create mode 100644 src/locales/he/location/street_pattern.ts delete mode 100644 src/locales/hr/location/street.ts create mode 100644 src/locales/hr/location/street_pattern.ts delete mode 100644 src/locales/hy/location/street.ts create mode 100644 src/locales/hy/location/street_pattern.ts delete mode 100644 src/locales/id_ID/location/street.ts create mode 100644 src/locales/id_ID/location/street_pattern.ts delete mode 100644 src/locales/it/location/street.ts create mode 100644 src/locales/it/location/street_pattern.ts delete mode 100644 src/locales/ja/location/street.ts create mode 100644 src/locales/ja/location/street_pattern.ts delete mode 100644 src/locales/ka_GE/location/street.ts create mode 100644 src/locales/ka_GE/location/street_pattern.ts delete mode 100644 src/locales/ko/location/street.ts create mode 100644 src/locales/ko/location/street_pattern.ts delete mode 100644 src/locales/lv/location/street.ts create mode 100644 src/locales/lv/location/street_pattern.ts delete mode 100644 src/locales/mk/location/street.ts create mode 100644 src/locales/mk/location/street_pattern.ts delete mode 100644 src/locales/nb_NO/location/street.ts create mode 100644 src/locales/nb_NO/location/street_pattern.ts delete mode 100644 src/locales/ne/location/street.ts create mode 100644 src/locales/ne/location/street_pattern.ts delete mode 100644 src/locales/nl/location/street.ts create mode 100644 src/locales/nl/location/street_pattern.ts delete mode 100644 src/locales/nl_BE/location/street.ts create mode 100644 src/locales/nl_BE/location/street_pattern.ts delete mode 100644 src/locales/pl/location/street.ts create mode 100644 src/locales/pl/location/street_pattern.ts delete mode 100644 src/locales/pt_BR/location/street.ts create mode 100644 src/locales/pt_BR/location/street_pattern.ts delete mode 100644 src/locales/pt_PT/location/street.ts create mode 100644 src/locales/pt_PT/location/street_pattern.ts delete mode 100644 src/locales/ro/location/street.ts create mode 100644 src/locales/ro/location/street_pattern.ts delete mode 100644 src/locales/ru/location/street.ts create mode 100644 src/locales/ru/location/street_pattern.ts delete mode 100644 src/locales/sk/location/street.ts create mode 100644 src/locales/sk/location/street_pattern.ts delete mode 100644 src/locales/sr_RS_latin/location/street.ts create mode 100644 src/locales/sr_RS_latin/location/street_pattern.ts delete mode 100644 src/locales/sv/location/street.ts create mode 100644 src/locales/sv/location/street_pattern.ts create mode 100644 src/locales/th/location/street_pattern.ts delete mode 100644 src/locales/tr/location/street.ts create mode 100644 src/locales/tr/location/street_pattern.ts delete mode 100644 src/locales/uk/location/street.ts create mode 100644 src/locales/uk/location/street_pattern.ts delete mode 100644 src/locales/ur/location/street.ts create mode 100644 src/locales/ur/location/street_pattern.ts delete mode 100644 src/locales/vi/location/street.ts create mode 100644 src/locales/vi/location/street_pattern.ts delete mode 100644 src/locales/zh_CN/location/street.ts create mode 100644 src/locales/zh_CN/location/street_pattern.ts delete mode 100644 src/locales/zh_TW/location/street.ts create mode 100644 src/locales/zh_TW/location/street_pattern.ts delete mode 100644 src/locales/zu_ZA/location/street.ts create mode 100644 src/locales/zu_ZA/location/street_pattern.ts (limited to 'src') diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 6987327d..7e2403aa 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -79,7 +79,7 @@ export type LocationDefinitions = LocaleEntry<{ /** * The patterns to generate street names. */ - street: string[]; + street_pattern: string[]; /** * The names of actual streets. diff --git a/src/locales/af_ZA/location/index.ts b/src/locales/af_ZA/location/index.ts index b34a7a06..5c4d4277 100644 --- a/src/locales/af_ZA/location/index.ts +++ b/src/locales/af_ZA/location/index.ts @@ -7,14 +7,14 @@ import city from './city'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, default_country, postcode, state, - street, + street_pattern, }; export default location; diff --git a/src/locales/af_ZA/location/street.ts b/src/locales/af_ZA/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/af_ZA/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/af_ZA/location/street_pattern.ts b/src/locales/af_ZA/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/af_ZA/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/ar/location/index.ts b/src/locales/ar/location/index.ts index c24a8ac5..80517bb2 100644 --- a/src/locales/ar/location/index.ts +++ b/src/locales/ar/location/index.ts @@ -11,8 +11,8 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; const location: LocationDefinitions = { @@ -24,8 +24,8 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, + street_pattern, street_prefix, }; diff --git a/src/locales/ar/location/street.ts b/src/locales/ar/location/street.ts deleted file mode 100644 index c182e837..00000000 --- a/src/locales/ar/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_prefix}} {{person.first_name}}', - '{{location.street_prefix}} {{person.last_name}}', -]; diff --git a/src/locales/ar/location/street_pattern.ts b/src/locales/ar/location/street_pattern.ts new file mode 100644 index 00000000..c182e837 --- /dev/null +++ b/src/locales/ar/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_prefix}} {{person.first_name}}', + '{{location.street_prefix}} {{person.last_name}}', +]; diff --git a/src/locales/az/location/index.ts b/src/locales/az/location/index.ts index b28b0dfb..c7940e2a 100644 --- a/src/locales/az/location/index.ts +++ b/src/locales/az/location/index.ts @@ -11,9 +11,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -25,9 +25,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/az/location/street.ts b/src/locales/az/location/street.ts deleted file mode 100644 index 523f8165..00000000 --- a/src/locales/az/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_suffix}} {{location.street_name}}', - '{{location.street_name}} {{location.street_suffix}}', -]; diff --git a/src/locales/az/location/street_pattern.ts b/src/locales/az/location/street_pattern.ts new file mode 100644 index 00000000..523f8165 --- /dev/null +++ b/src/locales/az/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_suffix}} {{location.street_name}}', + '{{location.street_name}} {{location.street_suffix}}', +]; diff --git a/src/locales/cs_CZ/location/index.ts b/src/locales/cs_CZ/location/index.ts index 7dd25913..f519be9b 100644 --- a/src/locales/cs_CZ/location/index.ts +++ b/src/locales/cs_CZ/location/index.ts @@ -12,9 +12,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -26,9 +26,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/cs_CZ/location/street.ts b/src/locales/cs_CZ/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/cs_CZ/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/cs_CZ/location/street_pattern.ts b/src/locales/cs_CZ/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/cs_CZ/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/de/location/index.ts b/src/locales/de/location/index.ts index 93f5515e..73024bf2 100644 --- a/src/locales/de/location/index.ts +++ b/src/locales/de/location/index.ts @@ -14,9 +14,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -30,9 +30,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/de/location/street.ts b/src/locales/de/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/de/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/de/location/street_pattern.ts b/src/locales/de/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/de/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/de_AT/location/index.ts b/src/locales/de_AT/location/index.ts index 7dd25913..f519be9b 100644 --- a/src/locales/de_AT/location/index.ts +++ b/src/locales/de_AT/location/index.ts @@ -12,9 +12,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -26,9 +26,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/de_AT/location/street.ts b/src/locales/de_AT/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/de_AT/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/de_AT/location/street_pattern.ts b/src/locales/de_AT/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/de_AT/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/de_CH/location/index.ts b/src/locales/de_CH/location/index.ts index 02cfc8da..1f624f34 100644 --- a/src/locales/de_CH/location/index.ts +++ b/src/locales/de_CH/location/index.ts @@ -10,8 +10,8 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -21,8 +21,8 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, street_name, + street_pattern, }; export default location; diff --git a/src/locales/de_CH/location/street.ts b/src/locales/de_CH/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/de_CH/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/de_CH/location/street_pattern.ts b/src/locales/de_CH/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/de_CH/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/dv/location/index.ts b/src/locales/dv/location/index.ts index d022fc52..8b722ee3 100644 --- a/src/locales/dv/location/index.ts +++ b/src/locales/dv/location/index.ts @@ -9,7 +9,7 @@ import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import default_country from './default_country'; import postcode from './postcode'; -import street from './street'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -19,7 +19,7 @@ const location: LocationDefinitions = { city_suffix, default_country, postcode, - street, + street_pattern, street_suffix, }; diff --git a/src/locales/dv/location/street.ts b/src/locales/dv/location/street.ts deleted file mode 100644 index e9f1bcf2..00000000 --- a/src/locales/dv/location/street.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - '{{person.first_name}} {{location.street_suffix}}', - '{{person.last_name}} {{location.street_suffix}}', - '{{company.adjective}} {{company.noun}} {{location.street_suffix}}', -]; diff --git a/src/locales/dv/location/street_pattern.ts b/src/locales/dv/location/street_pattern.ts new file mode 100644 index 00000000..e9f1bcf2 --- /dev/null +++ b/src/locales/dv/location/street_pattern.ts @@ -0,0 +1,5 @@ +export default [ + '{{person.first_name}} {{location.street_suffix}}', + '{{person.last_name}} {{location.street_suffix}}', + '{{company.adjective}} {{company.noun}} {{location.street_suffix}}', +]; diff --git a/src/locales/el/location/index.ts b/src/locales/el/location/index.ts index 8db1a9fb..e9bd80bf 100644 --- a/src/locales/el/location/index.ts +++ b/src/locales/el/location/index.ts @@ -6,13 +6,13 @@ import type { LocationDefinitions } from '../../..'; import city from './city'; import county from './county'; import default_country from './default_country'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, county, default_country, - street, + street_pattern, }; export default location; diff --git a/src/locales/el/location/street.ts b/src/locales/el/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/el/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/el/location/street_pattern.ts b/src/locales/el/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/el/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en/location/index.ts b/src/locales/en/location/index.ts index 397bee86..06406c63 100644 --- a/src/locales/en/location/index.ts +++ b/src/locales/en/location/index.ts @@ -17,8 +17,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -36,8 +36,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/en/location/street.ts b/src/locales/en/location/street.ts deleted file mode 100644 index b5fcd9fe..00000000 --- a/src/locales/en/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.first_name}} {{location.street_suffix}}', - '{{person.last_name}} {{location.street_suffix}}', -]; diff --git a/src/locales/en/location/street_pattern.ts b/src/locales/en/location/street_pattern.ts new file mode 100644 index 00000000..b5fcd9fe --- /dev/null +++ b/src/locales/en/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}} {{location.street_suffix}}', + '{{person.last_name}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_AU/location/index.ts b/src/locales/en_AU/location/index.ts index 35b03195..4e2d8a67 100644 --- a/src/locales/en_AU/location/index.ts +++ b/src/locales/en_AU/location/index.ts @@ -9,7 +9,7 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -19,7 +19,7 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, + street_pattern, street_suffix, }; diff --git a/src/locales/en_AU/location/street.ts b/src/locales/en_AU/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_AU/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_AU/location/street_pattern.ts b/src/locales/en_AU/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_AU/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_AU_ocker/location/index.ts b/src/locales/en_AU_ocker/location/index.ts index 1699c653..7660613e 100644 --- a/src/locales/en_AU_ocker/location/index.ts +++ b/src/locales/en_AU_ocker/location/index.ts @@ -11,8 +11,8 @@ import postcode from './postcode'; import region from './region'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -24,8 +24,8 @@ const location: LocationDefinitions = { region, state, state_abbr, - street, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/en_AU_ocker/location/street.ts b/src/locales/en_AU_ocker/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/en_AU_ocker/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/en_AU_ocker/location/street_pattern.ts b/src/locales/en_AU_ocker/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/en_AU_ocker/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/en_CA/location/index.ts b/src/locales/en_CA/location/index.ts index 840bad87..05bfd853 100644 --- a/src/locales/en_CA/location/index.ts +++ b/src/locales/en_CA/location/index.ts @@ -9,7 +9,7 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -18,7 +18,7 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_CA/location/street.ts b/src/locales/en_CA/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_CA/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_CA/location/street_pattern.ts b/src/locales/en_CA/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_CA/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_GB/location/index.ts b/src/locales/en_GB/location/index.ts index a4c8822b..29e87698 100644 --- a/src/locales/en_GB/location/index.ts +++ b/src/locales/en_GB/location/index.ts @@ -12,7 +12,7 @@ import county from './county'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -25,7 +25,7 @@ const location: LocationDefinitions = { default_country, postcode, state, - street, + street_pattern, street_suffix, }; diff --git a/src/locales/en_GB/location/street.ts b/src/locales/en_GB/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_GB/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_GB/location/street_pattern.ts b/src/locales/en_GB/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_GB/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_GH/location/index.ts b/src/locales/en_GH/location/index.ts index 32b659eb..98d17a79 100644 --- a/src/locales/en_GH/location/index.ts +++ b/src/locales/en_GH/location/index.ts @@ -9,8 +9,8 @@ import city_name from './city_name'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -21,8 +21,8 @@ const location: LocationDefinitions = { default_country, postcode, state, - street, street_address, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/en_GH/location/street.ts b/src/locales/en_GH/location/street.ts deleted file mode 100644 index 94323faf..00000000 --- a/src/locales/en_GH/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.last_name}} {{location.street_suffix}}', - '{{location.street_prefix}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_GH/location/street_pattern.ts b/src/locales/en_GH/location/street_pattern.ts new file mode 100644 index 00000000..94323faf --- /dev/null +++ b/src/locales/en_GH/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.last_name}} {{location.street_suffix}}', + '{{location.street_prefix}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_IE/location/index.ts b/src/locales/en_IE/location/index.ts index 8db1a9fb..e9bd80bf 100644 --- a/src/locales/en_IE/location/index.ts +++ b/src/locales/en_IE/location/index.ts @@ -6,13 +6,13 @@ import type { LocationDefinitions } from '../../..'; import city from './city'; import county from './county'; import default_country from './default_country'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, county, default_country, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_IE/location/street.ts b/src/locales/en_IE/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_IE/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_IE/location/street_pattern.ts b/src/locales/en_IE/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_IE/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_IN/location/index.ts b/src/locales/en_IN/location/index.ts index 840bad87..05bfd853 100644 --- a/src/locales/en_IN/location/index.ts +++ b/src/locales/en_IN/location/index.ts @@ -9,7 +9,7 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -18,7 +18,7 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_IN/location/street.ts b/src/locales/en_IN/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_IN/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_IN/location/street_pattern.ts b/src/locales/en_IN/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_IN/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_NG/location/index.ts b/src/locales/en_NG/location/index.ts index 2c76e591..58310282 100644 --- a/src/locales/en_NG/location/index.ts +++ b/src/locales/en_NG/location/index.ts @@ -8,7 +8,7 @@ import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -16,7 +16,7 @@ const location: LocationDefinitions = { default_country, postcode, state, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_NG/location/street.ts b/src/locales/en_NG/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_NG/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_NG/location/street_pattern.ts b/src/locales/en_NG/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_NG/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_US/location/index.ts b/src/locales/en_US/location/index.ts index d2e817ab..7f98dae9 100644 --- a/src/locales/en_US/location/index.ts +++ b/src/locales/en_US/location/index.ts @@ -7,14 +7,14 @@ import city from './city'; import county from './county'; import default_country from './default_country'; import postcode_by_state from './postcode_by_state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, county, default_country, postcode_by_state, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_US/location/street.ts b/src/locales/en_US/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_US/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_US/location/street_pattern.ts b/src/locales/en_US/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_US/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/en_ZA/location/index.ts b/src/locales/en_ZA/location/index.ts index 2c76e591..58310282 100644 --- a/src/locales/en_ZA/location/index.ts +++ b/src/locales/en_ZA/location/index.ts @@ -8,7 +8,7 @@ import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -16,7 +16,7 @@ const location: LocationDefinitions = { default_country, postcode, state, - street, + street_pattern, }; export default location; diff --git a/src/locales/en_ZA/location/street.ts b/src/locales/en_ZA/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/en_ZA/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/en_ZA/location/street_pattern.ts b/src/locales/en_ZA/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/en_ZA/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/es/location/index.ts b/src/locales/es/location/index.ts index a2e96b31..459c2dca 100644 --- a/src/locales/es/location/index.ts +++ b/src/locales/es/location/index.ts @@ -13,8 +13,8 @@ import province from './province'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -28,8 +28,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/es/location/street.ts b/src/locales/es/location/street.ts deleted file mode 100644 index 8454afa1..00000000 --- a/src/locales/es/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_suffix}} {{person.first_name}}', - '{{location.street_suffix}} {{person.first_name}} {{person.last_name}}', -]; diff --git a/src/locales/es/location/street_pattern.ts b/src/locales/es/location/street_pattern.ts new file mode 100644 index 00000000..8454afa1 --- /dev/null +++ b/src/locales/es/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_suffix}} {{person.first_name}}', + '{{location.street_suffix}} {{person.first_name}} {{person.last_name}}', +]; diff --git a/src/locales/es_MX/location/index.ts b/src/locales/es_MX/location/index.ts index b7646887..38a55583 100644 --- a/src/locales/es_MX/location/index.ts +++ b/src/locales/es_MX/location/index.ts @@ -13,9 +13,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -29,9 +29,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/es_MX/location/street.ts b/src/locales/es_MX/location/street.ts deleted file mode 100644 index a5b7686e..00000000 --- a/src/locales/es_MX/location/street.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - '{{location.street_suffix}} {{person.first_name}}', - '{{location.street_suffix}} {{person.first_name}} {{person.last_name}}', - '{{location.street_suffix}} {{location.street_name}}', -]; diff --git a/src/locales/es_MX/location/street_pattern.ts b/src/locales/es_MX/location/street_pattern.ts new file mode 100644 index 00000000..a5b7686e --- /dev/null +++ b/src/locales/es_MX/location/street_pattern.ts @@ -0,0 +1,5 @@ +export default [ + '{{location.street_suffix}} {{person.first_name}}', + '{{location.street_suffix}} {{person.first_name}} {{person.last_name}}', + '{{location.street_suffix}} {{location.street_name}}', +]; diff --git a/src/locales/fa/location/index.ts b/src/locales/fa/location/index.ts index 9b50f3a0..543c2da0 100644 --- a/src/locales/fa/location/index.ts +++ b/src/locales/fa/location/index.ts @@ -14,8 +14,8 @@ import direction from './direction'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -31,8 +31,8 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/fa/location/street.ts b/src/locales/fa/location/street.ts deleted file mode 100644 index f62f53f0..00000000 --- a/src/locales/fa/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/fa/location/street_pattern.ts b/src/locales/fa/location/street_pattern.ts new file mode 100644 index 00000000..f62f53f0 --- /dev/null +++ b/src/locales/fa/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/fr/location/index.ts b/src/locales/fr/location/index.ts index 9beb335b..6e9ff89a 100644 --- a/src/locales/fr/location/index.ts +++ b/src/locales/fr/location/index.ts @@ -12,8 +12,8 @@ import direction from './direction'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -27,8 +27,8 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/fr/location/street.ts b/src/locales/fr/location/street.ts deleted file mode 100644 index f62f53f0..00000000 --- a/src/locales/fr/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/fr/location/street_pattern.ts b/src/locales/fr/location/street_pattern.ts new file mode 100644 index 00000000..f62f53f0 --- /dev/null +++ b/src/locales/fr/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/fr_BE/location/index.ts b/src/locales/fr_BE/location/index.ts index 3ce44af5..f465c558 100644 --- a/src/locales/fr_BE/location/index.ts +++ b/src/locales/fr_BE/location/index.ts @@ -11,8 +11,8 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -25,8 +25,8 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, street_address, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/fr_BE/location/street.ts b/src/locales/fr_BE/location/street.ts deleted file mode 100644 index 47e60b56..00000000 --- a/src/locales/fr_BE/location/street.ts +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - '{{location.street_prefix}} {{person.first_name}}', - '{{location.street_prefix}} {{person.last_name}}', - '{{location.street_prefix}} {{location.street_suffix}}', -]; diff --git a/src/locales/fr_BE/location/street_pattern.ts b/src/locales/fr_BE/location/street_pattern.ts new file mode 100644 index 00000000..47e60b56 --- /dev/null +++ b/src/locales/fr_BE/location/street_pattern.ts @@ -0,0 +1,5 @@ +export default [ + '{{location.street_prefix}} {{person.first_name}}', + '{{location.street_prefix}} {{person.last_name}}', + '{{location.street_prefix}} {{location.street_suffix}}', +]; diff --git a/src/locales/fr_CA/location/index.ts b/src/locales/fr_CA/location/index.ts index c685ad07..dc1d228a 100644 --- a/src/locales/fr_CA/location/index.ts +++ b/src/locales/fr_CA/location/index.ts @@ -8,7 +8,7 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -16,7 +16,7 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, + street_pattern, }; export default location; diff --git a/src/locales/fr_CA/location/street.ts b/src/locales/fr_CA/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/fr_CA/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/fr_CA/location/street_pattern.ts b/src/locales/fr_CA/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/fr_CA/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/fr_CH/location/index.ts b/src/locales/fr_CH/location/index.ts index fd3b57e9..490386bc 100644 --- a/src/locales/fr_CH/location/index.ts +++ b/src/locales/fr_CH/location/index.ts @@ -14,8 +14,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -31,8 +31,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/fr_CH/location/street.ts b/src/locales/fr_CH/location/street.ts deleted file mode 100644 index f62f53f0..00000000 --- a/src/locales/fr_CH/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/fr_CH/location/street_pattern.ts b/src/locales/fr_CH/location/street_pattern.ts new file mode 100644 index 00000000..f62f53f0 --- /dev/null +++ b/src/locales/fr_CH/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{location.street_suffix}}']; diff --git a/src/locales/he/location/index.ts b/src/locales/he/location/index.ts index ecad5d07..8ee11cff 100644 --- a/src/locales/he/location/index.ts +++ b/src/locales/he/location/index.ts @@ -15,9 +15,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; const location: LocationDefinitions = { @@ -33,9 +33,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, street_prefix, }; diff --git a/src/locales/he/location/street.ts b/src/locales/he/location/street.ts deleted file mode 100644 index bfebd5b4..00000000 --- a/src/locales/he/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_prefix}} {{location.street_name}}']; diff --git a/src/locales/he/location/street_pattern.ts b/src/locales/he/location/street_pattern.ts new file mode 100644 index 00000000..bfebd5b4 --- /dev/null +++ b/src/locales/he/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{location.street_name}}']; diff --git a/src/locales/hr/location/index.ts b/src/locales/hr/location/index.ts index 7b286a9d..220f6fea 100644 --- a/src/locales/hr/location/index.ts +++ b/src/locales/hr/location/index.ts @@ -10,9 +10,9 @@ import country from './country'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -22,9 +22,9 @@ const location: LocationDefinitions = { default_country, postcode, secondary_address, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/hr/location/street.ts b/src/locales/hr/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/hr/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/hr/location/street_pattern.ts b/src/locales/hr/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/hr/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/hy/location/index.ts b/src/locales/hy/location/index.ts index 9262f395..cb874da5 100644 --- a/src/locales/hy/location/index.ts +++ b/src/locales/hy/location/index.ts @@ -12,8 +12,8 @@ import default_country from './default_country'; import direction from './direction'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -26,8 +26,8 @@ const location: LocationDefinitions = { direction, secondary_address, state, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/hy/location/street.ts b/src/locales/hy/location/street.ts deleted file mode 100644 index 08f3003b..00000000 --- a/src/locales/hy/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{person.last_name}} {{location.street_suffix}}']; diff --git a/src/locales/hy/location/street_pattern.ts b/src/locales/hy/location/street_pattern.ts new file mode 100644 index 00000000..08f3003b --- /dev/null +++ b/src/locales/hy/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{person.last_name}} {{location.street_suffix}}']; diff --git a/src/locales/id_ID/location/index.ts b/src/locales/id_ID/location/index.ts index a3f135fa..de016532 100644 --- a/src/locales/id_ID/location/index.ts +++ b/src/locales/id_ID/location/index.ts @@ -9,8 +9,8 @@ import city_name from './city_name'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; const location: LocationDefinitions = { @@ -20,8 +20,8 @@ const location: LocationDefinitions = { default_country, postcode, state, - street, street_address, + street_pattern, street_prefix, }; diff --git a/src/locales/id_ID/location/street.ts b/src/locales/id_ID/location/street.ts deleted file mode 100644 index c182e837..00000000 --- a/src/locales/id_ID/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_prefix}} {{person.first_name}}', - '{{location.street_prefix}} {{person.last_name}}', -]; diff --git a/src/locales/id_ID/location/street_pattern.ts b/src/locales/id_ID/location/street_pattern.ts new file mode 100644 index 00000000..c182e837 --- /dev/null +++ b/src/locales/id_ID/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_prefix}} {{person.first_name}}', + '{{location.street_prefix}} {{person.last_name}}', +]; diff --git a/src/locales/it/location/index.ts b/src/locales/it/location/index.ts index 2b51af88..3a5cf17d 100644 --- a/src/locales/it/location/index.ts +++ b/src/locales/it/location/index.ts @@ -14,8 +14,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -30,8 +30,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/it/location/street.ts b/src/locales/it/location/street.ts deleted file mode 100644 index e2e1b0db..00000000 --- a/src/locales/it/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_suffix}} {{person.first_name}}', - '{{location.street_suffix}} {{person.last_name}}', -]; diff --git a/src/locales/it/location/street_pattern.ts b/src/locales/it/location/street_pattern.ts new file mode 100644 index 00000000..e2e1b0db --- /dev/null +++ b/src/locales/it/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_suffix}} {{person.first_name}}', + '{{location.street_suffix}} {{person.last_name}}', +]; diff --git a/src/locales/ja/location/index.ts b/src/locales/ja/location/index.ts index 8911dd7a..bfa9651d 100644 --- a/src/locales/ja/location/index.ts +++ b/src/locales/ja/location/index.ts @@ -10,7 +10,7 @@ import country from './country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -20,7 +20,7 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, + street_pattern, }; export default location; diff --git a/src/locales/ja/location/street.ts b/src/locales/ja/location/street.ts deleted file mode 100644 index 06ca3a5e..00000000 --- a/src/locales/ja/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.first_name}}{{location.street_suffix}}', - '{{person.last_name}}{{location.street_suffix}}', -]; diff --git a/src/locales/ja/location/street_pattern.ts b/src/locales/ja/location/street_pattern.ts new file mode 100644 index 00000000..06ca3a5e --- /dev/null +++ b/src/locales/ja/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}}{{location.street_suffix}}', + '{{person.last_name}}{{location.street_suffix}}', +]; diff --git a/src/locales/ka_GE/location/index.ts b/src/locales/ka_GE/location/index.ts index 82632185..ebc8d0c1 100644 --- a/src/locales/ka_GE/location/index.ts +++ b/src/locales/ka_GE/location/index.ts @@ -12,9 +12,9 @@ import country from './country'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -27,9 +27,9 @@ const location: LocationDefinitions = { default_country, postcode, secondary_address, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/ka_GE/location/street.ts b/src/locales/ka_GE/location/street.ts deleted file mode 100644 index afbdb76e..00000000 --- a/src/locales/ka_GE/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}} {{location.street_suffix}}']; diff --git a/src/locales/ka_GE/location/street_pattern.ts b/src/locales/ka_GE/location/street_pattern.ts new file mode 100644 index 00000000..afbdb76e --- /dev/null +++ b/src/locales/ka_GE/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}} {{location.street_suffix}}']; diff --git a/src/locales/ko/location/index.ts b/src/locales/ko/location/index.ts index 3d378997..278d9b1e 100644 --- a/src/locales/ko/location/index.ts +++ b/src/locales/ko/location/index.ts @@ -10,8 +10,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -22,8 +22,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/ko/location/street.ts b/src/locales/ko/location/street.ts deleted file mode 100644 index b5dd696c..00000000 --- a/src/locales/ko/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}{{location.street_suffix}}']; diff --git a/src/locales/ko/location/street_pattern.ts b/src/locales/ko/location/street_pattern.ts new file mode 100644 index 00000000..b5dd696c --- /dev/null +++ b/src/locales/ko/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}{{location.street_suffix}}']; diff --git a/src/locales/lv/location/index.ts b/src/locales/lv/location/index.ts index b28b0dfb..c7940e2a 100644 --- a/src/locales/lv/location/index.ts +++ b/src/locales/lv/location/index.ts @@ -11,9 +11,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -25,9 +25,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/lv/location/street.ts b/src/locales/lv/location/street.ts deleted file mode 100644 index afbdb76e..00000000 --- a/src/locales/lv/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}} {{location.street_suffix}}']; diff --git a/src/locales/lv/location/street_pattern.ts b/src/locales/lv/location/street_pattern.ts new file mode 100644 index 00000000..afbdb76e --- /dev/null +++ b/src/locales/lv/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}} {{location.street_suffix}}']; diff --git a/src/locales/mk/location/index.ts b/src/locales/mk/location/index.ts index 7b286a9d..220f6fea 100644 --- a/src/locales/mk/location/index.ts +++ b/src/locales/mk/location/index.ts @@ -10,9 +10,9 @@ import country from './country'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -22,9 +22,9 @@ const location: LocationDefinitions = { default_country, postcode, secondary_address, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/mk/location/street.ts b/src/locales/mk/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/mk/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/mk/location/street_pattern.ts b/src/locales/mk/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/mk/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/nb_NO/location/index.ts b/src/locales/nb_NO/location/index.ts index c571f6bc..17255e9a 100644 --- a/src/locales/nb_NO/location/index.ts +++ b/src/locales/nb_NO/location/index.ts @@ -12,9 +12,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -28,9 +28,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/nb_NO/location/street.ts b/src/locales/nb_NO/location/street.ts deleted file mode 100644 index 1e4fbfd7..00000000 --- a/src/locales/nb_NO/location/street.ts +++ /dev/null @@ -1,6 +0,0 @@ -export default [ - '{{location.street_name}}{{location.street_suffix}}', - '{{location.street_prefix}} {{location.street_name}}{{location.street_suffix}}', - '{{person.first_name}}{{location.common_street_suffix}}', - '{{person.last_name}}{{location.common_street_suffix}}', -]; diff --git a/src/locales/nb_NO/location/street_pattern.ts b/src/locales/nb_NO/location/street_pattern.ts new file mode 100644 index 00000000..1e4fbfd7 --- /dev/null +++ b/src/locales/nb_NO/location/street_pattern.ts @@ -0,0 +1,6 @@ +export default [ + '{{location.street_name}}{{location.street_suffix}}', + '{{location.street_prefix}} {{location.street_name}}{{location.street_suffix}}', + '{{person.first_name}}{{location.common_street_suffix}}', + '{{person.last_name}}{{location.common_street_suffix}}', +]; diff --git a/src/locales/ne/location/index.ts b/src/locales/ne/location/index.ts index 7ca1578a..f732e6e3 100644 --- a/src/locales/ne/location/index.ts +++ b/src/locales/ne/location/index.ts @@ -7,14 +7,14 @@ import city from './city'; import city_name from './city_name'; import default_country from './default_country'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, city_name, default_country, state, - street, + street_pattern, }; export default location; diff --git a/src/locales/ne/location/street.ts b/src/locales/ne/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/ne/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/ne/location/street_pattern.ts b/src/locales/ne/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/ne/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/nl/location/index.ts b/src/locales/nl/location/index.ts index 08afa155..fd0195d2 100644 --- a/src/locales/nl/location/index.ts +++ b/src/locales/nl/location/index.ts @@ -12,8 +12,8 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -26,8 +26,8 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/nl/location/street.ts b/src/locales/nl/location/street.ts deleted file mode 100644 index 06ca3a5e..00000000 --- a/src/locales/nl/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.first_name}}{{location.street_suffix}}', - '{{person.last_name}}{{location.street_suffix}}', -]; diff --git a/src/locales/nl/location/street_pattern.ts b/src/locales/nl/location/street_pattern.ts new file mode 100644 index 00000000..06ca3a5e --- /dev/null +++ b/src/locales/nl/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}}{{location.street_suffix}}', + '{{person.last_name}}{{location.street_suffix}}', +]; diff --git a/src/locales/nl_BE/location/index.ts b/src/locales/nl_BE/location/index.ts index 9b300647..9aefddb0 100644 --- a/src/locales/nl_BE/location/index.ts +++ b/src/locales/nl_BE/location/index.ts @@ -12,8 +12,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -26,8 +26,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/nl_BE/location/street.ts b/src/locales/nl_BE/location/street.ts deleted file mode 100644 index 06ca3a5e..00000000 --- a/src/locales/nl_BE/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.first_name}}{{location.street_suffix}}', - '{{person.last_name}}{{location.street_suffix}}', -]; diff --git a/src/locales/nl_BE/location/street_pattern.ts b/src/locales/nl_BE/location/street_pattern.ts new file mode 100644 index 00000000..06ca3a5e --- /dev/null +++ b/src/locales/nl_BE/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}}{{location.street_suffix}}', + '{{person.last_name}}{{location.street_suffix}}', +]; diff --git a/src/locales/pl/location/index.ts b/src/locales/pl/location/index.ts index 1985d6e2..870efa9b 100644 --- a/src/locales/pl/location/index.ts +++ b/src/locales/pl/location/index.ts @@ -14,8 +14,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; const location: LocationDefinitions = { @@ -30,8 +30,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_prefix, }; diff --git a/src/locales/pl/location/street.ts b/src/locales/pl/location/street.ts deleted file mode 100644 index 7862632a..00000000 --- a/src/locales/pl/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_prefix}} {{person.last_name}}']; diff --git a/src/locales/pl/location/street_pattern.ts b/src/locales/pl/location/street_pattern.ts new file mode 100644 index 00000000..7862632a --- /dev/null +++ b/src/locales/pl/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{person.last_name}}']; diff --git a/src/locales/pt_BR/location/index.ts b/src/locales/pt_BR/location/index.ts index b7bdee9b..d886fa65 100644 --- a/src/locales/pt_BR/location/index.ts +++ b/src/locales/pt_BR/location/index.ts @@ -13,7 +13,7 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -27,7 +27,7 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, + street_pattern, street_suffix, }; diff --git a/src/locales/pt_BR/location/street.ts b/src/locales/pt_BR/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/pt_BR/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/pt_BR/location/street_pattern.ts b/src/locales/pt_BR/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/pt_BR/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/pt_PT/location/index.ts b/src/locales/pt_PT/location/index.ts index 7c894b5c..8182c320 100644 --- a/src/locales/pt_PT/location/index.ts +++ b/src/locales/pt_PT/location/index.ts @@ -13,8 +13,8 @@ import default_country from './default_country'; import direction from './direction'; import postcode from './postcode'; import secondary_address from './secondary_address'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; const location: LocationDefinitions = { @@ -28,8 +28,8 @@ const location: LocationDefinitions = { direction, postcode, secondary_address, - street, street_address, + street_pattern, street_prefix, }; diff --git a/src/locales/pt_PT/location/street.ts b/src/locales/pt_PT/location/street.ts deleted file mode 100644 index 2d677549..00000000 --- a/src/locales/pt_PT/location/street.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default [ - '{{location.street_prefix}} {{person.first_name}} {{person.last_name}}', -]; diff --git a/src/locales/pt_PT/location/street_pattern.ts b/src/locales/pt_PT/location/street_pattern.ts new file mode 100644 index 00000000..2d677549 --- /dev/null +++ b/src/locales/pt_PT/location/street_pattern.ts @@ -0,0 +1,3 @@ +export default [ + '{{location.street_prefix}} {{person.first_name}} {{person.last_name}}', +]; diff --git a/src/locales/ro/location/index.ts b/src/locales/ro/location/index.ts index bc610ff8..1a36f1b2 100644 --- a/src/locales/ro/location/index.ts +++ b/src/locales/ro/location/index.ts @@ -12,9 +12,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -27,9 +27,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/ro/location/street.ts b/src/locales/ro/location/street.ts deleted file mode 100644 index e5bab9f7..00000000 --- a/src/locales/ro/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_suffix}} {{location.street_name}}']; diff --git a/src/locales/ro/location/street_pattern.ts b/src/locales/ro/location/street_pattern.ts new file mode 100644 index 00000000..e5bab9f7 --- /dev/null +++ b/src/locales/ro/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_suffix}} {{location.street_name}}']; diff --git a/src/locales/ru/location/index.ts b/src/locales/ru/location/index.ts index b28b0dfb..c7940e2a 100644 --- a/src/locales/ru/location/index.ts +++ b/src/locales/ru/location/index.ts @@ -11,9 +11,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -25,9 +25,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_suffix, }; diff --git a/src/locales/ru/location/street.ts b/src/locales/ru/location/street.ts deleted file mode 100644 index 523f8165..00000000 --- a/src/locales/ru/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_suffix}} {{location.street_name}}', - '{{location.street_name}} {{location.street_suffix}}', -]; diff --git a/src/locales/ru/location/street_pattern.ts b/src/locales/ru/location/street_pattern.ts new file mode 100644 index 00000000..523f8165 --- /dev/null +++ b/src/locales/ru/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_suffix}} {{location.street_name}}', + '{{location.street_name}} {{location.street_suffix}}', +]; diff --git a/src/locales/sk/location/index.ts b/src/locales/sk/location/index.ts index 93f5515e..73024bf2 100644 --- a/src/locales/sk/location/index.ts +++ b/src/locales/sk/location/index.ts @@ -14,9 +14,9 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -30,9 +30,9 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/sk/location/street.ts b/src/locales/sk/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/sk/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/sk/location/street_pattern.ts b/src/locales/sk/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/sk/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/sr_RS_latin/location/index.ts b/src/locales/sr_RS_latin/location/index.ts index 7b286a9d..220f6fea 100644 --- a/src/locales/sr_RS_latin/location/index.ts +++ b/src/locales/sr_RS_latin/location/index.ts @@ -10,9 +10,9 @@ import country from './country'; import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -22,9 +22,9 @@ const location: LocationDefinitions = { default_country, postcode, secondary_address, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/sr_RS_latin/location/street.ts b/src/locales/sr_RS_latin/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/sr_RS_latin/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/sr_RS_latin/location/street_pattern.ts b/src/locales/sr_RS_latin/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/sr_RS_latin/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/sv/location/index.ts b/src/locales/sv/location/index.ts index e243b6bd..fb913904 100644 --- a/src/locales/sv/location/index.ts +++ b/src/locales/sv/location/index.ts @@ -13,9 +13,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -30,9 +30,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/sv/location/street.ts b/src/locales/sv/location/street.ts deleted file mode 100644 index 1e4fbfd7..00000000 --- a/src/locales/sv/location/street.ts +++ /dev/null @@ -1,6 +0,0 @@ -export default [ - '{{location.street_name}}{{location.street_suffix}}', - '{{location.street_prefix}} {{location.street_name}}{{location.street_suffix}}', - '{{person.first_name}}{{location.common_street_suffix}}', - '{{person.last_name}}{{location.common_street_suffix}}', -]; diff --git a/src/locales/sv/location/street_pattern.ts b/src/locales/sv/location/street_pattern.ts new file mode 100644 index 00000000..1e4fbfd7 --- /dev/null +++ b/src/locales/sv/location/street_pattern.ts @@ -0,0 +1,6 @@ +export default [ + '{{location.street_name}}{{location.street_suffix}}', + '{{location.street_prefix}} {{location.street_name}}{{location.street_suffix}}', + '{{person.first_name}}{{location.common_street_suffix}}', + '{{person.last_name}}{{location.common_street_suffix}}', +]; diff --git a/src/locales/th/location/index.ts b/src/locales/th/location/index.ts index d9d54753..59ec807e 100644 --- a/src/locales/th/location/index.ts +++ b/src/locales/th/location/index.ts @@ -11,6 +11,7 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -21,6 +22,7 @@ const location: LocationDefinitions = { postcode, state, street_name, + street_pattern, }; export default location; diff --git a/src/locales/th/location/street_pattern.ts b/src/locales/th/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/th/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/tr/location/index.ts b/src/locales/tr/location/index.ts index 3554b1a9..536ab73b 100644 --- a/src/locales/tr/location/index.ts +++ b/src/locales/tr/location/index.ts @@ -9,9 +9,9 @@ import city_name from './city_name'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { building_number, @@ -20,9 +20,9 @@ const location: LocationDefinitions = { country, default_country, postcode, - street, street_address, street_name, + street_pattern, }; export default location; diff --git a/src/locales/tr/location/street.ts b/src/locales/tr/location/street.ts deleted file mode 100644 index 30a9a5dd..00000000 --- a/src/locales/tr/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{location.street_name}}']; diff --git a/src/locales/tr/location/street_pattern.ts b/src/locales/tr/location/street_pattern.ts new file mode 100644 index 00000000..30a9a5dd --- /dev/null +++ b/src/locales/tr/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/src/locales/uk/location/index.ts b/src/locales/uk/location/index.ts index 17e4efa9..3506c54d 100644 --- a/src/locales/uk/location/index.ts +++ b/src/locales/uk/location/index.ts @@ -13,9 +13,9 @@ import default_country from './default_country'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; -import street from './street'; import street_address from './street_address'; import street_name from './street_name'; +import street_pattern from './street_pattern'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; @@ -30,9 +30,9 @@ const location: LocationDefinitions = { postcode, secondary_address, state, - street, street_address, street_name, + street_pattern, street_prefix, street_suffix, }; diff --git a/src/locales/uk/location/street.ts b/src/locales/uk/location/street.ts deleted file mode 100644 index 2dc80f1c..00000000 --- a/src/locales/uk/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{location.street_prefix}} {{location.street_name}}', - '{{location.street_name}} {{location.street_suffix}}', -]; diff --git a/src/locales/uk/location/street_pattern.ts b/src/locales/uk/location/street_pattern.ts new file mode 100644 index 00000000..2dc80f1c --- /dev/null +++ b/src/locales/uk/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.street_prefix}} {{location.street_name}}', + '{{location.street_name}} {{location.street_suffix}}', +]; diff --git a/src/locales/ur/location/index.ts b/src/locales/ur/location/index.ts index 73478f51..83bacdb2 100644 --- a/src/locales/ur/location/index.ts +++ b/src/locales/ur/location/index.ts @@ -15,8 +15,8 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -32,8 +32,8 @@ const location: LocationDefinitions = { secondary_address, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/ur/location/street.ts b/src/locales/ur/location/street.ts deleted file mode 100644 index b5fcd9fe..00000000 --- a/src/locales/ur/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.first_name}} {{location.street_suffix}}', - '{{person.last_name}} {{location.street_suffix}}', -]; diff --git a/src/locales/ur/location/street_pattern.ts b/src/locales/ur/location/street_pattern.ts new file mode 100644 index 00000000..b5fcd9fe --- /dev/null +++ b/src/locales/ur/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.first_name}} {{location.street_suffix}}', + '{{person.last_name}} {{location.street_suffix}}', +]; diff --git a/src/locales/vi/location/index.ts b/src/locales/vi/location/index.ts index 37ed9c7d..513e1fff 100644 --- a/src/locales/vi/location/index.ts +++ b/src/locales/vi/location/index.ts @@ -8,7 +8,7 @@ import city_name from './city_name'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, @@ -16,7 +16,7 @@ const location: LocationDefinitions = { country, default_country, postcode, - street, + street_pattern, }; export default location; diff --git a/src/locales/vi/location/street.ts b/src/locales/vi/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/vi/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/vi/location/street_pattern.ts b/src/locales/vi/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/vi/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/locales/zh_CN/location/index.ts b/src/locales/zh_CN/location/index.ts index 51788277..7c1a84d1 100644 --- a/src/locales/zh_CN/location/index.ts +++ b/src/locales/zh_CN/location/index.ts @@ -11,8 +11,8 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -24,8 +24,8 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/zh_CN/location/street.ts b/src/locales/zh_CN/location/street.ts deleted file mode 100644 index dfaaaa6e..00000000 --- a/src/locales/zh_CN/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{person.last_name}}{{location.street_suffix}}']; diff --git a/src/locales/zh_CN/location/street_pattern.ts b/src/locales/zh_CN/location/street_pattern.ts new file mode 100644 index 00000000..dfaaaa6e --- /dev/null +++ b/src/locales/zh_CN/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{person.last_name}}{{location.street_suffix}}']; diff --git a/src/locales/zh_TW/location/index.ts b/src/locales/zh_TW/location/index.ts index 51788277..7c1a84d1 100644 --- a/src/locales/zh_TW/location/index.ts +++ b/src/locales/zh_TW/location/index.ts @@ -11,8 +11,8 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -import street from './street'; import street_address from './street_address'; +import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; const location: LocationDefinitions = { @@ -24,8 +24,8 @@ const location: LocationDefinitions = { postcode, state, state_abbr, - street, street_address, + street_pattern, street_suffix, }; diff --git a/src/locales/zh_TW/location/street.ts b/src/locales/zh_TW/location/street.ts deleted file mode 100644 index dfaaaa6e..00000000 --- a/src/locales/zh_TW/location/street.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['{{person.last_name}}{{location.street_suffix}}']; diff --git a/src/locales/zh_TW/location/street_pattern.ts b/src/locales/zh_TW/location/street_pattern.ts new file mode 100644 index 00000000..dfaaaa6e --- /dev/null +++ b/src/locales/zh_TW/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{person.last_name}}{{location.street_suffix}}']; diff --git a/src/locales/zu_ZA/location/index.ts b/src/locales/zu_ZA/location/index.ts index b34a7a06..5c4d4277 100644 --- a/src/locales/zu_ZA/location/index.ts +++ b/src/locales/zu_ZA/location/index.ts @@ -7,14 +7,14 @@ import city from './city'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -import street from './street'; +import street_pattern from './street_pattern'; const location: LocationDefinitions = { city, default_country, postcode, state, - street, + street_pattern, }; export default location; diff --git a/src/locales/zu_ZA/location/street.ts b/src/locales/zu_ZA/location/street.ts deleted file mode 100644 index af32d0c4..00000000 --- a/src/locales/zu_ZA/location/street.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default [ - '{{person.firstName}} {{location.street_suffix}}', - '{{person.lastName}} {{location.street_suffix}}', -]; diff --git a/src/locales/zu_ZA/location/street_pattern.ts b/src/locales/zu_ZA/location/street_pattern.ts new file mode 100644 index 00000000..af32d0c4 --- /dev/null +++ b/src/locales/zu_ZA/location/street_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.firstName}} {{location.street_suffix}}', + '{{person.lastName}} {{location.street_suffix}}', +]; diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 97423b83..c39711b7 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -203,7 +203,9 @@ export class LocationModule { * @since 8.0.0 */ street(): string { - return this.faker.helpers.fake(this.faker.definitions.location.street); + return this.faker.helpers.fake( + this.faker.definitions.location.street_pattern + ); } /** -- cgit v1.2.3