From: Akhilesh Kumar Date: Wed, 9 Aug 2017 12:57:14 +0000 (+0530) Subject: Remove redundant data for LC_MONETARY for Indian locales X-Git-Tag: glibc-2.27~1194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4169825556bcc23ced731e711be91819465d4a83;p=thirdparty%2Fglibc.git Remove redundant data for LC_MONETARY for Indian locales Reference is taken from https://en.wikipedia.org/wiki/Indian_numbering_system https://en.wikipedia.org/wiki/Indian_rupee CLDR has the currency format pattern “¤#,##,##0.00”. [BZ #21836] * locales/ar_IN (LC_MONETARY) : copy "hi_IN" * locales/as_IN (LC_MONETARY) : copy "hi_IN" * locales/bhb_IN (LC_MONETARY): copy "hi_IN" * locales/bn_IN (LC_MONETARY) : copy "hi_IN" * locales/en_IN (LC_MONETARY) : copy "hi_IN" * locales/gu_IN (LC_MONETARY) : copy "hi_IN" * locales/hi_IN (LC_MONETARY) : Fix mon_grouping, p_sep_by_space and n_sep_by_space * locales/kn_IN (LC_MONETARY) : copy "hi_IN" * locales/kok_IN(LC_MONETARY) : copy "hi_IN" * locales/ks_IN (LC_MONETARY) : copy "hi_IN" * locales/ml_IN (LC_MONETARY) : copy "hi_IN" * locales/mr_IN (LC_MONETARY) : copy "hi_IN" * locales/or_IN (LC_MONETARY) : copy "hi_IN" * locales/pa_IN (LC_MONETARY) : copy "hi_IN" * locales/sa_IN (LC_MONETARY) : copy "hi_IN" * locales/sd_IN (LC_MONETARY) : copy "hi_IN" * locales/ta_IN (LC_MONETARY) : copy "hi_IN" * locales/tcy_IN(LC_MONETARY) : copy "hi_IN" * locales/te_IN (LC_MONETARY) : copy "hi_IN" * locales/ur_IN (LC_MONETARY) : copy "hi_IN" --- diff --git a/localedata/ChangeLog b/localedata/ChangeLog index ba7fb2b0019..af08af9a175 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,34 @@ +2017-08-10 Akhilesh Kumar + + Remove redundant data for LC_MONETARY + + Reference is taken from + https://en.wikipedia.org/wiki/Indian_numbering_system + https://en.wikipedia.org/wiki/Indian_rupee + + [BZ #21836] + * locales/ar_IN (LC_MONETARY) : copy "hi_IN" + * locales/as_IN (LC_MONETARY) : copy "hi_IN" + * locales/bhb_IN (LC_MONETARY): copy "hi_IN" + * locales/bn_IN (LC_MONETARY) : copy "hi_IN" + * locales/en_IN (LC_MONETARY) : copy "hi_IN" + * locales/gu_IN (LC_MONETARY) : copy "hi_IN" + * locales/hi_IN (LC_MONETARY) : Fix mon_grouping, + p_sep_by_space and n_sep_by_space + * locales/kn_IN (LC_MONETARY) : copy "hi_IN" + * locales/kok_IN(LC_MONETARY) : copy "hi_IN" + * locales/ks_IN (LC_MONETARY) : copy "hi_IN" + * locales/ml_IN (LC_MONETARY) : copy "hi_IN" + * locales/mr_IN (LC_MONETARY) : copy "hi_IN" + * locales/or_IN (LC_MONETARY) : copy "hi_IN" + * locales/pa_IN (LC_MONETARY) : copy "hi_IN" + * locales/sa_IN (LC_MONETARY) : copy "hi_IN" + * locales/sd_IN (LC_MONETARY) : copy "hi_IN" + * locales/ta_IN (LC_MONETARY) : copy "hi_IN" + * locales/tcy_IN(LC_MONETARY) : copy "hi_IN" + * locales/te_IN (LC_MONETARY) : copy "hi_IN" + * locales/ur_IN (LC_MONETARY) : copy "hi_IN" + 2017-08-09 Wei-Lun Chao [BZ #17563] diff --git a/localedata/locales/ar_IN b/localedata/locales/ar_IN index 791e63c519e..0f313c90bd3 100644 --- a/localedata/locales/ar_IN +++ b/localedata/locales/ar_IN @@ -53,27 +53,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/as_IN b/localedata/locales/as_IN index b7c905a9962..c2ee88c36b9 100644 --- a/localedata/locales/as_IN +++ b/localedata/locales/as_IN @@ -58,27 +58,7 @@ END LC_NUMERIC %%%%%%%%%%%%% LC_MONETARY -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 -int_p_cs_precedes 1 -int_p_sep_by_space 1 -int_n_cs_precedes 1 -int_n_sep_by_space 1 -int_p_sign_posn 1 -int_n_sign_posn 1 +copy "hi_IN" END LC_MONETARY %%%%%%%%%%%%% diff --git a/localedata/locales/bhb_IN b/localedata/locales/bhb_IN index 49b1cbe2a47..4ecac8c83a9 100644 --- a/localedata/locales/bhb_IN +++ b/localedata/locales/bhb_IN @@ -47,7 +47,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -copy "ks_IN" +copy "hi_IN" END LC_MONETARY diff --git a/localedata/locales/bn_IN b/localedata/locales/bn_IN index f81e1de2235..f14e1b932a0 100644 --- a/localedata/locales/bn_IN +++ b/localedata/locales/bn_IN @@ -54,27 +54,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 2;3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/en_IN b/localedata/locales/en_IN index 933a41ccd09..7a4a27e752a 100644 --- a/localedata/locales/en_IN +++ b/localedata/locales/en_IN @@ -53,27 +53,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/gu_IN b/localedata/locales/gu_IN index 30577e130b6..b883b35297d 100644 --- a/localedata/locales/gu_IN +++ b/localedata/locales/gu_IN @@ -74,26 +74,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -% This is the POSIX Locale definition the LC_MONETARY category. -% These are generated based on XML base Locale definition file -% for IBM Class for Unicode/Java -% -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/hi_IN b/localedata/locales/hi_IN index 05b89187079..b0ac9aa2843 100644 --- a/localedata/locales/hi_IN +++ b/localedata/locales/hi_IN @@ -76,19 +76,21 @@ LC_MONETARY % These are generated based on XML base Locale definition file % for IBM Class for Unicode/Java % -int_curr_symbol "" +int_curr_symbol "INR " currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 +mon_decimal_point "." +mon_thousands_sep "," +% https://en.wikipedia.org/wiki/Indian_numbering_system +mon_grouping 3;2 positive_sign "" -negative_sign "" +negative_sign "-" int_frac_digits 2 frac_digits 2 +% https://en.wikipedia.org/wiki/Indian_rupee p_cs_precedes 1 -p_sep_by_space 1 +p_sep_by_space 0 n_cs_precedes 1 -n_sep_by_space 1 +n_sep_by_space 0 p_sign_posn 1 n_sign_posn 1 % diff --git a/localedata/locales/kn_IN b/localedata/locales/kn_IN index 3f89da00435..fc067b8054e 100644 --- a/localedata/locales/kn_IN +++ b/localedata/locales/kn_IN @@ -74,26 +74,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -% This is the POSIX Locale definition the LC_MONETARY category. -% These are generated based on XML base Locale definition file -% for IBM Class for Unicode/Java -% -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/kok_IN b/localedata/locales/kok_IN index 3353a6039a5..a3665705a56 100644 --- a/localedata/locales/kok_IN +++ b/localedata/locales/kok_IN @@ -51,27 +51,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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/ks_IN b/localedata/locales/ks_IN index 094f2cd29de..de66d4578a9 100644 --- a/localedata/locales/ks_IN +++ b/localedata/locales/ks_IN @@ -56,29 +56,8 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/ml_IN b/localedata/locales/ml_IN index 0117a2db8cf..b175d32ff85 100644 --- a/localedata/locales/ml_IN +++ b/localedata/locales/ml_IN @@ -65,33 +65,12 @@ END LC_CTYPE % % LC_COLLATE - % Copy the template from ISO/IEC 14651 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 % +LC_MONETARY +copy "hi_IN" END LC_MONETARY % LC_NUMERIC diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN index 31378574a55..04b1b4dec5c 100644 --- a/localedata/locales/mr_IN +++ b/localedata/locales/mr_IN @@ -71,27 +71,7 @@ reorder-end 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/or_IN b/localedata/locales/or_IN index 6a7fe3cadfa..2d9a3b3e205 100644 --- a/localedata/locales/or_IN +++ b/localedata/locales/or_IN @@ -614,27 +614,7 @@ END LC_NUMERIC %%%%%%%%%%%%% LC_MONETARY -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 -int_p_cs_precedes 1 -int_p_sep_by_space 1 -int_n_cs_precedes 1 -int_n_sep_by_space 1 -int_p_sign_posn 1 -int_n_sign_posn 1 +copy "hi_IN" END LC_MONETARY %%%%%%%%%%%%% diff --git a/localedata/locales/pa_IN b/localedata/locales/pa_IN index 831c66bb4a5..b371ae4e7de 100644 --- a/localedata/locales/pa_IN +++ b/localedata/locales/pa_IN @@ -72,23 +72,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -% This is the POSIX Locale definition the LC_MONETARY category. -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/sa_IN b/localedata/locales/sa_IN index c0ccdecb1b0..7ca03179890 100644 --- a/localedata/locales/sa_IN +++ b/localedata/locales/sa_IN @@ -55,26 +55,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -% This is the POSIX Locale definition the LC_MONETARY category. -% These are generated based on XML base Locale definition file -% for IBM Class for Unicode/Java -% -int_curr_symbol "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/sd_IN b/localedata/locales/sd_IN index bc9d681d764..f0c653e916d 100644 --- a/localedata/locales/sd_IN +++ b/localedata/locales/sd_IN @@ -58,27 +58,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/ta_IN b/localedata/locales/ta_IN index 3cda08a06e9..5963a264b7b 100644 --- a/localedata/locales/ta_IN +++ b/localedata/locales/ta_IN @@ -75,27 +75,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -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 diff --git a/localedata/locales/tcy_IN b/localedata/locales/tcy_IN index 9f021c507c0..01d66fff10a 100644 --- a/localedata/locales/tcy_IN +++ b/localedata/locales/tcy_IN @@ -52,7 +52,7 @@ copy "iso14651_t1" END LC_COLLATE LC_MONETARY -copy "kn_IN" +copy "hi_IN" END LC_MONETARY diff --git a/localedata/locales/te_IN b/localedata/locales/te_IN index 50335b0b1f2..c9cccafde68 100644 --- a/localedata/locales/te_IN +++ b/localedata/locales/te_IN @@ -75,27 +75,7 @@ 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 "" -currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" -mon_grouping 3;2 -positive_sign "" -negative_sign "" -int_frac_digits 2 -frac_digits 2 -p_cs_precedes 1 -p_sep_by_space 0 -n_cs_precedes 1 -n_sep_by_space 0 -p_sign_posn 1 -n_sign_posn 1 -% +copy "hi_IN" END LC_MONETARY diff --git a/localedata/locales/ur_IN b/localedata/locales/ur_IN index 1af10ed847a..ae775d4ca34 100644 --- a/localedata/locales/ur_IN +++ b/localedata/locales/ur_IN @@ -58,7 +58,7 @@ END LC_COLLATE LC_MONETARY -copy "ar_IN" +copy "hi_IN" END LC_MONETARY