]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove redundant data for LC_MONETARY for Indian locales
authorAkhilesh Kumar <akhilesh.k@samsung.com>
Wed, 9 Aug 2017 12:57:14 +0000 (18:27 +0530)
committerMike FABIAN <mfabian@redhat.com>
Thu, 10 Aug 2017 11:00:31 +0000 (13:00 +0200)
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"

21 files changed:
localedata/ChangeLog
localedata/locales/ar_IN
localedata/locales/as_IN
localedata/locales/bhb_IN
localedata/locales/bn_IN
localedata/locales/en_IN
localedata/locales/gu_IN
localedata/locales/hi_IN
localedata/locales/kn_IN
localedata/locales/kok_IN
localedata/locales/ks_IN
localedata/locales/ml_IN
localedata/locales/mr_IN
localedata/locales/or_IN
localedata/locales/pa_IN
localedata/locales/sa_IN
localedata/locales/sd_IN
localedata/locales/ta_IN
localedata/locales/tcy_IN
localedata/locales/te_IN
localedata/locales/ur_IN

index ba7fb2b00193ad06c1cf09678403876f3825aead..af08af9a175c1e003bd2e2f7d988a6c4ba406022 100644 (file)
@@ -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]
index 791e63c519e27d00bc599103100d246c1fd4d5b4..0f313c90bd33e4d66b85fe746d78e507ae50a606 100644 (file)
@@ -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
 
 
index b7c905a9962275db4f35ec097d331bd216118e14..c2ee88c36b9fce5ceedb8aedf572716c5fe2d559 100644 (file)
@@ -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
 
 %%%%%%%%%%%%%
index 49b1cbe2a4704ce38f559353dadaf9ee1baa692a..4ecac8c83a923641a6b3aa0c7886d2e5e1620133 100644 (file)
@@ -47,7 +47,7 @@ copy "iso14651_t1"
 END LC_COLLATE
 
 LC_MONETARY
-copy "ks_IN"
+copy "hi_IN"
 END LC_MONETARY
 
 
index f81e1de2235ff1274b554dfa51ad40fa792fea1d..f14e1b932a026976f6706ba08356762ca8e483d2 100644 (file)
@@ -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
 
 
index 933a41ccd093d98b095ffb4babaa3b248efa89db..7a4a27e752ae92e93381e79e73b3ed0ac83f6644 100644 (file)
@@ -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
 
 
index 30577e130b6fe6c36cccbba1aafd5dd24f5dbf20..b883b35297d31768fda6cbbfe63ba3ae849c391e 100644 (file)
@@ -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
 
 
index 05b89187079008a03fab830a77e71ab070957d97..b0ac9aa2843c790f7fa42ad003d06537ce3b27a9 100644 (file)
@@ -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
 %
index 3f89da0043567b34f5732e978c092284c5f26c92..fc067b8054e222656a90d7f1288bf3d3e736a1e9 100644 (file)
@@ -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
 
 
index 3353a6039a51e64eab2395bef3322c89f01a93c2..a3665705a566367346908d0583bc843a86b6ffbb 100644 (file)
@@ -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
 
 
index 094f2cd29de15f7265e86878f9c9ce2f11c1a1fb..de66d4578a930cce280424f1f0fa798ed66f239e 100644 (file)
@@ -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
 
 
index 0117a2db8cf6144e2fba3c5c82f1eb9502ddc715..b175d32ff853c65f6605392b32e4ac382572bf19 100644 (file)
@@ -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
index 31378574a55644a13d4a0067b5d946e7776077f7..04b1b4dec5c9acbb50916010a1796c290a5f10ca 100644 (file)
@@ -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
 
 
index 6a7fe3cadfa721dbddf9a2180b3f42dccb8f736f..2d9a3b3e205e2766dd2a773c2378c09e82514116 100644 (file)
@@ -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
 
 %%%%%%%%%%%%%
index 831c66bb4a5e19ea1029e086b09d0c7d72c27b2f..b371ae4e7decfdb5fc9eb8c4bfebed56465575b7 100644 (file)
@@ -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
 
 
index c0ccdecb1b020f4ff6772ece836901f1e4766974..7ca03179890998ac000f5df74df76a7f6f279c9b 100644 (file)
@@ -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
 
 
index bc9d681d76452b858b94f2eab5012a350d46f140..f0c653e916d7a89a048a5aae6b6f1a1f1c17234b 100644 (file)
@@ -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
 
 
index 3cda08a06e937aecc6c3dbb0b1bd85a7e26c1881..5963a264b7b5a9d5f4e0ded1d16a06b991c54f3e 100644 (file)
@@ -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
 
 
index 9f021c507c0977e8d21d8885d70ebcd9c568137c..01d66fff10a37646fbf0d0bbae1009b1796260bc 100644 (file)
@@ -52,7 +52,7 @@ copy "iso14651_t1"
 END LC_COLLATE
 
 LC_MONETARY
-copy "kn_IN"
+copy "hi_IN"
 END LC_MONETARY
 
 
index 50335b0b1f20e565af1b7a21d4828f347cca8107..c9cccafde683a9650d92827bdc8ac306169bdff5 100644 (file)
@@ -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
 
 
index 1af10ed847ae482d39802a6b538d5a09069a4ce3..ae775d4ca34ab0e0a8c1df962138efeac33acfc0 100644 (file)
@@ -58,7 +58,7 @@ END LC_COLLATE
 
 
 LC_MONETARY
-copy "ar_IN"
+copy "hi_IN"
 END LC_MONETARY