localedata: CLDRv29: update LC_ADDRESS.country_num values

This updates a few locales based on CLDR v29 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
  wo_SN: changing 450 to 686

As a result of fixing these, I had to update country_ab[23]:
  dz_BT: changing BHU to BTN
  en_PH: changing ID/IDN to PH/PHL
  km_KH: changing LA/LAO to KH/KHM
  ky_KG: changing KY/KYR to KG/KGZ
  tr_CY: changing TR/TUR to CY/CYP
  wo_SN: changing MG/MDG to SN/SEN

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.
This commit is contained in:
Mike Frysinger 2016-02-09 06:58:40 -05:00
parent fe1f87ac12
commit 76c3498180
19 changed files with 62 additions and 26 deletions

View File

@ -1,3 +1,35 @@
2016-04-15 Mike Frysinger <vapier@gentoo.org>
* locales/as_IN (country_num): Define.
* locales/ber_DZ (country_num): Add leading 0 prefix.
* locales/ca_AD (country_num): Likewise.
* locales/dv_MV (country_num): Define.
* locales/dz_BT (country_num): Change to an integer.
(country_ab3): Change to BTN.
* locales/en_AG (country_num): Add leading 0 prefix.
* locales/en_PH (country_num): Change to 608.
(country_ab2): Change to PH.
(country_ab3): Change to PHL.
* locales/hy_AM (country_num): Add leading 0 prefix.
* locales/kk_KZ (country_num): Define.
* locales/km_KH (country_num): Change to 116.
(country_ab2): Change to KH.
(country_ab3): Change to KHM.
* locales/ky_KG (country_num): Change to 417.
(country_ab2): Change to KG.
(country_ab3): Change to KGZ.
* locales/li_BE (country_num): Add leading 0 prefix.
* locales/my_MM (country_num): Define.
* locales/rw_RW (country_num): Define.
* locales/tr_CY (country_num): Change to 196.
(country_ab2): Change to CY.
(country_ab3): Change to CYP.
* locales/tt_RU (country_num): Define.
* locales/wa_BE (country_num): Add leading 0 prefix.
* locales/wo_SN (country_num): Change to 686.
(country_ab2): Change to SN.
(country_ab3): Change to SEN.
2016-04-15 Mike Frysinger <vapier@gentoo.org> 2016-04-15 Mike Frysinger <vapier@gentoo.org>
* locales/aa_DJ (LC_PAPER): Replace content with a copy directive. * locales/aa_DJ (LC_PAPER): Replace content with a copy directive.

View File

@ -167,6 +167,7 @@ postal_fmt "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
<U0025><U0062><U0025><U0065><U0025><U0072>" <U0025><U0062><U0025><U0065><U0025><U0072>"
% IND % IND
country_car "<U0049><U004E><U0044>" country_car "<U0049><U004E><U0044>"
country_num 356
% অসমীয়া % অসমীয়া
lang_name "<U0985><U09B8><U09AE><U09C0><U09AF><U09BC><U09BE>" lang_name "<U0985><U09B8><U09AE><U09C0><U09AF><U09BC><U09BE>"
% as % as

View File

@ -291,7 +291,7 @@ postal_fmt "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
%country_post "" %country_post ""
country_ab2 "<U0044><U005A>" country_ab2 "<U0044><U005A>"
country_ab3 "<U0044><U005A><U0041>" country_ab3 "<U0044><U005A><U0041>"
country_num 12 country_num 012
%country_isbn "" %country_isbn ""
% DZ % DZ
country_car "<U0044><U005A>" country_car "<U0044><U005A>"

View File

@ -95,7 +95,7 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_ab2 "<U0041><U0044>" country_ab2 "<U0041><U0044>"
country_ab3 "<U0041><U004E><U0044>" country_ab3 "<U0041><U004E><U0044>"
country_num 20 country_num 020
% AND % AND
country_car "<U0041><U004E><U0044>" country_car "<U0041><U004E><U0044>"
% català % català

View File

@ -181,6 +181,7 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/ <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/ <U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_num 462
% lang_name FIXME % lang_name FIXME
% Cannot represent Dhivehi in Thaana script % Cannot represent Dhivehi in Thaana script
% http://en.wikipedia.org/wiki/Maldivian_language % http://en.wikipedia.org/wiki/Maldivian_language

