Skip to content

Commit 789c8a2

Browse files
authored
fix(locale): es cities should be in city_name not city_prefix, remove extraneous city_suffix (#2109)
1 parent 3cfeb38 commit 789c8a2

7 files changed

Lines changed: 6 additions & 28 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default ['{{location.city_prefix}}'];
1+
export default ['{{location.city_name}}'];

src/locales/es/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_name from './city_name';
78
import city_pattern from './city_pattern';
8-
import city_prefix from './city_prefix';
99
import country from './country';
1010
import default_country from './default_country';
1111
import postcode from './postcode';
@@ -19,8 +19,8 @@ import street_suffix from './street_suffix';
1919

2020
const location: LocationDefinitions = {
2121
building_number,
22+
city_name,
2223
city_pattern,
23-
city_prefix,
2424
country,
2525
default_country,
2626
postcode,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default ['{{location.city_prefix}}'];
1+
export default ['{{location.city_name}}'];

src/locales/es_MX/location/city_suffix.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/locales/es_MX/location/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
*/
55
import type { LocationDefinitions } from '../../..';
66
import building_number from './building_number';
7+
import city_name from './city_name';
78
import city_pattern from './city_pattern';
8-
import city_prefix from './city_prefix';
9-
import city_suffix from './city_suffix';
109
import country from './country';
1110
import default_country from './default_country';
1211
import postcode from './postcode';
@@ -20,9 +19,8 @@ import street_suffix from './street_suffix';
2019

2120
const location: LocationDefinitions = {
2221
building_number,
22+
city_name,
2323
city_pattern,
24-
city_prefix,
25-
city_suffix,
2624
country,
2725
default_country,
2826
postcode,

0 commit comments

Comments
 (0)