diff options
author | Stanislav Brabec <sbrabec@suse.cz> | 2016-11-02 16:52:58 +0100 |
---|---|---|
committer | Mike FABIAN <mfabian@redhat.com> | 2017-08-12 16:03:49 +0200 |
commit | 70a6707fa15e63591d991761be025e26e8d02bb6 (patch) | |
tree | b93a97b83c050a04930441808154e2f564b3d580 /localedata/locales/uk_UA | |
parent | 8b2c63e4e2ad1fd161f80004ed30624f2a37b57b (diff) | |
download | glibc-70a6707fa15e63591d991761be025e26e8d02bb6.tar glibc-70a6707fa15e63591d991761be025e26e8d02bb6.tar.gz glibc-70a6707fa15e63591d991761be025e26e8d02bb6.tar.bz2 glibc-70a6707fa15e63591d991761be025e26e8d02bb6.zip |
Locales: Use Unicode wise thousands separator
Many languages use small gap as thousands separator.
Thousands separator should not be a plain space, but a narrow space.
And additionally, it is not allowed to wrap line in the middle of the
number.
Locale data were created in a deep age of 8-bit encodings, so most of
them use space (incorrect: it allows wrapping the line in the middle
of the number), or NBSP (better, but typographically incorrect: space
between groups is too wide).
Now UNICODE is widely supported, so we should leave legacy characters
in favor of correct UNICODE character.
UNICODE has a dedicated character for this purpose:
NNBSP
U+202F NARROW NO-BREAK SPACE: a narrow form of a no-break space,
typically the width of a thin space or a mid space
The NNBSP exists since Unicode 3.0.
Use of NNBSP will prevent line wrapping in the midle of number and
improve readability of numbers.
[BZ #20756]
* locales/aa_DJ (LC_MONETARY): Replace space by NNBSP as thousands separator.
* locales/az_AZ (LC_MONETARY): Likewise.
* locales/be_BY (LC_MONETARY): Likewise.
* locales/be_BY@latin (LC_MONETARY): Likewise.
* locales/bg_BG (LC_MONETARY): Likewise.
* locales/bs_BA (LC_MONETARY): Likewise.
* locales/ce_RU (LC_MONETARY): Likewise.
* locales/crh_UA (LC_MONETARY): Likewise.
* locales/cs_CZ (LC_MONETARY): Likewise.
* locales/cs_CZ (LC_NUMERIC): Likewise.
* locales/cv_RU (LC_MONETARY): Likewise.
* locales/de_AT (LC_MONETARY): Likewise.
* locales/eo (LC_MONETARY): Likewise.
* locales/es_CR (LC_MONETARY): Likewise.
* locales/es_CR (LC_NUMERIC): Likewise.
* locales/es_CU (LC_MONETARY): Likewise.
* locales/et_EE (LC_MONETARY): Likewise.
* locales/et_EE (LC_NUMERIC): Likewise.
* locales/fi_FI (LC_MONETARY): Likewise.
* locales/fi_FI (LC_NUMERIC): Likewise.
* locales/fr_CA (LC_MONETARY): Likewise.
* locales/fr_FR (LC_MONETARY): Likewise.
* locales/fr_FR (LC_NUMERIC): Likewise.
* locales/fr_LU (LC_MONETARY): Likewise.
* locales/fr_LU (LC_NUMERIC): Likewise.
* locales/hr_HR (LC_MONETARY): Likewise.
* locales/ht_HT (LC_NUMERIC): Likewise.
* locales/kk_KZ (LC_MONETARY): Likewise.
* locales/kk_KZ (LC_NUMERIC): Likewise.
* locales/ky_KG (LC_MONETARY): Likewise.
* locales/ky_KG (LC_NUMERIC): Likewise.
* locales/lv_LV (LC_MONETARY): Likewise.
* locales/lv_LV (LC_NUMERIC): Likewise.
* locales/mg_MG (LC_MONETARY): Likewise.
* locales/mhr_RU (LC_MONETARY): Likewise.
* locales/mk_MK (LC_MONETARY): Likewise.
* locales/mk_MK (LC_NUMERIC): Likewise.
* locales/mn_MN (LC_MONETARY): Likewise.
* locales/nb_NO (LC_MONETARY): Likewise.
* locales/nb_NO (LC_NUMERIC): Likewise.
* locales/nl_AW (LC_MONETARY): Likewise.
* locales/nl_NL (LC_MONETARY): Likewise.
* locales/nn_NO (LC_MONETARY): Likewise.
* locales/os_RU (LC_MONETARY): Likewise.
* locales/pap_AW (LC_MONETARY): Likewise.
* locales/pap_CW (LC_MONETARY): Likewise.
* locales/ru_RU (LC_MONETARY): Likewise.
* locales/ru_RU (LC_NUMERIC): Likewise.
* locales/ru_UA (LC_MONETARY): Likewise.
* locales/sk_SK (LC_MONETARY): Likewise.
* locales/sk_SK (LC_NUMERIC): Likewise.
* locales/sl_SI (LC_MONETARY): Likewise.
* locales/sl_SI (LC_NUMERIC): Likewise.
* locales/sq_MK (LC_MONETARY): Likewise.
* locales/sv_SE (LC_MONETARY): Likewise.
* locales/sv_SE (LC_NUMERIC): Likewise.
* locales/tg_TJ (LC_MONETARY): Likewise.
* locales/tt_RU (LC_MONETARY): Likewise.
* locales/tt_RU@iqtelif (LC_MONETARY): Likewise.
* locales/uk_UA (LC_MONETARY): Likewise.
* locales/uk_UA (LC_NUMERIC): Likewise.
* locales/unm_US (LC_MONETARY): Likewise.
* locales/unm_US (LC_NUMERIC): Likewise.
* locales/wo_SN (LC_MONETARY): Likewise.
Diffstat (limited to 'localedata/locales/uk_UA')
-rw-r--r-- | localedata/locales/uk_UA | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/locales/uk_UA b/localedata/locales/uk_UA index f430495ce7..52f57a3abb 100644 --- a/localedata/locales/uk_UA +++ b/localedata/locales/uk_UA @@ -630,7 +630,7 @@ mon_decimal_point "<U002C>" % This string is used as a thousands separator when formatting monetary % quantities. % see LC_NUMERIC:thousands separator -mon_thousands_sep "<U00A0>" % <NBSP> (0xA0) +mon_thousands_sep "<U202F>" % <NNBSP> (0X202F) % Define the size of each group of digits in formatted monetary % quantities. The operand is a sequence of integers separated by @@ -760,7 +760,7 @@ decimal_point "<U002C>" % see LC_MONETARY:mon_decimal_pint % The string that will be used as a group separator when formatting % numeric quantities. % see LC_MONETARY:mon_thousands_sep -thousands_sep "<U00A0>" % <NBSP> (0xA0) +thousands_sep "<U202F>" % <NNBSP> (0X202F) % A string that describes the formatting of numeric quantities. % |