localedata: CLDRv28: update LC_ADDRESS.country_num values

Message ID 1455939430-19704-1-git-send-email-vapier@gentoo.org
State Superseded
Delegated to: Mike Frysinger
Headers

Commit Message

Mike Frysinger Feb. 20, 2016, 3:37 a.m. UTC
  This updates a few locales based on CLDR v28 data.

Add missing fields:
  as_IN: changing to 356
  dv_MV: changing to 462
  kk_KZ: changing to 398
  my_MM: changing to 104
  rw_RW: changing to 646
  tt_RU: changing to 643

Update ones that are wrong:
  dz_BT: changing BHU to 064
  en_PH: changing 360 to 608
  km_KH: changing 418 to 116
  ky_KG: changing 643 to 417
  tr_CY: changing 792 to 196

Pad with leading zeros to match the standard and other locales:
  ber_DZ: changing 12 to 012
  ca_AD: changing 20 to 020
  en_AG: changing 28 to 028
  hy_AM: changing 51 to 051
  li_BE: changing 56 to 056
  wa_BE: changing 56 to 056

I hand checked the first two sets against ISO 3166-1 directly.
---
 localedata/locales/as_IN  | 1 +
 localedata/locales/ber_DZ | 2 +-
 localedata/locales/ca_AD  | 2 +-
 localedata/locales/dv_MV  | 1 +
 localedata/locales/dz_BT  | 2 +-
 localedata/locales/en_AG  | 2 +-
 localedata/locales/en_PH  | 2 +-
 localedata/locales/hy_AM  | 2 +-
 localedata/locales/kk_KZ  | 1 +
 localedata/locales/km_KH  | 2 +-
 localedata/locales/ky_KG  | 2 +-
 localedata/locales/li_BE  | 2 +-
 localedata/locales/my_MM  | 1 +
 localedata/locales/rw_RW  | 1 +
 localedata/locales/tr_CY  | 2 +-
 localedata/locales/tt_RU  | 1 +
 localedata/locales/wa_BE  | 2 +-
 17 files changed, 17 insertions(+), 11 deletions(-)
  

Comments

Mike Frysinger Feb. 25, 2016, 8:11 p.m. UTC | #1
On 19 Feb 2016 22:37, Mike Frysinger wrote:
> This updates a few locales based on CLDR v28 data.
> 
> Add missing fields:
>   as_IN: changing to 356
>   dv_MV: changing to 462
>   kk_KZ: changing to 398
>   my_MM: changing to 104
>   rw_RW: changing to 646
>   tt_RU: changing to 643
> 
> Update ones that are wrong:
>   dz_BT: changing BHU to 064
>   en_PH: changing 360 to 608
>   km_KH: changing 418 to 116
>   ky_KG: changing 643 to 417
>   tr_CY: changing 792 to 196
> 
> Pad with leading zeros to match the standard and other locales:
>   ber_DZ: changing 12 to 012
>   ca_AD: changing 20 to 020
>   en_AG: changing 28 to 028
>   hy_AM: changing 51 to 051
>   li_BE: changing 56 to 056
>   wa_BE: changing 56 to 056
> 
> I hand checked the first two sets against ISO 3166-1 directly.

ping ...
-mike
  

Patch

diff --git a/localedata/locales/as_IN b/localedata/locales/as_IN
index 19f5282..98796f4 100644
--- a/localedata/locales/as_IN
+++ b/localedata/locales/as_IN
@@ -160,6 +160,7 @@  postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 <U0025><U0062><U0025><U0065><U0025><U0072>"
 % IND
 country_car  "<U0049><U004E><U0044>"
+country_num 356
 % অসমীয়া
 lang_name    "<U0985><U09B8><U09AE><U09C0><U09AF><U09BC><U09BE>"
 % as
diff --git a/localedata/locales/ber_DZ b/localedata/locales/ber_DZ
index 474c75b..9273e7c 100644
--- a/localedata/locales/ber_DZ
+++ b/localedata/locales/ber_DZ
@@ -288,7 +288,7 @@  postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 %country_post ""
 country_ab2 "<U0044><U005A>"
 country_ab3 "<U0044><U005A><U0041>"
