diff mbox

[v2] localedata: CLDRv28: update LC_TELEPHONE.int_prefix

Message ID 1455864006-15501-1-git-send-email-vapier@gentoo.org
State Committed
Delegated to: Mike Frysinger
Headers show

Commit Message

Mike Frysinger Feb. 19, 2016, 6:40 a.m. UTC
This includes updates to more locales now that my python parsing logic
is able to dive into "copy" files and properly detect missing keys.
That is to say, after this change, all locales in glibc have int_prefix
both set and to the correct value :).

This updates a bunch of locales based on CLDR v28 data:
  ar_SS: int_prefix: changing 249 to 211
  bn_BD: int_prefix: changing 88 to 880
  dz_BT: int_prefix: changing 66 to 975
  en_HK: int_prefix: changing  to 852
  en_PH: int_prefix: changing  to 63
  en_SG: int_prefix: changing  to 65
  es_DO: int_prefix: changing 1809 to 1
  es_PA: int_prefix: changing 502 to 507
  es_PR: int_prefix: changing 1787 to 1
  km_KH: int_prefix: changing 856 to 855
  mt_MT: int_prefix: changing  to 356
  ne_NP: int_prefix: changing 91 to 977
  pap_AW: int_prefix: changing 599 to 297
  the_NP: int_prefix: changing 91 to 977
  tk_TM: int_prefix: changing  to 993
  uz_UZ: int_prefix: changing 27 to 998
  zh_SG: int_prefix: changing  to 65

I've also checked these against https://countrycode.org/.

Note: the Dominican Republic (DO) and Puerto Rico (PR) updates are
correct: they both use +1.  Historically, DO had one area code of
809 and PR of 787 which is why they were listed as such, but they
have both expanded into 829 and 989 respectively, so using the four
digit value is def incorrect now.
---
 localedata/locales/ar_SS          | 2 +-
 localedata/locales/bn_BD          | 2 +-
 localedata/locales/dz_BT          | 2 +-
 localedata/locales/en_HK          | 2 +-
 localedata/locales/en_PH          | 2 +-
 localedata/locales/en_SG          | 2 +-
 localedata/locales/es_DO          | 2 +-
 localedata/locales/es_PA          | 2 +-
 localedata/locales/es_PR          | 2 +-
 localedata/locales/km_KH          | 2 +-
 localedata/locales/mt_MT          | 2 +-
 localedata/locales/ne_NP          | 2 +-
 localedata/locales/pap_AW         | 3 +--
 localedata/locales/the_NP         | 2 +-
 localedata/locales/tk_TM          | 1 +
 localedata/locales/uz_UZ          | 2 +-
 localedata/locales/uz_UZ@cyrillic | 2 +-
 localedata/locales/zh_SG          | 2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)

Comments

Carlos O'Donell Feb. 19, 2016, 1:59 p.m. UTC | #1
On 02/19/2016 01:40 AM, Mike Frysinger wrote:
> This includes updates to more locales now that my python parsing logic
> is able to dive into "copy" files and properly detect missing keys.
> That is to say, after this change, all locales in glibc have int_prefix
> both set and to the correct value :).
> 
> This updates a bunch of locales based on CLDR v28 data:
>   ar_SS: int_prefix: changing 249 to 211
>   bn_BD: int_prefix: changing 88 to 880
>   dz_BT: int_prefix: changing 66 to 975
>   en_HK: int_prefix: changing  to 852
>   en_PH: int_prefix: changing  to 63
>   en_SG: int_prefix: changing  to 65
>   es_DO: int_prefix: changing 1809 to 1
>   es_PA: int_prefix: changing 502 to 507
>   es_PR: int_prefix: changing 1787 to 1
>   km_KH: int_prefix: changing 856 to 855
>   mt_MT: int_prefix: changing  to 356
>   ne_NP: int_prefix: changing 91 to 977
>   pap_AW: int_prefix: changing 599 to 297
>   the_NP: int_prefix: changing 91 to 977
>   tk_TM: int_prefix: changing  to 993
>   uz_UZ: int_prefix: changing 27 to 998
>   zh_SG: int_prefix: changing  to 65
> 
> I've also checked these against https://countrycode.org/.
> 
> Note: the Dominican Republic (DO) and Puerto Rico (PR) updates are
> correct: they both use +1.  Historically, DO had one area code of
> 809 and PR of 787 which is why they were listed as such, but they
> have both expanded into 829 and 989 respectively, so using the four
> digit value is def incorrect now.
> ---
>  localedata/locales/ar_SS          | 2 +-
>  localedata/locales/bn_BD          | 2 +-
>  localedata/locales/dz_BT          | 2 +-
>  localedata/locales/en_HK          | 2 +-
>  localedata/locales/en_PH          | 2 +-
>  localedata/locales/en_SG          | 2 +-
>  localedata/locales/es_DO          | 2 +-
>  localedata/locales/es_PA          | 2 +-
>  localedata/locales/es_PR          | 2 +-
>  localedata/locales/km_KH          | 2 +-
>  localedata/locales/mt_MT          | 2 +-
>  localedata/locales/ne_NP          | 2 +-
>  localedata/locales/pap_AW         | 3 +--
>  localedata/locales/the_NP         | 2 +-
>  localedata/locales/tk_TM          | 1 +
>  localedata/locales/uz_UZ          | 2 +-
>  localedata/locales/uz_UZ@cyrillic | 2 +-
>  localedata/locales/zh_SG          | 2 +-
>  18 files changed, 18 insertions(+), 18 deletions(-)

