Place monetary symbol in el_GR and el_CY after the amount
authorMike FABIAN <mfabian@redhat.com>
Tue, 17 Oct 2017 12:54:53 +0000 (14:54 +0200)
committerMike FABIAN <mfabian@redhat.com>
Tue, 17 Oct 2017 13:29:50 +0000 (15:29 +0200)
CLDR uses this pattern as well.

[BZ #22019]
* localedata/locales/el_GR: Set n_cs_precedes to 0.
* localedata/locales/el_CY: copy "el_GR" because it is identical.
* stdlib/tst-strfmon_l.c: adapt test case.

ChangeLog
localedata/locales/el_CY
localedata/locales/el_GR
stdlib/tst-strfmon_l.c

index bcd43a9..0a51afd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-10-17  Mike FABIAN  <mfabian@redhat.com>
+
+       [BZ #22019]
+       * localedata/locales/el_GR: Set n_cs_precedes to 0.
+       * localedata/locales/el_CY: copy "el_GR" because it is identical.
+       * stdlib/tst-strfmon_l.c: adapt test case.
+
 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/generic/float128-abi.h: New file.
index 7bb5a3e..492cd90 100644 (file)
@@ -51,21 +51,7 @@ copy "el_GR"
 END LC_MESSAGES
 
 LC_MONETARY
-int_curr_symbol       "<U0045><U0055><U0052><U0020>"
-currency_symbol       "<U20AC>"
-mon_decimal_point     "<U002C>"
-mon_thousands_sep     "<U002E>"
-mon_grouping          3
-positive_sign         ""
-negative_sign         "<U002D>"
-int_frac_digits       2
-frac_digits           2
-p_cs_precedes         0
-p_sep_by_space        0
-n_cs_precedes         1
-n_sep_by_space        0
-p_sign_posn           1
-n_sign_posn           1
+copy "el_GR"
 END LC_MONETARY
 
 LC_NUMERIC
index bdeb840..920a4a7 100644 (file)
@@ -80,7 +80,7 @@ int_frac_digits       2
 frac_digits           2
 p_cs_precedes         0
 p_sep_by_space        0
-n_cs_precedes         1
+n_cs_precedes         0
 n_sep_by_space        0
 p_sign_posn           1
 n_sign_posn           1
index dff186f..1d8c842 100644 (file)
@@ -193,8 +193,8 @@ static const struct locale_pair tests[] =
           "1234567,89EUR", "1234567,89\u20ac"
         },
         {
-          "-EUR1.234.567,89", "-\u20ac1.234.567,89",
-          "-EUR1234567,89", "-\u20ac1234567,89",
+          "-1.234.567,89EUR", "-1.234.567,89\u20ac",
+          "-1234567,89EUR", "-1234567,89\u20ac",
         }
       }
     },