Skip to content

Commit

Permalink
fix(locale): es cities should be in city_name not city_prefix, remove…
Browse files Browse the repository at this point in the history
… extraneous city_suffix (#2109)
  • Loading branch information
matthewmayer committed Apr 29, 2023
1 parent 3cfeb38 commit 789c8a2
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 28 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/locales/es/location/city_pattern.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['{{location.city_prefix}}'];
export default ['{{location.city_name}}'];
4 changes: 2 additions & 2 deletions src/locales/es/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_name from './city_name';
import city_pattern from './city_pattern';
import city_prefix from './city_prefix';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -19,8 +19,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city_name,
city_pattern,
city_prefix,
country,
default_country,
postcode,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/locales/es_MX/location/city_pattern.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['{{location.city_prefix}}'];
export default ['{{location.city_name}}'];
20 changes: 0 additions & 20 deletions src/locales/es_MX/location/city_suffix.ts

This file was deleted.

6 changes: 2 additions & 4 deletions src/locales/es_MX/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
*/
import type { LocationDefinitions } 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 city_suffix from './city_suffix';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
Expand All @@ -20,9 +19,8 @@ import street_suffix from './street_suffix';

const location: LocationDefinitions = {
building_number,
city_name,
city_pattern,
city_prefix,
city_suffix,
country,
default_country,
postcode,
Expand Down

0 comments on commit 789c8a2

Please sign in to comment.