LGTM.

c.
diff mbox

Patch

diff --git a/localedata/locales/ar_SS b/localedata/locales/ar_SS
index 514360b..db3cac9 100644
--- a/localedata/locales/ar_SS
+++ b/localedata/locales/ar_SS
@@ -216,7 +216,7 @@  LC_TELEPHONE
 %
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
 <U003B><U0025><U006C>"
-int_prefix  "<U0032><U0034><U0039>"
+int_prefix  "<U0032><U0031><U0031>"
 
 END LC_TELEPHONE
 
diff --git a/localedata/locales/bn_BD b/localedata/locales/bn_BD
index ae6ce75..53acafb 100644
--- a/localedata/locales/bn_BD
+++ b/localedata/locales/bn_BD
@@ -159,7 +159,7 @@  LC_TELEPHONE
 tel_int_fmt   "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
 tel_dom_fmt   "<U0025><U0061><U0020><U0025><U006C>"
 int_select    "<U0030><U0030>"
-int_prefix    "<U0038><U0038>"
+int_prefix    "<U0038><U0038><U0030>"
 END LC_TELEPHONE
 
 LC_NAME
diff --git a/localedata/locales/dz_BT b/localedata/locales/dz_BT
index d6443b4..6927eb7 100644
--- a/localedata/locales/dz_BT
+++ b/localedata/locales/dz_BT
@@ -623,7 +623,7 @@  LC_TELEPHONE
  tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
 % tel_dom_fmt    "<U0030><U002D><U0025><U0061><U0025><U006C>"
 % int_select     "<U0030><U0030><U0031>"
-% int_prefix     "<U0036><U0036>"
+int_prefix     "<U0039><U0037><U0035>"
 END LC_TELEPHONE
 
 LC_PAPER
diff --git a/localedata/locales/en_HK b/localedata/locales/en_HK
index b101ff0..f5fae32 100644
--- a/localedata/locales/en_HK
+++ b/localedata/locales/en_HK
@@ -213,7 +213,7 @@  LC_TELEPHONE
 % This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
 % generated by IBM Basic CountryPack Transformer.
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0038><U0035><U0032>"
 END LC_TELEPHONE
 
 
diff --git a/localedata/locales/en_PH b/localedata/locales/en_PH
index 80e8cfe..90fca0b 100644
--- a/localedata/locales/en_PH
+++ b/localedata/locales/en_PH
@@ -209,7 +209,7 @@  LC_TELEPHONE
 % This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
 % generated by IBM Basic CountryPack Transformer.
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0033>"
 END LC_TELEPHONE
 
 
diff --git a/localedata/locales/en_SG b/localedata/locales/en_SG
index c161f7d..cee0683 100644
--- a/localedata/locales/en_SG
+++ b/localedata/locales/en_SG
@@ -212,7 +212,7 @@  LC_TELEPHONE
 % This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
 % generated by IBM Basic CountryPack Transformer.
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0035>"
 END LC_TELEPHONE
 
 
diff --git a/localedata/locales/es_DO b/localedata/locales/es_DO
index 7aa54c8..d142c35 100644
--- a/localedata/locales/es_DO
+++ b/localedata/locales/es_DO
@@ -132,7 +132,7 @@  END LC_PAPER
 LC_TELEPHONE
 tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
-int_prefix     "<U0031><U0038><U0030><U0039>"
+int_prefix     "<U0031>"
 int_select     "<U0030><U0031><U0031>"
 END LC_TELEPHONE
 
diff --git a/localedata/locales/es_PA b/localedata/locales/es_PA
index 9d998d2..0e82bf0 100644
--- a/localedata/locales/es_PA
+++ b/localedata/locales/es_PA
@@ -130,7 +130,7 @@  END LC_PAPER
 LC_TELEPHONE
 tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
-int_prefix     "<U0035><U0030><U0032>"
+int_prefix     "<U0035><U0030><U0037>"
 END LC_TELEPHONE
 
 LC_MEASUREMENT
diff --git a/localedata/locales/es_PR b/localedata/locales/es_PR
index 46e21db..91a0d7d 100644
--- a/localedata/locales/es_PR
+++ b/localedata/locales/es_PR
@@ -122,7 +122,7 @@  END LC_PAPER
 LC_TELEPHONE
 tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
