Skip to content

Commit 8cd1965

Browse files
refactor(location)!: rename definition city to city_pattern (#2094)
1 parent 5ad55a5 commit 8cd1965

118 files changed

Lines changed: 120 additions & 118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/definitions/location.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type LocationDefinitions = LocaleEntry<{
1717
/**
1818
* The patterns to generate city names.
1919
*/
20-
city: string[];
20+
city_pattern: string[];
2121

2222
/**
2323
* The names of actual cities.
File renamed without changes.

src/locales/af_ZA/location/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { LocationDefinitions } from '../../..';
6-
import city from './city';
6+
import city_pattern from './city_pattern';
77
import default_country from './default_country';
88
import postcode from './postcode';
99
import state from './state';
1010
import street_pattern from './street_pattern';
1111

1212
const location: LocationDefinitions = {
13-
city,
13+
city_pattern,
1414
default_country,
1515
postcode,
1616
state,

src/locales/ar/location/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
import type { LocationDefinitions } from '../../..';
66
import building_number from './building_number';
7-
import city from './city';
87
import city_name from './city_name';
8+
import city_pattern from './city_pattern';
99
import country from './country';
1010
import default_country from './default_country';
1111
import postcode from './postcode';
@@ -17,8 +17,8 @@ import street_prefix from './street_prefix';
1717

1818
const location: LocationDefinitions = {
1919
building_number,
20-
city,
2120
city_name,
21+
city_pattern,
2222
country,
2323
default_country,
2424
postcode,

src/locales/az/location/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
import type { LocationDefinitions } from '../../..';
66
import building_number from './building_number';
7-
import city from './city';
87
import city_name from './city_name';
8+
import city_pattern from './city_pattern';
99
import country from './country';
1010
import default_country from './default_country';
1111
import postcode from './postcode';
@@ -18,8 +18,8 @@ import street_suffix from './street_suffix';
1818

1919
const location: LocationDefinitions = {
2020
building_number,
21-
city,
2221
city_name,
22+
city_pattern,
2323
country,
2424
default_country,
2525
postcode,
File renamed without changes.

src/locales/cs_CZ/location/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
import type { LocationDefinitions } from '../../..';
66
import building_number from './building_number';
7-
import city from './city';
87
import city_name from './city_name';
8+
import city_pattern from './city_pattern';
99
import country from './country';
1010
import default_country from './default_country';
1111
import postcode from './postcode';
@@ -18,8 +18,8 @@ import street_pattern from './street_pattern';
1818

1919
const location: LocationDefinitions = {
2020
building_number,
21-
city,
2221
city_name,
22+
city_pattern,
2323
country,
2424
default_country,
2525
postcode,

0 commit comments

Comments
 (0)