Skip to content

Commit

Permalink
add most common Afrikaans names
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmayer committed May 8, 2023
1 parent b30b51d commit f81c64e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
16 changes: 16 additions & 0 deletions src/locales/af_ZA/location/city_name.ts
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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

0 comments on commit f81c64e

Please sign in to comment.