-country_num 12
+country_num 012
 %country_isbn ""
 % DZ
 country_car  "<U0044><U005A>"
diff --git a/localedata/locales/ca_AD b/localedata/locales/ca_AD
index a2bd3ee..23359de 100644
--- a/localedata/locales/ca_AD
+++ b/localedata/locales/ca_AD
@@ -91,7 +91,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U004E><U0025><U0063><U0025><U004E>"
 country_ab2 "<U0041><U0044>"
 country_ab3 "<U0041><U004E><U0044>"
-country_num 20
+country_num 020
 % AND
 country_car  "<U0041><U004E><U0044>"
 % català
diff --git a/localedata/locales/dv_MV b/localedata/locales/dv_MV
index 34fe69d..e493c3b 100644
--- a/localedata/locales/dv_MV
+++ b/localedata/locales/dv_MV
@@ -178,6 +178,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
 <U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
 <U004E><U0025><U0063><U0025><U004E>"
+country_num 462
 % lang_name FIXME
 % Cannot represent Dhivehi in Thaana script
 % http://en.wikipedia.org/wiki/Maldivian_language
diff --git a/localedata/locales/dz_BT b/localedata/locales/dz_BT
index ac89db8..c1e1ae3 100644
--- a/localedata/locales/dz_BT
+++ b/localedata/locales/dz_BT
@@ -658,7 +658,7 @@  country_name "<U0F60><U0F56><U0FB2><U0F74><U0F42><U0F0D>"
 %country_post  ""
 country_ab2   "<U0042><U0054>"
 country_ab3   "<U0042><U0048><U0055>"
-%country_num   "<U0042><U0048><U0055>"
+country_num 064
 %FIXME
 %country_isbn  ""
 % རྫོང་ཁ
diff --git a/localedata/locales/en_AG b/localedata/locales/en_AG
index 763ba82..68f9183 100644
--- a/localedata/locales/en_AG
+++ b/localedata/locales/en_AG
@@ -84,7 +84,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U004E><U0025><U0063><U0025><U004E>"
 country_ab2   "<U0041><U0047>"
 country_ab3   "<U0041><U0054><U0047>"
-country_num   28
+country_num 028
 % English
 lang_name     "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
 % en
diff --git a/localedata/locales/en_PH b/localedata/locales/en_PH
index 90fca0b..dac023d 100644
--- a/localedata/locales/en_PH
+++ b/localedata/locales/en_PH
@@ -191,7 +191,7 @@  LC_ADDRESS
 postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U0025><U0065><U0025><U0072>"
 country_ab2   "<U0049><U0044>"
 country_ab3   "<U0049><U0044><U004E>"
-country_num   360
+country_num 608
 % RP
 country_car    "<U0052><U0050>"
 % English
diff --git a/localedata/locales/hy_AM b/localedata/locales/hy_AM
index 5610889..cf45642 100644
--- a/localedata/locales/hy_AM
+++ b/localedata/locales/hy_AM
@@ -182,7 +182,7 @@  country_name "<U0540><U0561><U0575><U0561><U057D><U057F><U0561><U0576>"
 % FIXME country_post for Armenia?
 country_ab2 "<U0041><U004D>"
 country_ab3 "<U0041><U0052><U004D>"
-country_num 51
+country_num 051
 country_car "<U0041><U004D>"
 country_isbn "<U0039><U0039><U0039><U0033><U0030>"
 lang_name "<U0540><U0561><U0575><U0565><U0580><U0565><U0576>"
diff --git a/localedata/locales/kk_KZ b/localedata/locales/kk_KZ
index 89b303b..eee7852 100644
--- a/localedata/locales/kk_KZ
+++ b/localedata/locales/kk_KZ
@@ -261,6 +261,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
 <U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
 <U004E><U0025><U0063><U0025><U004E>"
+country_num 398
 % KZ
 country_car    "<U004B><U005A>"
 % kk
diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH
index 895c606..26405da 100644
--- a/localedata/locales/km_KH
+++ b/localedata/locales/km_KH
@@ -1892,7 +1892,7 @@  country_name "<U1780><U1798><U17D2><U1796><U17BB><U1787><U17B6>"
 %country_post  ""
 country_ab2   "<U004C><U0041>"
 country_ab3   "<U004C><U0041><U004F>"
