diff options
| author | Matt Mayer <[email protected]> | 2023-05-02 04:23:44 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-01 23:23:44 +0200 |
| commit | a0fb69d666c85c40b1f8620dbfa0516e9872397f (patch) | |
| tree | 10c39a645fd6932e274d36dd65b08d36d9e4b7be /src | |
| parent | ec1ca128b8b4ee5b0d1d77a1dd18d40792173c27 (diff) | |
| download | faker-a0fb69d666c85c40b1f8620dbfa0516e9872397f.tar.xz faker-a0fb69d666c85c40b1f8620dbfa0516e9872397f.zip | |
fix(locale): rename city_prefix to city_name for en_NG, en_ZA, en_AU_ocker (#2111)
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/en_AU_ocker/location/city_name.ts (renamed from src/locales/en_AU_ocker/location/city_prefix.ts) | 0 | ||||
| -rw-r--r-- | src/locales/en_AU_ocker/location/city_pattern.ts | 2 | ||||
| -rw-r--r-- | src/locales/en_AU_ocker/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/en_NG/location/city_name.ts (renamed from src/locales/en_NG/location/city_prefix.ts) | 0 | ||||
| -rw-r--r-- | src/locales/en_NG/location/city_pattern.ts | 2 | ||||
| -rw-r--r-- | src/locales/en_NG/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/en_ZA/location/city_name.ts (renamed from src/locales/en_ZA/location/city_prefix.ts) | 0 | ||||
| -rw-r--r-- | src/locales/en_ZA/location/city_pattern.ts | 2 | ||||
| -rw-r--r-- | src/locales/en_ZA/location/index.ts | 4 |
9 files changed, 9 insertions, 9 deletions
diff --git a/src/locales/en_AU_ocker/location/city_prefix.ts b/src/locales/en_AU_ocker/location/city_name.ts index c59b8f91..c59b8f91 100644 --- a/src/locales/en_AU_ocker/location/city_prefix.ts +++ b/src/locales/en_AU_ocker/location/city_name.ts diff --git a/src/locales/en_AU_ocker/location/city_pattern.ts b/src/locales/en_AU_ocker/location/city_pattern.ts index 16c4830e..ad43b68f 100644 --- a/src/locales/en_AU_ocker/location/city_pattern.ts +++ b/src/locales/en_AU_ocker/location/city_pattern.ts @@ -1 +1 @@ -export default ['{{location.city_prefix}}']; +export default ['{{location.city_name}}']; diff --git a/src/locales/en_AU_ocker/location/index.ts b/src/locales/en_AU_ocker/location/index.ts index f30bec3a..52ac6ba8 100644 --- a/src/locales/en_AU_ocker/location/index.ts +++ b/src/locales/en_AU_ocker/location/index.ts @@ -4,8 +4,8 @@ */ import type { LocationDefinition } from '../../..'; import building_number from './building_number'; +import city_name from './city_name'; import city_pattern from './city_pattern'; -import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; import region from './region'; @@ -17,8 +17,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinition = { building_number, + city_name, city_pattern, - city_prefix, default_country, postcode, region, diff --git a/src/locales/en_NG/location/city_prefix.ts b/src/locales/en_NG/location/city_name.ts index f55528ce..f55528ce 100644 --- a/src/locales/en_NG/location/city_prefix.ts +++ b/src/locales/en_NG/location/city_name.ts diff --git a/src/locales/en_NG/location/city_pattern.ts b/src/locales/en_NG/location/city_pattern.ts index 16c4830e..ad43b68f 100644 --- a/src/locales/en_NG/location/city_pattern.ts +++ b/src/locales/en_NG/location/city_pattern.ts @@ -1 +1 @@ -export default ['{{location.city_prefix}}']; +export default ['{{location.city_name}}']; diff --git a/src/locales/en_NG/location/index.ts b/src/locales/en_NG/location/index.ts index ed7bb18f..4fd0e9be 100644 --- a/src/locales/en_NG/location/index.ts +++ b/src/locales/en_NG/location/index.ts @@ -3,16 +3,16 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinition } from '../../..'; +import city_name from './city_name'; import city_pattern from './city_pattern'; -import city_prefix from './city_prefix'; 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, - city_prefix, default_country, postcode, state, diff --git a/src/locales/en_ZA/location/city_prefix.ts b/src/locales/en_ZA/location/city_name.ts index fe888a28..fe888a28 100644 --- a/src/locales/en_ZA/location/city_prefix.ts +++ b/src/locales/en_ZA/location/city_name.ts diff --git a/src/locales/en_ZA/location/city_pattern.ts b/src/locales/en_ZA/location/city_pattern.ts index 16c4830e..ad43b68f 100644 --- a/src/locales/en_ZA/location/city_pattern.ts +++ b/src/locales/en_ZA/location/city_pattern.ts @@ -1 +1 @@ -export default ['{{location.city_prefix}}']; +export default ['{{location.city_name}}']; diff --git a/src/locales/en_ZA/location/index.ts b/src/locales/en_ZA/location/index.ts index ed7bb18f..4fd0e9be 100644 --- a/src/locales/en_ZA/location/index.ts +++ b/src/locales/en_ZA/location/index.ts @@ -3,16 +3,16 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocationDefinition } from '../../..'; +import city_name from './city_name'; import city_pattern from './city_pattern'; -import city_prefix from './city_prefix'; 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, - city_prefix, default_country, postcode, state, |
