This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] Removed redundant data for LC_MONETARY
- From: Mike FABIAN <mfabian at redhat dot com>
- To: Akhilesh Kumar <akhilesh dot k at samsung dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 10 Aug 2017 11:00:02 +0200
- Subject: Re: [PATCH v3] Removed redundant data for LC_MONETARY
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 826EEC052431
- References: <CGME20170809130144epcas5p390741db9c51a1b094f92e6cae528b888@epcas5p3.samsung.com> <1502283434-48227-1-git-send-email-akhilesh.k@samsung.com>
Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
> Reference is taken from
> https://en.wikipedia.org/wiki/Indian_numbering_system
> https://en.wikipedia.org/wiki/Indian_rupee
>
> [BZ #21836]
[...]
> %%%%%%%%%%%%%
> diff --git a/localedata/locales/bhb_IN b/localedata/locales/bhb_IN
> index 49b1cbe..3be0f8f 100644
> --- a/localedata/locales/bhb_IN
> +++ b/localedata/locales/bhb_IN
> @@ -39,7 +39,7 @@ category "i18n:2012";LC_MEASUREMENT
> END LC_IDENTIFICATION
>
> LC_CTYPE
> -copy "ks_IN"
> +copy "hi_IN"
> END LC_CTYPE
>
> LC_COLLATE
You mistakenly changed LC_CTYPE here instead of LC_MONETARY.
> diff --git a/localedata/locales/ks_IN b/localedata/locales/ks_IN
> index 094f2cd..94c2834 100644
> --- a/localedata/locales/ks_IN
> +++ b/localedata/locales/ks_IN
> @@ -56,29 +56,7 @@ copy "iso14651_t1"
>
> END LC_COLLATE
>
> -
> -LC_MONETARY
> -% This is the POSIX Locale definition the LC_MONETARY category
> -% generated by IBM Basic CountryPack Transformer.
> -% These are generated based on XML base Locale defintion file
> -% for IBM Class for Unicode.
> -%
> -int_curr_symbol "<U0049><U004E><U0052><U0020>"
> -currency_symbol "<U20B9>"
> -mon_decimal_point "<U002E>"
> -mon_thousands_sep "<U002C>"
> -mon_grouping 3
> -positive_sign ""
> -negative_sign "<U002D>"
> -int_frac_digits 2
> -frac_digits 2
> -p_cs_precedes 1
> -p_sep_by_space 1
> -n_cs_precedes 1
> -n_sep_by_space 1
> -p_sign_posn 1
> -n_sign_posn 1
> -%
> +copy "hi_IN"
> END LC_MONETARY
You removed the LC_MONETARY start tag here which leads to this error:
bhb_IN.UTF-8..../locales/ks_IN:59: syntax error: not inside a locale definition section
./locales/ks_IN:60: syntax error: not inside a locale definition section
No definition for LC_MONETARY category found
--
Mike FABIAN <mfabian@redhat.com>