This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v3] Removed redundant data for LC_MONETARY
- From: Akhilesh Kumar <akhilesh dot k at samsung dot com>
- To: libc-alpha at sourceware dot org
- Cc: Akhilesh Kumar <akhilesh dot k at samsung dot com>
- Date: Wed, 9 Aug 2017 18:27:14 +0530
- Subject: [PATCH v3] Removed redundant data for LC_MONETARY
- Authentication-results: sourceware.org; auth=none
- Cms-type: 105P
- Dlp-filter: Pass
- References: <CGME20170809130144epcas5p390741db9c51a1b094f92e6cae528b888@epcas5p3.samsung.com>
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"
---
localedata/locales/ar_IN | 22 +---------------------
localedata/locales/as_IN | 22 +---------------------
localedata/locales/bhb_IN | 2 +-
localedata/locales/bn_IN | 22 +---------------------
localedata/locales/en_IN | 22 +---------------------
localedata/locales/gu_IN | 21 +--------------------
localedata/locales/hi_IN | 16 +++++++++-------
localedata/locales/kn_IN | 16 +---------------
localedata/locales/kok_IN | 22 +---------------------
localedata/locales/ks_IN | 24 +-----------------------
localedata/locales/ml_IN | 25 ++-----------------------
localedata/locales/mr_IN | 22 +---------------------
localedata/locales/or_IN | 22 +---------------------
localedata/locales/pa_IN | 18 +-----------------
localedata/locales/sa_IN | 21 +--------------------
localedata/locales/sd_IN | 22 +---------------------
localedata/locales/ta_IN | 22 +---------------------
localedata/locales/tcy_IN | 2 +-
localedata/locales/te_IN | 22 +---------------------
localedata/locales/ur_IN | 2 +-
20 files changed, 29 insertions(+), 338 deletions(-)
diff --git a/localedata/locales/ar_IN b/localedata/locales/ar_IN
index 791e63c..0f313c9 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 b7c905a..c2ee88c 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 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
diff --git a/localedata/locales/bn_IN b/localedata/locales/bn_IN
index f81e1de..f14e1b9 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 933a41c..7a4a27e 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 30577e1..b883b35 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 05b8918..1841201 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 2,3
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 3f89da0..9b2f521 100644
--- a/localedata/locales/kn_IN
+++ b/localedata/locales/kn_IN
@@ -78,21 +78,7 @@ 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>"
-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 3353a60..a366570 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 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
diff --git a/localedata/locales/ml_IN b/localedata/locales/ml_IN
index 0117a2d..b175d32 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 3137857..04b1b4d 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 6a7fe3c..2d9a3b3 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 831c66b..b371ae4 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 c0ccdec..7ca0317 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 bc9d681..f0c653e 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 3cda08a..5963a26 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 9f021c5..01d66ff 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 50335b0..c9cccaf 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 1af10ed..ae775d4 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
--
1.7.1