View File

@ -662,8 +662,8 @@ country_name "<U0F60><U0F56><U0FB2><U0F74><U0F42><U0F0D>"
%FIXME %FIXME
%country_post "" %country_post ""
country_ab2 "<U0042><U0054>" country_ab2 "<U0042><U0054>"
country_ab3 "<U0042><U0048><U0055>" country_ab3 "<U0042><U0054><U004E>"
%country_num "<U0042><U0048><U0055>" country_num 064
%FIXME %FIXME
%country_isbn "" %country_isbn ""
% རྫོང་ཁ % རྫོང་ཁ

View File

@ -92,7 +92,7 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_ab2 "<U0041><U0047>" country_ab2 "<U0041><U0047>"
country_ab3 "<U0041><U0054><U0047>" country_ab3 "<U0041><U0054><U0047>"
country_num 28 country_num 028
% English % English
lang_name "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>" lang_name "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
% en % en

View File

@ -197,9 +197,9 @@ LC_ADDRESS
% This is the ISO_IEC TR14652 Locale definition for the LC_ADDRESS category % This is the ISO_IEC TR14652 Locale definition for the LC_ADDRESS category
% generated by IBM Basic CountryPack Transformer. % generated by IBM Basic CountryPack Transformer.
postal_fmt "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U0025><U0065><U0025><U0072>" postal_fmt "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U0025><U0065><U0025><U0072>"
country_ab2 "<U0049><U0044>" country_ab2 "<U0050><U0048>"
country_ab3 "<U0049><U0044><U004E>" country_ab3 "<U0050><U0048><U004C>"
country_num 360 country_num 608
% RP % RP
country_car "<U0052><U0050>" country_car "<U0052><U0050>"
% English % English

View File

@ -186,7 +186,7 @@ country_name "<U0540><U0561><U0575><U0561><U057D><U057F><U0561><U0576>"
% FIXME country_post for Armenia? % FIXME country_post for Armenia?
country_ab2 "<U0041><U004D>" country_ab2 "<U0041><U004D>"
country_ab3 "<U0041><U0052><U004D>" country_ab3 "<U0041><U0052><U004D>"
country_num 51 country_num 051
country_car "<U0041><U004D>" country_car "<U0041><U004D>"
country_isbn "<U0039><U0039><U0039><U0033><U0030>" country_isbn "<U0039><U0039><U0039><U0033><U0030>"
lang_name "<U0540><U0561><U0575><U0565><U0580><U0565><U0576>" lang_name "<U0540><U0561><U0575><U0565><U0580><U0565><U0576>"

View File

@ -261,6 +261,7 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/ <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
<U004E><U0025><U007A><U0020><U0025><U0054><U0025>/ <U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_num 398
% KZ % KZ
country_car "<U004B><U005A>" country_car "<U004B><U005A>"
% kk % kk

View File

@ -1869,9 +1869,9 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
country_name "<U1780><U1798><U17D2><U1796><U17BB><U1787><U17B6>" country_name "<U1780><U1798><U17D2><U1796><U17BB><U1787><U17B6>"
%FIXME %FIXME
%country_post "" %country_post ""
country_ab2 "<U004C><U0041>" country_ab2 "<U004B><U0048>"
country_ab3 "<U004C><U0041><U004F>" country_ab3 "<U004B><U0048><U004D>"
country_num 418 country_num 116
country_car "<U004C><U0041><U004F>" country_car "<U004C><U0041><U004F>"
%FIXME %FIXME
%country_isbn "" %country_isbn ""

View File

@ -208,9 +208,9 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/ <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
<U004E><U0025><U007A><U0020><U0025><U0054><U0025>/ <U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_ab2 "<U004B><U0059>" country_ab2 "<U004B><U0047>"
country_ab3 "<U004B><U0059><U0052>" country_ab3 "<U004B><U0047><U005A>"
%country_num 643 country_num 417
% KS % KS
country_car "<U004B><U0053>" country_car "<U004B><U0053>"
% Кыргызча % Кыргызча

View File