-country_num   418
+country_num 116
 country_car   "<U004C><U0041><U004F>"
 %FIXME
 %country_isbn  ""
diff --git a/localedata/locales/ky_KG b/localedata/locales/ky_KG
index 9bb11d9..190d039 100644
--- a/localedata/locales/ky_KG
+++ b/localedata/locales/ky_KG
@@ -204,7 +204,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 <U004E><U0025><U0063><U0025><U004E>"
 country_ab2 "<U004B><U0059>"
 country_ab3 "<U004B><U0059><U0052>"
-%country_num 643
+country_num 417
 % KS
 country_car    "<U004B><U0053>"
 % Кыргызча
diff --git a/localedata/locales/li_BE b/localedata/locales/li_BE
index 5a89754..758db96 100644
--- a/localedata/locales/li_BE
+++ b/localedata/locales/li_BE
@@ -46,7 +46,7 @@  country_post  "<U0042>"
 country_ab2   "<U0042><U0045>"
 country_ab3   "<U0042><U0045><U004C>"
 country_car   "<U0042>"
-country_num 56
+country_num 056
 %FIXME country_isbn "2"
 % Lèmbörgs
 lang_name    "<U004C><U00E8><U006D><U0062><U00F6><U0072><U0067><U0073>"
diff --git a/localedata/locales/my_MM b/localedata/locales/my_MM
index c5bac5e..a40ba52 100644
--- a/localedata/locales/my_MM
+++ b/localedata/locales/my_MM
@@ -310,6 +310,7 @@  postal_fmt   "<U0025><U0061><U0025><U004E><U0025><U0064><U0025><U004E><U0025><U0
 country_name   "<U1019><U103C><U1014><U103A><U1019><U102C>"
 country_post    "<U004D><U0079><U0061><U006E><U006D><U0061><U0072>"
 country_ab2     "<U004D><U004D>"
+country_num 104
 % BA
 country_car  "<U0042><U0041>"
 lang_ab         "<U006D><U0079>"
diff --git a/localedata/locales/rw_RW b/localedata/locales/rw_RW
index 1f50300..7d56199 100644
--- a/localedata/locales/rw_RW
+++ b/localedata/locales/rw_RW
@@ -135,6 +135,7 @@  postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
 country_name   "<U0052><U0077><U0061><U006E><U0064><U0061>"
 country_ab2    "<U0052><U0057>"
 country_ab3    "<U0052><U0057><U0041>"
+country_num 646
 % RWA
 country_car  "<U0052><U0057><U0041>"
 lang_name      "<U004B><U0069><U006E><U0079><U0061><U0072><U0077><U0061><U006E><U0064><U0061>"
diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
index e2e6936..4abaca2 100644
--- a/localedata/locales/tr_CY
+++ b/localedata/locales/tr_CY
@@ -99,7 +99,7 @@  country_post	"<U0054><U0052>"
 % TR
 country_car	"<U0054><U0052>"
 country_isbn	975
-country_num	792
+country_num 196
 % TR
 country_ab2	"<U0054><U0052>"
 % TUR
diff --git a/localedata/locales/tt_RU b/localedata/locales/tt_RU
index 804f7f0..a79b1f4 100644
--- a/localedata/locales/tt_RU
+++ b/localedata/locales/tt_RU
@@ -316,6 +316,7 @@  END LC_NAME
 LC_ADDRESS
 % FIXME
 postal_fmt "???"
+country_num 643
 % RUS
 country_car    "<U0052><U0055><U0053>"
 % tt
diff --git a/localedata/locales/wa_BE b/localedata/locales/wa_BE
index a2fb3be..43b466b 100644
--- a/localedata/locales/wa_BE
+++ b/localedata/locales/wa_BE
@@ -41,7 +41,7 @@  country_name "<U0042><U0065><U006C><U006A><U0069><U006B><U0065>"
 country_post "B"
 country_ab2 "BE"
 country_ab3 "BEL"
-country_num 56
+country_num 056
 country_isbn "2"
 % B
 country_car  "<U0042>"