diff options
author | Mike FABIAN <mfabian@redhat.com> | 2017-10-17 14:54:53 +0200 |
---|---|---|
committer | Mike FABIAN <mfabian@redhat.com> | 2017-10-17 15:29:50 +0200 |
commit | 56a752ab6aa89088a787d852358cdd8f0a0d57f1 (patch) | |
tree | ec851360a90569324a63cb5b51b3dd176f7f230c | |
parent | c38a4bfd596db2be2b9c1f96715bdc833eab760a (diff) | |
download | glibc-56a752ab6aa89088a787d852358cdd8f0a0d57f1.tar.gz |
Place monetary symbol in el_GR and el_CY after the amount
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | localedata/locales/el_CY | 16 | ||||
-rw-r--r-- | localedata/locales/el_GR | 2 | ||||
-rw-r--r-- | stdlib/tst-strfmon_l.c | 4 |
4 files changed, 11 insertions, 18 deletions
@@ -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. diff --git a/localedata/locales/el_CY b/localedata/locales/el_CY index 7bb5a3eaf8..492cd90bf2 100644 --- a/localedata/locales/el_CY +++ b/localedata/locales/el_CY @@ -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 diff --git a/localedata/locales/el_GR b/localedata/locales/el_GR index bdeb84009f..920a4a7da6 100644 --- a/localedata/locales/el_GR +++ b/localedata/locales/el_GR @@ -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 diff --git a/stdlib/tst-strfmon_l.c b/stdlib/tst-strfmon_l.c index dff186f97a..1d8c842925 100644 --- a/stdlib/tst-strfmon_l.c +++ b/stdlib/tst-strfmon_l.c @@ -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", } } }, |