@ -52,7 +52,7 @@ country_post "<U0042>"
country_ab2 "<U0042><U0045>" country_ab2 "<U0042><U0045>"
country_ab3 "<U0042><U0045><U004C>" country_ab3 "<U0042><U0045><U004C>"
country_car "<U0042>" country_car "<U0042>"
country_num 56 country_num 056
%FIXME country_isbn "2" %FIXME country_isbn "2"
% Lèmbörgs % Lèmbörgs
lang_name "<U004C><U00E8><U006D><U0062><U00F6><U0072><U0067><U0073>" lang_name "<U004C><U00E8><U006D><U0062><U00F6><U0072><U0067><U0073>"

View File

@ -314,6 +314,7 @@ postal_fmt "<U0025><U0061><U0025><U004E><U0025><U0064><U0025><U004E><U0025><U0
country_name "<U1019><U103C><U1014><U103A><U1019><U102C>" country_name "<U1019><U103C><U1014><U103A><U1019><U102C>"
country_post "<U004D><U0079><U0061><U006E><U006D><U0061><U0072>" country_post "<U004D><U0079><U0061><U006E><U006D><U0061><U0072>"
country_ab2 "<U004D><U004D>" country_ab2 "<U004D><U004D>"
country_num 104
% BA % BA
country_car "<U0042><U0041>" country_car "<U0042><U0041>"
lang_ab "<U006D><U0079>" lang_ab "<U006D><U0079>"

View File

@ -139,6 +139,7 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
country_name "<U0052><U0077><U0061><U006E><U0064><U0061>" country_name "<U0052><U0077><U0061><U006E><U0064><U0061>"
country_ab2 "<U0052><U0057>" country_ab2 "<U0052><U0057>"
country_ab3 "<U0052><U0057><U0041>" country_ab3 "<U0052><U0057><U0041>"
country_num 646
% RWA % RWA
country_car "<U0052><U0057><U0041>" country_car "<U0052><U0057><U0041>"
lang_name "<U004B><U0069><U006E><U0079><U0061><U0072><U0077><U0061><U006E><U0064><U0061>" lang_name "<U004B><U0069><U006E><U0079><U0061><U0072><U0077><U0061><U006E><U0064><U0061>"

View File

@ -103,11 +103,9 @@ country_post "<U0054><U0052>"
% TR % TR
country_car "<U0054><U0052>" country_car "<U0054><U0052>"
country_isbn 975 country_isbn 975
country_num 792 country_num 196
% TR country_ab2 "<U0043><U0059>"
country_ab2 "<U0054><U0052>" country_ab3 "<U0043><U0059><U0050>"
% TUR
country_ab3 "<U0054><U0055><U0052>"
% Turkish % Turkish
lang_name "<U0054><U0075><U0072><U006B><U0069><U0073><U0068>" lang_name "<U0054><U0075><U0072><U006B><U0069><U0073><U0068>"
% tur % tur

View File

@ -320,6 +320,7 @@ END LC_NAME
LC_ADDRESS LC_ADDRESS
% FIXME % FIXME
postal_fmt "???" postal_fmt "???"
country_num 643
% RUS % RUS
country_car "<U0052><U0055><U0053>" country_car "<U0052><U0055><U0053>"
% tt % tt

View File

@ -48,7 +48,7 @@ country_name "<U0042><U0065><U006C><U006A><U0069><U006B><U0065>"
country_post "B" country_post "B"
country_ab2 "BE" country_ab2 "BE"
country_ab3 "BEL" country_ab3 "BEL"
country_num 56 country_num 056
country_isbn "2" country_isbn "2"
% B % B
country_car "<U0042>" country_car "<U0042>"

View File

@ -173,9 +173,9 @@ postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/ <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
<U004E><U0025><U007A><U0020><U0025><U0054><U0025>/ <U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>" <U004E><U0025><U0063><U0025><U004E>"
country_ab2 "<U004D><U0047>" country_ab2 "<U0053><U004E>"
country_ab3 "<U004D><U0044><U0047>" country_ab3 "<U0053><U0045><U004E>"
country_num 450 country_num 686
% SN % SN
country_car "<U0053><U004E>" country_car "<U0053><U004E>"
% wo % wo