diff --git a/src/locales/af_ZA/location/city_name.ts b/src/locales/af_ZA/location/city_name.ts new file mode 100644 index 00000000000..35db20857f0 --- /dev/null +++ b/src/locales/af_ZA/location/city_name.ts @@ -0,0 +1,16 @@ +export default [ + 'Polokwane', + 'Johannesburg', + 'Pretoria', + 'Tshwane', + 'Durban', + 'Pietermaritzburg', + 'Nelspruit', + 'Kaapstad', + 'Stellenbosch', + 'Port Elizabeth', + 'Oos-Londen', + 'Kimberley', + 'Rustenburg', + 'Bloemfontein', +]; diff --git a/src/locales/af_ZA/location/city_pattern.ts b/src/locales/af_ZA/location/city_pattern.ts index 7375aa8378a..ad43b68fc5c 100644 --- a/src/locales/af_ZA/location/city_pattern.ts +++ b/src/locales/af_ZA/location/city_pattern.ts @@ -1,6 +1 @@ -export default [ - '{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}', - '{{location.city_prefix}} {{person.firstName}}', - '{{person.firstName}}{{location.city_suffix}}', - '{{person.lastName}}{{location.city_suffix}}', -]; +export default ['{{location.city_name}}']; diff --git a/src/locales/af_ZA/location/index.ts b/src/locales/af_ZA/location/index.ts index e93ac7b4bbb..4fd0e9be7c6 100644 --- a/src/locales/af_ZA/location/index.ts +++ b/src/locales/af_ZA/location/index.ts @@ -3,6 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinition } from '../../..'; +import city_name from './city_name'; import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; @@ -10,6 +11,7 @@ import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinition = { + city_name, city_pattern, default_country, postcode, diff --git a/src/locales/en_ZA/location/city_name.ts b/src/locales/en_ZA/location/city_name.ts index fe888a28465..e5ea4903ec3 100644 --- a/src/locales/en_ZA/location/city_name.ts +++ b/src/locales/en_ZA/location/city_name.ts @@ -5,12 +5,12 @@ export default [ 'Tshwane', 'Durban', 'Pietermaritzburg', - 'Nelspruit', + 'Mbombela', 'Cape Town', 'Stellenbosch', 'Port Elizabeth', 'East London', 'Kimberley', 'Rustenburg', - 'Bloemfontein ', + 'Bloemfontein', ]; diff --git a/src/locales/zu_ZA/location/city_name.ts b/src/locales/zu_ZA/location/city_name.ts new file mode 100644 index 00000000000..f1789eeabe7 --- /dev/null +++ b/src/locales/zu_ZA/location/city_name.ts @@ -0,0 +1,16 @@ +export default [ + 'Polokwane', + 'eGoli', + 'Pretoria', + 'uTshwane', + 'eThekwini', + 'umGungundlovu', + 'Mbombela', + 'eKapa', + 'Stellenbosch', + 'iBhayi', + 'eMonti', + 'Kimberley', + 'Rustenburg', + 'Bloemfontein', +]; diff --git a/src/locales/zu_ZA/location/city_pattern.ts b/src/locales/zu_ZA/location/city_pattern.ts index 7375aa8378a..ad43b68fc5c 100644 --- a/src/locales/zu_ZA/location/city_pattern.ts +++ b/src/locales/zu_ZA/location/city_pattern.ts @@ -1,6 +1 @@ -export default [ - '{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}', - '{{location.city_prefix}} {{person.firstName}}', - '{{person.firstName}}{{location.city_suffix}}', - '{{person.lastName}}{{location.city_suffix}}', -]; +export default ['{{location.city_name}}']; diff --git a/src/locales/zu_ZA/location/index.ts b/src/locales/zu_ZA/location/index.ts index e93ac7b4bbb..4fd0e9be7c6 100644 --- a/src/locales/zu_ZA/location/index.ts +++ b/src/locales/zu_ZA/location/index.ts @@ -3,6 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinition } from '../../..'; +import city_name from './city_name'; import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; @@ -10,6 +11,7 @@ import state from './state'; import street_pattern from './street_pattern'; const location: LocationDefinition = { + city_name, city_pattern, default_country, postcode,