-int_prefix     "<U0031><U0037><U0038><U0037>"
+int_prefix     "<U0031>"
 END LC_TELEPHONE
 
 LC_MEASUREMENT
diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH
index 45af3aa..895c606 100644
--- a/localedata/locales/km_KH
+++ b/localedata/locales/km_KH
@@ -1863,7 +1863,7 @@  tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
 tel_dom_fmt    "<U0028><U0025><U0041><U0029><U0025><U006C>"
 int_select     "<U0030><U0030><U0031>"
-int_prefix     "<U0038><U0035><U0036>"
+int_prefix     "<U0038><U0035><U0035>"
 END LC_TELEPHONE
 
 LC_MEASUREMENT
diff --git a/localedata/locales/mt_MT b/localedata/locales/mt_MT
index f0f64c2..34a4976 100644
--- a/localedata/locales/mt_MT
+++ b/localedata/locales/mt_MT
@@ -308,7 +308,7 @@  LC_TELEPHONE
 % generated by IBM Basic CountryPack Transformer.
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
 <U003B><U0025><U006C>"
-
+int_prefix "<U0033><U0035><U0036>"
 END LC_TELEPHONE
 
 
diff --git a/localedata/locales/ne_NP b/localedata/locales/ne_NP
index a4a0f5f..1a462c7 100644
--- a/localedata/locales/ne_NP
+++ b/localedata/locales/ne_NP
@@ -213,7 +213,7 @@  LC_TELEPHONE
 %
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
 <U003B><U0025><U006C>"
-int_prefix     "<U0039><U0031>"
+int_prefix     "<U0039><U0037><U0037>"
 
 END LC_TELEPHONE
 
diff --git a/localedata/locales/pap_AW b/localedata/locales/pap_AW
index 97f942b..f902e34 100644
--- a/localedata/locales/pap_AW
+++ b/localedata/locales/pap_AW
@@ -158,8 +158,7 @@  tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
 % FIXME FIND tel_dom_fmt
 % 00
 int_select  "<U0030><U0030>"
-% 599
-int_prefix  "<U0035><U0039><U0039>"
+int_prefix  "<U0032><U0039><U0037>"
 END LC_TELEPHONE
 
 LC_NAME
diff --git a/localedata/locales/the_NP b/localedata/locales/the_NP
index f53c482..d889890 100644
--- a/localedata/locales/the_NP
+++ b/localedata/locales/the_NP
@@ -217,7 +217,7 @@  LC_TELEPHONE
 %
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
 <U003B><U0025><U006C>"
-int_prefix     "<U0039><U0031>"
+int_prefix     "<U0039><U0037><U0037>"
 
 END LC_TELEPHONE
 
diff --git a/localedata/locales/tk_TM b/localedata/locales/tk_TM
index 3ae7281..cb7ed17 100644
--- a/localedata/locales/tk_TM
+++ b/localedata/locales/tk_TM
@@ -458,4 +458,5 @@  END LC_ADDRESS
 LC_TELEPHONE
 % TODO: complete me
 tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+int_prefix "<U0039><U0039><U0033>"
 END LC_TELEPHONE
diff --git a/localedata/locales/uz_UZ b/localedata/locales/uz_UZ
index 6e5948b..b26cd4c 100644
--- a/localedata/locales/uz_UZ
+++ b/localedata/locales/uz_UZ
@@ -279,7 +279,7 @@  LC_TELEPHONE
 % FIXME: todo
 tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
-int_prefix     "<U0032><U0037>"
+int_prefix     "<U0039><U0039><U0038>"
 END LC_TELEPHONE
 
 LC_MEASUREMENT
diff --git a/localedata/locales/uz_UZ@cyrillic b/localedata/locales/uz_UZ@cyrillic
index 679b64e..8ed4ee5 100644
--- a/localedata/locales/uz_UZ@cyrillic
+++ b/localedata/locales/uz_UZ@cyrillic
@@ -280,7 +280,7 @@  END LC_PAPER
 LC_TELEPHONE
 tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
 <U006C>"
-int_prefix     "<U0032><U0037>"
+int_prefix     "<U0039><U0039><U0038>"
 END LC_TELEPHONE
 
 LC_MEASUREMENT
diff --git a/localedata/locales/zh_SG b/localedata/locales/zh_SG
index da9d64e..1723cf4 100644
--- a/localedata/locales/zh_SG
+++ b/localedata/locales/zh_SG
@@ -206,7 +206,7 @@  LC_TELEPHONE
 % This is the ISO_IEC TR14652 Locale definition for the LC_TELEPHONE
 % generated by IBM Basic CountryPack Transformer.
 tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
-
+int_prefix "<U0036><U0035>"
 END LC_TELEPHONE