Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(locales): add real cities for zu_ZA and af_ZA, update en_ZA city list #2141

Merged
merged 5 commits into from May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions 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',
];
7 changes: 1 addition & 6 deletions 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}}'];
2 changes: 2 additions & 0 deletions src/locales/af_ZA/location/index.ts
Expand Up @@ -3,13 +3,15 @@
* 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';
import state from './state';
import street_pattern from './street_pattern';

const location: LocationDefinition = {
city_name,
city_pattern,
default_country,
postcode,
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en_ZA/location/city_name.ts
Expand Up @@ -5,12 +5,12 @@ export default [
'Tshwane',
'Durban',
'Pietermaritzburg',
'Nelspruit',
'Mbombela',
'Cape Town',
'Stellenbosch',
'Port Elizabeth',
'East London',
'Kimberley',
'Rustenburg',
'Bloemfontein ',
'Bloemfontein',
];
16 changes: 16 additions & 0 deletions src/locales/zu_ZA/location/city_name.ts
@@ -0,0 +1,16 @@
export default [
'Polokwane',
'eGoli',
ST-DDT marked this conversation as resolved.
Show resolved Hide resolved
'Pretoria',
'uTshwane',
'eThekwini',
'umGungundlovu',
'Mbombela',
'eKapa',
'Stellenbosch',
'iBhayi',
'eMonti',
'Kimberley',
'Rustenburg',
'Bloemfontein',
];
7 changes: 1 addition & 6 deletions 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}}'];
2 changes: 2 additions & 0 deletions src/locales/zu_ZA/location/index.ts
Expand Up @@ -3,13 +3,15 @@
* 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';
import state from './state';
import street_pattern from './street_pattern';

const location: LocationDefinition = {
city_name,
city_pattern,
default_country,
postcode,
Expand Down