This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] localedata: fix LC_TELEPHONE in a few locales
- From: Chris Leonard <cjlhomeaddress at gmail dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 13 Apr 2016 14:23:20 -0400
- Subject: Re: [PATCH] localedata: fix LC_TELEPHONE in a few locales
- Authentication-results: sourceware.org; auth=none
- References: <1460521868-25086-1-git-send-email-vapier at gentoo dot org>
Looks good to me.
cjl
On Wed, Apr 13, 2016 at 12:31 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> A bunch of locales were copying the wrong source locale -- looks like they
> were basically TODOs from the original imports. This lead to bad values
> for int_prefix for them.
> ---
> localedata/locales/fil_PH | 2 +-
> localedata/locales/pa_PK | 5 +----
> localedata/locales/tg_TJ | 6 ++++--
> localedata/locales/tl_PH | 3 +--
> localedata/locales/tr_CY | 2 +-
> localedata/locales/ur_PK | 5 +++--
> 6 files changed, 11 insertions(+), 12 deletions(-)
>
> diff --git a/localedata/locales/fil_PH b/localedata/locales/fil_PH
> index 0306a10..b26f394 100644
> --- a/localedata/locales/fil_PH
> +++ b/localedata/locales/fil_PH
> @@ -197,5 +197,5 @@ lang_term "<U0066><U0069><U006C>"
> END LC_ADDRESS
>
> LC_TELEPHONE
> -copy "tl_PH"
> +copy "en_PH"
> END LC_TELEPHONE
> diff --git a/localedata/locales/pa_PK b/localedata/locales/pa_PK
> index 953e856..43718df 100644
> --- a/localedata/locales/pa_PK
> +++ b/localedata/locales/pa_PK
> @@ -194,8 +194,5 @@ lang_lib "<U0070><U0061><U006E>"
> END LC_ADDRESS
>
> LC_TELEPHONE
> -% Changed from ur_PK as that Locale just copy from en_DK, which is not suitable to Punjabi (Shahmukhi) ISD 92
> -tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
> -int_prefix "<U0039><U0032>"
> -int_select "<U0030><U0030>"
> +copy "ur_PK"
> END LC_TELEPHONE
> diff --git a/localedata/locales/tg_TJ b/localedata/locales/tg_TJ
> index e9e19d5..cedddea 100644
> --- a/localedata/locales/tg_TJ
> +++ b/localedata/locales/tg_TJ
> @@ -240,6 +240,8 @@ lang_lib "<U0074><U0067><U006B>"
> END LC_ADDRESS
>
> LC_TELEPHONE
> -% FIXME
> -copy "en_DK"
> +tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0025><U0074><U0025>/
> +<U006C>"
> +int_prefix "<U0039><U0039><U0032>"
> +int_select "<U0030><U0030>"
> END LC_TELEPHONE
> diff --git a/localedata/locales/tl_PH b/localedata/locales/tl_PH
> index c30ea7b..d060c3e 100644
> --- a/localedata/locales/tl_PH
> +++ b/localedata/locales/tl_PH
> @@ -181,6 +181,5 @@ lang_lib "<U0074><U0067><U006C>"
> END LC_ADDRESS
>
> LC_TELEPHONE
> -% FIXME
> -copy "en_US"
> +copy "en_PH"
> END LC_TELEPHONE
> diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
> index 3ac6401..bbf2fe5 100644
> --- a/localedata/locales/tr_CY
> +++ b/localedata/locales/tr_CY
> @@ -78,7 +78,7 @@ copy "tr_TR"
> END LC_PAPER
>
> LC_TELEPHONE
> -copy "tr_TR"
> +copy "el_CY"
> END LC_TELEPHONE
>
> LC_MEASUREMENT
> diff --git a/localedata/locales/ur_PK b/localedata/locales/ur_PK
> index ff9a297..073655b 100644
> --- a/localedata/locales/ur_PK
> +++ b/localedata/locales/ur_PK
> @@ -210,6 +210,7 @@ lang_lib "<U0075><U0072><U0064>"
> END LC_ADDRESS
>
> LC_TELEPHONE
> -% FIXME
> -copy "en_DK"
> +tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
> +int_prefix "<U0039><U0032>"
> +int_select "<U0030><U0030>"
> END LC_TELEPHONE
> --
> 2.7.4
>