diff options
author | Akhilesh Kumar <akhilesh.k@samsung.com> | 2017-08-09 18:27:14 +0530 |
---|---|---|
committer | Mike FABIAN <mfabian@redhat.com> | 2017-08-10 13:00:31 +0200 |
commit | 4169825556bcc23ced731e711be91819465d4a83 (patch) | |
tree | 2e403ae0daae33ef10d399c1f6c295df1a8e8548 | |
parent | 38dbcacb606f70ad0a35fbcacb6f3cbff5f34d94 (diff) | |
download | glibc-4169825556bcc23ced731e711be91819465d4a83.tar.gz |
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"
-rw-r--r-- | localedata/ChangeLog | 31 | ||||
-rw-r--r-- | localedata/locales/ar_IN | 22 | ||||
-rw-r--r-- | localedata/locales/as_IN | 22 | ||||
-rw-r--r-- | localedata/locales/bhb_IN | 2 | ||||
-rw-r--r-- | localedata/locales/bn_IN | 22 | ||||
-rw-r--r-- | localedata/locales/en_IN | 22 | ||||
-rw-r--r-- | localedata/locales/gu_IN | 21 | ||||
-rw-r--r-- | localedata/locales/hi_IN | 16 | ||||
-rw-r--r-- | localedata/locales/kn_IN | 21 | ||||
-rw-r--r-- | localedata/locales/kok_IN | 22 | ||||
-rw-r--r-- | localedata/locales/ks_IN | 23 | ||||
-rw-r--r-- | localedata/locales/ml_IN | 25 | ||||
-rw-r--r-- | localedata/locales/mr_IN | 22 | ||||
-rw-r--r-- | localedata/locales/or_IN | 22 | ||||
-rw-r--r-- | localedata/locales/pa_IN | 18 | ||||
-rw-r--r-- | localedata/locales/sa_IN | 21 | ||||
-rw-r--r-- | localedata/locales/sd_IN | 22 | ||||
-rw-r--r-- | localedata/locales/ta_IN | 22 | ||||
-rw-r--r-- | localedata/locales/tcy_IN | 2 | ||||
-rw-r--r-- | localedata/locales/te_IN | 22 | ||||
-rw-r--r-- | localedata/locales/ur_IN | 2 |
21 files changed, 60 insertions, 342 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog index ba7fb2b001..af08af9a17 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,34 @@ +2017-08-10 Akhilesh Kumar <akhilesh.k@samsung.com> + + 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 <bluebat@member.fsf.org> [BZ #17563] diff --git a/localedata/locales/ar_IN b/localedata/locales/ar_IN index 791e63c519..0f313c90bd 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 diff --git a/localedata/locales/as_IN b/localedata/locales/as_IN index b7c905a996..c2ee88c36b 100644 --- a/localedata/locales/as_IN +++ b/localedata/locales/as_IN @@ -58,27 +58,7 @@ END LC_NUMERIC %%%%%%%%%%%%% LC_MONETARY -int_curr_symbol "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 -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 49b1cbe2a4..4ecac8c83a 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 f81e1de223..f14e1b932a 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 2;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 diff --git a/localedata/locales/en_IN b/localedata/locales/en_IN index 933a41ccd0..7a4a27e752 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 diff --git a/localedata/locales/gu_IN b/localedata/locales/gu_IN index 30577e130b..b883b35297 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3 -positive_sign "<U002B>" -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 diff --git a/localedata/locales/hi_IN b/localedata/locales/hi_IN index 05b8918707..b0ac9aa284 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 "<U0049><U004E><U0052><U0020>" +int_curr_symbol "INR " currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -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 "<U002D>" +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 3f89da0043..fc067b8054 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 "<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 diff --git a/localedata/locales/kok_IN b/localedata/locales/kok_IN index 3353a6039a..a3665705a5 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 "<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 diff --git a/localedata/locales/ks_IN b/localedata/locales/ks_IN index 094f2cd29d..de66d4578a 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 "<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 diff --git a/localedata/locales/ml_IN b/localedata/locales/ml_IN index 0117a2db8c..b175d32ff8 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 % +LC_MONETARY +copy "hi_IN" END LC_MONETARY % LC_NUMERIC diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN index 31378574a5..04b1b4dec5 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 "<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 diff --git a/localedata/locales/or_IN b/localedata/locales/or_IN index 6a7fe3cadf..2d9a3b3e20 100644 --- a/localedata/locales/or_IN +++ b/localedata/locales/or_IN @@ -614,27 +614,7 @@ END LC_NUMERIC %%%%%%%%%%%%% LC_MONETARY -int_curr_symbol "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 -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 831c66bb4a..b371ae4e7d 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 "<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 diff --git a/localedata/locales/sa_IN b/localedata/locales/sa_IN index c0ccdecb1b..7ca0317989 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 "<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 diff --git a/localedata/locales/sd_IN b/localedata/locales/sd_IN index bc9d681d76..f0c653e916 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 "<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 diff --git a/localedata/locales/ta_IN b/localedata/locales/ta_IN index 3cda08a06e..5963a264b7 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -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 diff --git a/localedata/locales/tcy_IN b/localedata/locales/tcy_IN index 9f021c507c..01d66fff10 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 50335b0b1f..c9cccafde6 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 "<U0049><U004E><U0052><U0020>" -currency_symbol "<U20B9>" -mon_decimal_point "<U002E>" -mon_thousands_sep "<U002C>" -mon_grouping 3;2 -positive_sign "" -negative_sign "<U002D>" -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 1af10ed847..ae775d4ca3 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 |