This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] Removed redundant data for LC_MONETARY


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]