Skip to content

Commit 4892a0b

Browse files
committed
Remove empty country_names translations
The way this is used, these empty translations will break portions of the admin, because the root "country_names" key is accessed and used as a hash. This breaks the admin in certain places if you use one of these locales, because it will use nil as the name for the countries and then try to call string methods on it.
1 parent 5cbe061 commit 4892a0b

File tree

24 files changed

+0
-120
lines changed

24 files changed

+0
-120
lines changed

config/locales/bg.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,6 @@ bg:
460460
country: "Страна"
461461
country_based:
462462
country_name: "Име"
463-
country_names:
464-
CA:
465-
FRA:
466-
ITA:
467-
US:
468463
coupon: "Ваучер"
469464
coupon_code: "Код на ваучер"
470465
coupon_code_already_applied: "Този код вече е използван за тази доставка."

config/locales/ca.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ ca:
466466
country: País
467467
country_based: País basi
468468
country_name: Nom
469-
country_names:
470-
CA:
471-
FRA:
472-
ITA:
473-
US:
474469
coupon: Cupó
475470
coupon_code: Codi de cupó
476471
coupon_code_already_applied:

config/locales/da.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,6 @@ da:
532532
country: Land
533533
country_based: Landbaseret
534534
country_name: Navn
535-
country_names:
536-
CA:
537-
FRA:
538-
ITA:
539-
US:
540535
coupon: Rabat
541536
coupon_code: Rabatkode
542537
coupon_code_already_applied: Rabatkoden er allerede anvendt på denne ordre

config/locales/de-CH.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,6 @@ de-CH:
422422
country: Land
423423
country_based: Länderbasiert
424424
country_name:
425-
country_names:
426-
CA:
427-
FRA:
428-
ITA:
429-
US:
430425
coupon:
431426
coupon_code:
432427
coupon_code_already_applied:

config/locales/en-AU.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ en-AU:
466466
country: Country
467467
country_based: Country Based
468468
country_name:
469-
country_names:
470-
CA:
471-
FRA:
472-
ITA:
473-
US:
474469
coupon: Coupon
475470
coupon_code: Coupon code
476471
coupon_code_already_applied:

config/locales/en-GB.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,6 @@ en-GB:
468468
country: Country
469469
country_based: Country Based
470470
country_name: Name
471-
country_names:
472-
CA:
473-
FRA:
474-
ITA:
475-
US:
476471
coupon: Coupon
477472
coupon_code: Coupon code
478473
coupon_code_already_applied: The coupon code has already been applied to this order

config/locales/en-IN.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ en-IN:
466466
country: Country
467467
country_based: Country Based
468468
country_name: Name
469-
country_names:
470-
CA:
471-
FRA:
472-
ITA:
473-
US:
474469
coupon: Coupon
475470
coupon_code: Coupon code
476471
coupon_code_already_applied: The coupon code has already been applied to this order

config/locales/en-NZ.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ en-NZ:
466466
country: Country
467467
country_based: Country Based
468468
country_name:
469-
country_names:
470-
CA:
471-
FRA:
472-
ITA:
473-
US:
474469
coupon: Coupon
475470
coupon_code: Coupon code
476471
coupon_code_already_applied:

config/locales/es-EC.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,6 @@ es-EC:
468468
country: País
469469
country_based: País base
470470
country_name: Nombre
471-
country_names:
472-
CA:
473-
FRA:
474-
ITA:
475-
US:
476471
coupon: Cupón
477472
coupon_code: Código Cupón
478473
coupon_code_already_applied: El código del cupón ya ha sido aplicado a este pedido

config/locales/et.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -448,11 +448,6 @@ et:
448448
country: Riik
449449
country_based: Riigipõhine
450450
country_name: Nimi
451-
country_names:
452-
CA:
453-
FRA:
454-
ITA:
455-
US:
456451
coupon:
457452
coupon_code:
458453
coupon_code_already_applied:

0 commit comments

Comments
 (0)