Skip to content

Commit

Permalink
refactor(location)!: rename definition city to city_pattern (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox authored Apr 27, 2023
1 parent 5ad55a5 commit 8cd1965
Show file tree
Hide file tree
Showing 118 changed files with 120 additions and 118 deletions.
2 changes: 1 addition & 1 deletion src/definitions/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type LocationDefinitions = LocaleEntry<{
/**
* The patterns to generate city names.
*/
city: string[];
city_pattern: string[];

/**
* The names of actual cities.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/af_ZA/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
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: LocationDefinitions = {
city,
city_pattern,
default_country,
postcode,
state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/ar/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -17,8 +17,8 @@ import street_prefix from './street_prefix';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
country,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/az/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -18,8 +18,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
country,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/cs_CZ/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -18,8 +18,8 @@ import street_pattern from './street_pattern';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
country,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/de/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import city_suffix from './city_suffix';
import country from './country';
Expand All @@ -20,8 +20,8 @@ import street_pattern from './street_pattern';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
city_prefix,
city_suffix,
country,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/de_AT/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -18,8 +18,8 @@ import street_pattern from './street_pattern';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
country,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/de_CH/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country_code from './country_code';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -14,8 +14,8 @@ import street_name from './street_name';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_name,
city_pattern,
country_code,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/dv/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import city_suffix from './city_suffix';
import default_country from './default_country';
Expand All @@ -13,8 +13,8 @@ import street_pattern from './street_pattern';
import street_suffix from './street_suffix';

const location: LocationDefinitions = {
city,
city_name,
city_pattern,
city_prefix,
city_suffix,
default_country,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/el/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
import city_pattern from './city_pattern';
import county from './county';
import default_country from './default_country';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_pattern,
county,
default_country,
street_pattern,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_name from './city_name';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import city_suffix from './city_suffix';
import country from './country';
Expand All @@ -23,8 +23,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
city_prefix,
city_suffix,
country,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_AU/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_pattern from './city_pattern';
import default_country from './default_country';
import postcode from './postcode';
import state from './state';
Expand All @@ -14,7 +14,7 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_pattern,
default_country,
postcode,
state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_AU_ocker/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -17,7 +17,7 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_pattern,
city_prefix,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_CA/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
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 state_abbr from './state_abbr';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_name,
city_pattern,
default_country,
postcode,
state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_GB/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
import city_infix from './city_infix';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import city_suffix from './city_suffix';
import county from './county';
Expand All @@ -17,8 +17,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_infix,
city_pattern,
city_prefix,
city_suffix,
county,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_GH/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
import city from './city';
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';
Expand All @@ -16,8 +16,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city,
city_name,
city_pattern,
default_country,
postcode,
state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_IE/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
import city_pattern from './city_pattern';
import county from './county';
import default_country from './default_country';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_pattern,
county,
default_country,
street_pattern,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_IN/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
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 state_abbr from './state_abbr';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_name,
city_pattern,
default_country,
postcode,
state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_NG/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
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: LocationDefinitions = {
city,
city_pattern,
city_prefix,
default_country,
postcode,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_US/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
import city_pattern from './city_pattern';
import county from './county';
import default_country from './default_country';
import postcode_by_state from './postcode_by_state';
import street_pattern from './street_pattern';

const location: LocationDefinitions = {
city,
city_pattern,
county,
default_country,
postcode_by_state,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/en_ZA/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocationDefinitions } from '../../..';
import city from './city';
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: LocationDefinitions = {
city,
city_pattern,
city_prefix,
default_country,
postcode,
Expand Down
File renamed without changes.
Loading

0 comments on commit 8cd1965

Please sign in to comment.