Commit Graph

1668 Commits

Author SHA1 Message Date
Alexandre Oliva
8da25eec0a Collation fix: make forward accent sorting the default [BZ #17750]
[BZ #17750]
	* Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
	* localedata/fr_CA.UTF-8.in: New file with test data for backward
	accents sorting.
	* localedata/fr_FR.UTF-8.in: Fix test data for forward accents
	sorting.
	* localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
	* localedata/locales/de_DE (LC_COLLATE): Likewise.
	* localedata/locales/hu_HU (LC_COLLATE): Likewise.
	* localedata/locales/lb_LU (LC_COLLATE): Likewise.
	* localedata/locales/yuw_PG (LC_COLLATE): Likewise.
	* localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
	* localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
	instead of “ifdef DIACRIT_BACKWARD”.

The only locale which currently needs backward accents sorting is fr_CA.
Therefore, forward accents sorting should be the default.

Before this patch, backwards accent sorting was the default and all
locales except fr_CA had to use

    define DIACRIT_FORWARD

before

    copy "iso14651_t1"

Most locales didn’t do that and thus got the inappropriate backwards accents sorting
by accident. Now only the fr_CA locale needs to use

    define DIACRIT_BACKWARD

before

    copy "iso14651_t1"

Original patch slightly modified by: Mike FABIAN <mfabian@redhat.com>
2017-11-29 11:56:46 +01:00
Siddhesh Poyarekar
8d7d3ba8c5 localedata: Remove duplicate cs_CZ from LOCALES
The LOCALES variable in the localedata had two instances of cs_CZ
which generated the following warning:

../gen-locales.mk:11: target '/opt/build/localedata/cs_CZ.UTF-8/LC_CTYPE' given more than once in the same rule

Dropped the duplicate entry.
2017-11-28 20:04:31 +05:30
Mike FABIAN
f9bb1ef233 cs_CZ locale: Base collation on iso14651_t1 [BZ #22336]
[BZ #22336]
	* localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
	and implement the collation rules for cs from CLDR on top of that.
	* Makefile: Add cs_CZ.UTF-8 to test-input and to the list
	of locales to be built for testing.
	* cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2017-11-28 09:58:36 +01:00
Mike FABIAN
3ffc4cc1ad pl_PL locale: Base collation on iso14651_t1
[BZ #22469]
	* localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
	and implement the collation rules for pl from CLDR on top of that.
	* Makefile: Add pl_PL.UTF-8 to test-input and to the list
	of locales to be built for testing.
	* pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
2017-11-24 10:07:05 +05:30
Joseph Myers
0a9d1d62b3 Fix typo in variable name in gen-locale.sh.
* localedata/gen-locale.sh: Fix typo in variable name.
2017-11-22 23:42:40 +00:00
Mike FABIAN
4b7af5fca7 lv_LV locale: fix collation [BZ #15537]
[BZ #15537]
	* localedata/locales/lv_LV (LC_COLLATE): Fix collation by
	using “copy "iso14651_t1"” and then implementing the
	collation rules for lv from CLDR on top of that.
	* Makefile: Add lv_LV.UTF-8 to test-input and to the list
	of locales to be built for testing.
	* lv_LV.UTF-8.in: New file with test data to test the Latvian
	sorting.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2017-11-22 10:31:47 +05:30
Siddhesh Poyarekar
a306c790a8 Prefer https for Sourceware links
Update all sourceware links to https.  The website redirects
everything to https anyway so let the web server do a bit less work.
The only reference that remains unchanged is the one in the old
ChangeLog, since it didn't seem worth changing it.

	* NEWS: Update sourceware link to https.
	* configure.ac: Likewise.
	* crypt/md5test-giant.c: Likewise.
	* dlfcn/bug-atexit1.c: Likewise.
	* dlfcn/bug-atexit2.c: Likewise.
	* localedata/README: Likewise.
	* malloc/tst-mallocfork.c: Likewise.
	* manual/install.texi: Likewise.
	* nptl/tst-pthread-getattr.c: Likewise.
	* stdio-common/tst-fgets.c: Likewise.
	* stdio-common/tst-fwrite.c: Likewise.
	* sunrpc/Makefile: Likewise.
	* sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
	* wcsmbs/tst-mbrtowc2.c: Likewise.
	* configure: Regenerate.
	* INSTALL: Regenerate.
2017-11-16 11:49:26 +05:30
Mike FABIAN
58c9f659ee ka_GE locale: Add “X” back to yesexpr.
* localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
	was accidentally lost.
2017-11-15 13:23:13 +01:00
Mike FABIAN
0fa87c01ab az_IR locale: Add standard copyright header
* localedata/locales/az_IR: Add standard copyright header.
2017-11-15 13:23:13 +01:00
Claude Paroz
a259f5d388 Replaced unicode sequences in the ASCII printable range
[BZ #22387]
	* localedata/locales/aa_DJ: Improved readibility by replacing
	<Uxxxx> sequences in the ASCII printable range by their ASCII
	character equivalents.
	* localedata/locales/aa_ER: Likewise.
	* localedata/locales/aa_ER@saaho: Likewise.
	* localedata/locales/aa_ET: Likewise.
	* localedata/locales/af_ZA: Likewise.
	* localedata/locales/agr_PE: Likewise.
	* localedata/locales/ak_GH: Likewise.
	* localedata/locales/am_ET: Likewise.
	* localedata/locales/anp_IN: Likewise.
	* localedata/locales/ar_AE: Likewise.
	* localedata/locales/ar_BH: Likewise.
	* localedata/locales/ar_DZ: Likewise.
	* localedata/locales/ar_EG: Likewise.
	* localedata/locales/ar_IN: Likewise.
	* localedata/locales/ar_IQ: Likewise.
	* localedata/locales/ar_JO: Likewise.
	* localedata/locales/ar_KW: Likewise.
	* localedata/locales/ar_LB: Likewise.
	* localedata/locales/ar_LY: Likewise.
	* localedata/locales/ar_MA: Likewise.
	* localedata/locales/ar_OM: Likewise.
	* localedata/locales/ar_QA: Likewise.
	* localedata/locales/ar_SA: Likewise.
	* localedata/locales/ar_SD: Likewise.
	* localedata/locales/ar_SS: Likewise.
	* localedata/locales/ar_SY: Likewise.
	* localedata/locales/ar_TN: Likewise.
	* localedata/locales/ar_YE: Likewise.
	* localedata/locales/as_IN: Likewise.
	* localedata/locales/ast_ES: Likewise.
	* localedata/locales/ayc_PE: Likewise.
	* localedata/locales/az_AZ: Likewise.
	* localedata/locales/az_IR: Likewise.
	* localedata/locales/be_BY: Likewise.
	* localedata/locales/be_BY@latin: Likewise.
	* localedata/locales/bem_ZM: Likewise.
	* localedata/locales/ber_DZ: Likewise.
	* localedata/locales/ber_MA: Likewise.
	* localedata/locales/bg_BG: Likewise.
	* localedata/locales/bhb_IN: Likewise.
	* localedata/locales/bho_IN: Likewise.
	* localedata/locales/bi_VU: Likewise.
	* localedata/locales/bn_BD: Likewise.
	* localedata/locales/bn_IN: Likewise.
	* localedata/locales/bo_CN: Likewise.
	* localedata/locales/bo_IN: Likewise.
	* localedata/locales/br_FR: Likewise.
	* localedata/locales/brx_IN: Likewise.
	* localedata/locales/bs_BA: Likewise.
	* localedata/locales/byn_ER: Likewise.
	* localedata/locales/ca_AD: Likewise.
	* localedata/locales/ca_ES: Likewise.
	* localedata/locales/ca_FR: Likewise.
	* localedata/locales/ca_IT: Likewise.
	* localedata/locales/ce_RU: Likewise.
	* localedata/locales/chr_US: Likewise.
	* localedata/locales/cmn_TW: Likewise.
	* localedata/locales/crh_UA: Likewise.
	* localedata/locales/cs_CZ: Likewise.
	* localedata/locales/csb_PL: Likewise.
	* localedata/locales/cv_RU: Likewise.
	* localedata/locales/cy_GB: Likewise.
	* localedata/locales/da_DK: Likewise.
	* localedata/locales/de_AT: Likewise.
	* localedata/locales/de_BE: Likewise.
	* localedata/locales/de_CH: Likewise.
	* localedata/locales/de_DE: Likewise.
	* localedata/locales/de_IT: Likewise.
	* localedata/locales/de_LI: Likewise.
	* localedata/locales/de_LU: Likewise.
	* localedata/locales/doi_IN: Likewise.
	* localedata/locales/dv_MV: Likewise.
	* localedata/locales/dz_BT: Likewise.
	* localedata/locales/el_CY: Likewise.
	* localedata/locales/el_GR: Likewise.
	* localedata/locales/en_AG: Likewise.
	* localedata/locales/en_AU: Likewise.
	* localedata/locales/en_BW: Likewise.
	* localedata/locales/en_CA: Likewise.
	* localedata/locales/en_DK: Likewise.
	* localedata/locales/en_GB: Likewise.
	* localedata/locales/en_HK: Likewise.
	* localedata/locales/en_IE: Likewise.
	* localedata/locales/en_IL: Likewise.
	* localedata/locales/en_IN: Likewise.
	* localedata/locales/en_NG: Likewise.
	* localedata/locales/en_NZ: Likewise.
	* localedata/locales/en_PH: Likewise.
	* localedata/locales/en_SG: Likewise.
	* localedata/locales/en_US: Likewise.
	* localedata/locales/en_ZA: Likewise.
	* localedata/locales/en_ZM: Likewise.
	* localedata/locales/en_ZW: Likewise.
	* localedata/locales/eo: Likewise.
	* localedata/locales/es_AR: Likewise.
	* localedata/locales/es_BO: Likewise.
	* localedata/locales/es_CL: Likewise.
	* localedata/locales/es_CO: Likewise.
	* localedata/locales/es_CR: Likewise.
	* localedata/locales/es_CU: Likewise.
	* localedata/locales/es_DO: Likewise.
	* localedata/locales/es_EC: Likewise.
	* localedata/locales/es_ES: Likewise.
	* localedata/locales/es_GT: Likewise.
	* localedata/locales/es_HN: Likewise.
	* localedata/locales/es_MX: Likewise.
	* localedata/locales/es_NI: Likewise.
	* localedata/locales/es_PA: Likewise.
	* localedata/locales/es_PE: Likewise.
	* localedata/locales/es_PR: Likewise.
	* localedata/locales/es_PY: Likewise.
	* localedata/locales/es_SV: Likewise.
	* localedata/locales/es_US: Likewise.
	* localedata/locales/es_UY: Likewise.
	* localedata/locales/es_VE: Likewise.
	* localedata/locales/et_EE: Likewise.
	* localedata/locales/eu_ES: Likewise.
	* localedata/locales/eu_ES@euro: Likewise.
	* localedata/locales/fa_IR: Likewise.
	* localedata/locales/ff_SN: Likewise.
	* localedata/locales/fi_FI: Likewise.
	* localedata/locales/fil_PH: Likewise.
	* localedata/locales/fo_FO: Likewise.
	* localedata/locales/fr_BE: Likewise.
	* localedata/locales/fr_CA: Likewise.
	* localedata/locales/fr_CH: Likewise.
	* localedata/locales/fr_FR: Likewise.
	* localedata/locales/fr_LU: Likewise.
	* localedata/locales/fur_IT: Likewise.
	* localedata/locales/fy_DE: Likewise.
	* localedata/locales/fy_NL: Likewise.
	* localedata/locales/ga_IE: Likewise.
	* localedata/locales/gd_GB: Likewise.
	* localedata/locales/gez_ER: Likewise.
	* localedata/locales/gez_ET: Likewise.
	* localedata/locales/gl_ES: Likewise.
	* localedata/locales/gu_IN: Likewise.
	* localedata/locales/gv_GB: Likewise.
	* localedata/locales/ha_NG: Likewise.
	* localedata/locales/hak_TW: Likewise.
	* localedata/locales/he_IL: Likewise.
	* localedata/locales/hi_IN: Likewise.
	* localedata/locales/hif_FJ: Likewise.
	* localedata/locales/hne_IN: Likewise.
	* localedata/locales/hr_HR: Likewise.
	* localedata/locales/hsb_DE: Likewise.
	* localedata/locales/ht_HT: Likewise.
	* localedata/locales/hu_HU: Likewise.
	* localedata/locales/hy_AM: Likewise.
	* localedata/locales/i18n: Likewise.
	* localedata/locales/ia_FR: Likewise.
	* localedata/locales/id_ID: Likewise.
	* localedata/locales/ig_NG: Likewise.
	* localedata/locales/ik_CA: Likewise.
	* localedata/locales/is_IS: Likewise.
	* localedata/locales/it_CH: Likewise.
	* localedata/locales/it_IT: Likewise.
	* localedata/locales/iu_CA: Likewise.
	* localedata/locales/ja_JP: Likewise.
	* localedata/locales/ka_GE: Likewise.
	* localedata/locales/kk_KZ: Likewise.
	* localedata/locales/kl_GL: Likewise.
	* localedata/locales/kn_IN: Likewise.
	* localedata/locales/ko_KR: Likewise.
	* localedata/locales/kok_IN: Likewise.
	* localedata/locales/ks_IN: Likewise.
	* localedata/locales/ks_IN@devanagari: Likewise.
	* localedata/locales/ku_TR: Likewise.
	* localedata/locales/kw_GB: Likewise.
	* localedata/locales/ky_KG: Likewise.
	* localedata/locales/lb_LU: Likewise.
	* localedata/locales/lg_UG: Likewise.
	* localedata/locales/li_BE: Likewise.
	* localedata/locales/li_NL: Likewise.
	* localedata/locales/lij_IT: Likewise.
	* localedata/locales/ln_CD: Likewise.
	* localedata/locales/lo_LA: Likewise.
	* localedata/locales/lt_LT: Likewise.
	* localedata/locales/lv_LV: Likewise.
	* localedata/locales/lzh_TW: Likewise.
	* localedata/locales/mag_IN: Likewise.
	* localedata/locales/mai_IN: Likewise.
	* localedata/locales/mg_MG: Likewise.
	* localedata/locales/mhr_RU: Likewise.
	* localedata/locales/mi_NZ: Likewise.
	* localedata/locales/mk_MK: Likewise.
	* localedata/locales/ml_IN: Likewise.
	* localedata/locales/mn_MN: Likewise.
	* localedata/locales/mni_IN: Likewise.
	* localedata/locales/mr_IN: Likewise.
	* localedata/locales/ms_MY: Likewise.
	* localedata/locales/mt_MT: Likewise.
	* localedata/locales/my_MM: Likewise.
	* localedata/locales/nan_TW: Likewise.
	* localedata/locales/nan_TW@latin: Likewise.
	* localedata/locales/nb_NO: Likewise.
	* localedata/locales/nds_DE: Likewise.
	* localedata/locales/nds_NL: Likewise.
	* localedata/locales/ne_NP: Likewise.
	* localedata/locales/nhn_MX: Likewise.
	* localedata/locales/niu_NU: Likewise.
	* localedata/locales/niu_NZ: Likewise.
	* localedata/locales/nl_AW: Likewise.
	* localedata/locales/nl_BE: Likewise.
	* localedata/locales/nl_NL: Likewise.
	* localedata/locales/nn_NO: Likewise.
	* localedata/locales/nr_ZA: Likewise.
	* localedata/locales/nso_ZA: Likewise.
	* localedata/locales/oc_FR: Likewise.
	* localedata/locales/om_ET: Likewise.
	* localedata/locales/om_KE: Likewise.
	* localedata/locales/or_IN: Likewise.
	* localedata/locales/os_RU: Likewise.
	* localedata/locales/pa_IN: Likewise.
	* localedata/locales/pa_PK: Likewise.
	* localedata/locales/pap_AW: Likewise.
	* localedata/locales/pap_CW: Likewise.
	* localedata/locales/pl_PL: Likewise.
	* localedata/locales/ps_AF: Likewise.
	* localedata/locales/pt_BR: Likewise.
	* localedata/locales/pt_PT: Likewise.
	* localedata/locales/quz_PE: Likewise.
	* localedata/locales/raj_IN: Likewise.
	* localedata/locales/ro_RO: Likewise.
	* localedata/locales/ru_RU: Likewise.
	* localedata/locales/ru_UA: Likewise.
	* localedata/locales/rw_RW: Likewise.
	* localedata/locales/sa_IN: Likewise.
	* localedata/locales/sat_IN: Likewise.
	* localedata/locales/sc_IT: Likewise.
	* localedata/locales/sd_IN: Likewise.
	* localedata/locales/sd_IN@devanagari: Likewise.
	* localedata/locales/se_NO: Likewise.
	* localedata/locales/sgs_LT: Likewise.
	* localedata/locales/shs_CA: Likewise.
	* localedata/locales/si_LK: Likewise.
	* localedata/locales/sid_ET: Likewise.
	* localedata/locales/sk_SK: Likewise.
	* localedata/locales/sl_SI: Likewise.
	* localedata/locales/sm_WS: Likewise.
	* localedata/locales/so_DJ: Likewise.
	* localedata/locales/so_ET: Likewise.
	* localedata/locales/so_KE: Likewise.
	* localedata/locales/so_SO: Likewise.
	* localedata/locales/sq_AL: Likewise.
	* localedata/locales/sq_MK: Likewise.
	* localedata/locales/sr_ME: Likewise.
	* localedata/locales/sr_RS: Likewise.
	* localedata/locales/sr_RS@latin: Likewise.
	* localedata/locales/ss_ZA: Likewise.
	* localedata/locales/st_ZA: Likewise.
	* localedata/locales/sv_FI: Likewise.
	* localedata/locales/sv_SE: Likewise.
	* localedata/locales/sw_KE: Likewise.
	* localedata/locales/sw_TZ: Likewise.
	* localedata/locales/szl_PL: Likewise.
	* localedata/locales/ta_IN: Likewise.
	* localedata/locales/ta_LK: Likewise.
	* localedata/locales/tcy_IN: Likewise.
	* localedata/locales/te_IN: Likewise.
	* localedata/locales/tg_TJ: Likewise.
	* localedata/locales/th_TH: Likewise.
	* localedata/locales/the_NP: Likewise.
	* localedata/locales/ti_ER: Likewise.
	* localedata/locales/ti_ET: Likewise.
	* localedata/locales/tig_ER: Likewise.
	* localedata/locales/tk_TM: Likewise.
	* localedata/locales/tl_PH: Likewise.
	* localedata/locales/tn_ZA: Likewise.
	* localedata/locales/to_TO: Likewise.
	* localedata/locales/tpi_PG: Likewise.
	* localedata/locales/tr_CY: Likewise.
	* localedata/locales/tr_TR: Likewise.
	* localedata/locales/ts_ZA: Likewise.
	* localedata/locales/tt_RU: Likewise.
	* localedata/locales/tt_RU@iqtelif: Likewise.
	* localedata/locales/ug_CN: Likewise.
	* localedata/locales/uk_UA: Likewise.
	* localedata/locales/unm_US: Likewise.
	* localedata/locales/ur_IN: Likewise.
	* localedata/locales/ur_PK: Likewise.
	* localedata/locales/uz_UZ: Likewise.
	* localedata/locales/uz_UZ@cyrillic: Likewise.
	* localedata/locales/ve_ZA: Likewise.
	* localedata/locales/vi_VN: Likewise.
	* localedata/locales/wa_BE: Likewise.
	* localedata/locales/wae_CH: Likewise.
	* localedata/locales/wal_ET: Likewise.
	* localedata/locales/wo_SN: Likewise.
	* localedata/locales/xh_ZA: Likewise.
	* localedata/locales/yi_US: Likewise.
	* localedata/locales/yo_NG: Likewise.
	* localedata/locales/yue_HK: Likewise.
	* localedata/locales/yuw_PG: Likewise.
	* localedata/locales/zh_CN: Likewise.
	* localedata/locales/zh_HK: Likewise.
	* localedata/locales/zh_SG: Likewise.
	* localedata/locales/zh_TW: Likewise.
	* localedata/locales/zu_ZA: Likewise.
2017-11-14 08:51:13 +01:00
Mike FABIAN
1bd0cbb8cf mfe_MU, miq_NI locales: Escape slashes in d_fmt [BZ #22403]
[BZ #22403]
	* localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
	to be escaped.
	* localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
	to be escaped.
2017-11-07 15:28:59 +01:00
Claude Paroz
d8301314bc an_ES, kab_DZ, om_ET locales: Escape slashes in d_fmt [BZ #22403]
[BZ #22403]
	* localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
	to be escaped.
	* localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
	to be escaped.
	* localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
	to be escaped.
2017-11-07 15:28:59 +01:00
Mike FABIAN
a1c7cd3c72 tpi_PG locale: Fix wrong d_fmt 2017-11-04 14:59:29 +01:00
Mike FABIAN
5baac970a8 tpi_PG locale: fix syntax error [BZ #22382]
[BZ #22382]
	* localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
	* localedata/locales/tpi_PG: Add standard header.
2017-11-02 17:38:14 +01:00
Rafal Luzynski
1bb3653925 localedata: Once again correct and regenerate i18n_ctype.
Following the previous work by Carlos O'Donell the category of LC_CTYPE
is correctly set to "i18n:2012" rather than "unicode:2014" and the
i18n_ctype file is once again regenerated from scratch to make sure it
does not contain any manual additions except the copyright message.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

	* localedata/unicode-gen/gen_unicode_ctype.py (output_head):
	category of LC_CTYPE set to "i18n:2012".
	* localedata/locales/i18n_ctype: Regenerate.
2017-10-31 23:54:47 +01:00
Mike FABIAN
fbcecc08c9 csb_PL locale: Fix “abmon” for March and use a better translation for March in “mon” [BZ #19485]
[BZ #19485]
	* localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
	and use a better translation for March in “mon”.
	* localedata/locales/csb_PL: Use more ASCII to improve the
	readability of the source.
2017-10-30 12:48:43 +01:00
Mike FABIAN
b110af8278 km_KH locale: remove tags which were using Lao characters [BZ #13953]
[BZ #13953]
	* localedata/locales/km_KH: Use ASCII as much
	as possible for better readability of the source and
	remove useless comments.
	* localedata/locales/km_KH (LC_TIME): Remove era stuff, it
	was commented out and apparently wrong anyway because it was
	using Lao characters. If Buddhist era should be used
	for km_KH, a native speaker should write the correct formaat
	for Khmer.
	* localedata/locales/km_KH (LC_TIME): Add first_weekday 1
	(According to CLDR, the first weekday for Cambodia is Sunday).
	* localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
	(These were using Lao characters which must be wrong. If we get
	the correct data from a native speaker, we could add it back, until
	then it is better not to have name_mr and name_mrs at all than
	having it wrong).
2017-10-30 11:46:05 +01:00
Mike FABIAN
a4cc02c741 tt_RU locale: make yesstr and nostr agree with CLDR by starting with lower case letters
* localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
	with lowercase letters to make it agree with CLDR.
2017-10-27 10:55:44 +02:00
Mike FABIAN
1e5971ec14 Fix all remaining issues of [BZ #15260]
[BZ #15260]
	* localedata/locales/doi_IN (LC_MESSAGES): Match only for the
	first letters of yesstr and nostr in yesexpr and noexpr,
	not for the full words.
	* localedata/locales/hne_IN (LC_MESSAGES): Likewise.
	* localedata/locales/kok_IN (LC_MESSAGES): Likewise.
	* localedata/locales/mr_IN (LC_MESSAGES): Likewise.
	* localedata/locales/sat_IN (LC_MESSAGES): Likewise.
	* localedata/locales/km_KH (LC_MESSAGES): Match also for the
	first letters of yesstr and nostr in yesexpr and noexpr,
	until now only English was matched in yesexpr and noexpr.
	* localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
	instead of “copy "en_US"”. CLDR has yesstr and nostr data for
	fil but not for tl. As tl and fil are very similar, using fil
	is probably better than using English.
2017-10-27 10:53:35 +02:00
Mike FABIAN
bc5fc7de21 br_FR locale: Use all lowercase in yesstr and nostr.
[BZ #21706]
	* localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
	in yesstr and nostr.
2017-10-27 09:39:08 +02:00
Thierry Vignaud
67ad7163bb add myself as contact for "br" locale
Pablo was l10n/i18n coordinator back in the old days but MandrakeSoft is
dead now

	* localedata/locales/br_FR (LC_IDENTIFICATON): Add
	Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
	for the br_FR locale.
2017-10-26 15:03:59 +02:00
Thierry Vignaud
408dff7ee5 fix nostr for "br" [BZ #21706]
"Ket" is the the most used negative answer, as it's the negative answer
to a positively phrased question
It's used as it or with the verb ("Ne ran ket", ...)
As such, "Ket" is used in most translations.
"Nann" is less used as it's the negative answer to a negatively phrased
question

See https://en.wikipedia.org/wiki/Yes_and_no for explanations about
languages with 3 or 4 form systems.

We still keep "Nn" for short answers as:
- new learners are used to "Non" in french
- and they often misuses "Nann"
- for compatibility with english

	[BZ #21706]
	* localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
2017-10-26 15:01:32 +02:00
Carlos O'Donell
02eec68167 localedef: Add --no-warnings/--warnings option
From localedef --help:

Output control:
...
      --no-warnings=<warnings>   Comma-separated list of warnings to disable;
                             supported warnings are: ascii, intcurrsym
...
      --warnings=<warnings>  Comma-separated list of warnings to enable;
                             supported warnings are: ascii, intcurrsym

Locales using SHIFT_JIS and SHIFT_JISX0213 character maps are not ASCII
compatible. In order to build locales using these character maps, and
have localedef exit with a status of 0, we add new option to localedef
to disable or enable specific warnings. The options are --no-warnings
and --warnings, to disable and enable specific warnings respectively.
The options take a comma-separated list of warning names. The warning
names are taken directly from the generated warning.  When a warning
that can be disabled is issued it will print something like this: foo is
not defined [--no-warnings=foo]

For the initial implementation we add two controllable warnings; first
'ascii' which is used by the localedata installation makefile target to
install SHIFT_JIS and SHIFT_JISX0213-using locales without error; second
'intcurrsym' which allows a program to use a non-standard international
currency symbol without triggering a warning.  The 'intcurrsym' is
useful in the future if country codes are added that are not in our
current ISO 4217 list, and the user wants to avoid the warning. Having
at least two warnings to control gives an example for how the changes
can be extended to more warnings if required in the future.

These changes allow ja_JP.SHIFT_JIS and ja_JP.SHIFT_JISX0213 to be
compiled without warnings using --no-warnings=ascii. The
localedata/Makefile $(INSTALL-SUPPORTED-LOCALES) target is adjusted to
automatically add `--no-warnings=ascii` for such charmaps, and likewise
localedata/gen-locale.sh is adjusted with similar logic.

v2: Bring verbose, be_quiet, and all warning control booleans into
record-status.c, and compile this object file to be used by locale,
iconv, and localedef. Any users include record-status.h.
v3: Fix an instance of boolean coercion in set_warning().

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2017-10-25 13:36:54 -07:00
Carlos O'Donell
56fa555a83 localedata: Locale and test name are the same.
The localedata collation test data is encoded in a particular
character set. We rename the test data to match the full locale
name with encoding, and adjust the Makefile and sort-test.sh
script. This allows us to have a future C.UTF-8 test that is
disambiguated from the built-in C locale.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2017-10-25 12:24:31 -07:00
Carlos O'Donell
337ff3c501 localedata: Fix unicode-gen check target.
After the transition to generating a distinct file for Unicode ctype
information e.g. i18n_ctype, the check target was left with the wrong
target name. This patch fixes the check target and regenerates the
files with more information than previously used, filling in the the
LC_IDENTIFICATION data.

Tested on x86_64 by regenerating from Unicode source files, and
running checks. Tested by subsequently rebuilding all locales.
No regressions in testsuite.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Reported-by: Rafal Luzynski <digitalfreak@lingonborough.com>
2017-10-25 09:17:46 -07:00
Mike FABIAN
9be7530cc0 CJK locales: Add fullwidth yYnN to yesexpr and noexpr [BZ #15261]
[BZ #15261]
	* localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
	yesexpr and noexpr.
	* localedata/locales/hak_TW (LC_MESSAGES): Likewise.
	* localedata/locales/ko_KR (LC_MESSAGES): Likewise.
	* localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
	* localedata/locales/nan_TW (LC_MESSAGES): Likewise.
	* localedata/locales/zh_CN (LC_MESSAGES): Likewise.
	* localedata/locales/zh_HK (LC_MESSAGES): Likewise.
	* localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2017-10-25 13:58:14 +02:00
Mike FABIAN
6ccbf6ff91 Sync LC_MESSAGES of several locales with CLDR
* localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
	* localedata/locales/az_AZ (LC_MESSAGES): Likewise.
	* localedata/locales/el_GR (LC_MESSAGES): Likewise.
	* localedata/locales/ha_NG (LC_MESSAGES): Likewise.
	* localedata/locales/ln_CD (LC_MESSAGES): Likewise.
	* localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
	* localedata/locales/ml_IN (LC_MESSAGES): Likewise.
	* localedata/locales/mt_MT (LC_MESSAGES): Likewise.
	* localedata/locales/os_RU (LC_MESSAGES): Likewise.
	* localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
	* localedata/locales/tt_RU (LC_MESSAGES): Likewise.
	* localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2017-10-25 13:58:14 +02:00
Mike FABIAN
58b1a7eaf9 Use ASCII as much as possible in LC_MESSAGES of all locales to improve readability of the source
* localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
	as possible for better readability of the source.
	* localedata/locales/af_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/ak_GH (LC_MESSAGES): Likewise.
	* localedata/locales/am_ET (LC_MESSAGES): Likewise.
	* localedata/locales/anp_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ar_EG (LC_MESSAGES): Likewise.
	* localedata/locales/as_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ast_ES (LC_MESSAGES): Likewise.
	* localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
	* localedata/locales/az_AZ (LC_MESSAGES): Likewise.
	* localedata/locales/az_IR (LC_MESSAGES): Likewise.
	* localedata/locales/be_BY (LC_MESSAGES): Likewise.
	* localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
	* localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
	* localedata/locales/ber_MA (LC_MESSAGES): Likewise.
	* localedata/locales/bg_BG (LC_MESSAGES): Likewise.
	* localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
	* localedata/locales/bi_VU (LC_MESSAGES): Likewise.
	* localedata/locales/bo_CN (LC_MESSAGES): Likewise.
	* localedata/locales/br_FR (LC_MESSAGES): Likewise.
	* localedata/locales/bs_BA (LC_MESSAGES): Likewise.
	* localedata/locales/ca_ES (LC_MESSAGES): Likewise.
	* localedata/locales/ce_RU (LC_MESSAGES): Likewise.
	* localedata/locales/crh_UA (LC_MESSAGES): Likewise.
	* localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
	* localedata/locales/csb_PL (LC_MESSAGES): Likewise.
	* localedata/locales/cv_RU (LC_MESSAGES): Likewise.
	* localedata/locales/cy_GB (LC_MESSAGES): Likewise.
	* localedata/locales/da_DK (LC_MESSAGES): Likewise.
	* localedata/locales/de_DE (LC_MESSAGES): Likewise.
	* localedata/locales/dv_MV (LC_MESSAGES): Likewise.
	* localedata/locales/dz_BT (LC_MESSAGES): Likewise.
	* localedata/locales/el_GR (LC_MESSAGES): Likewise.
	* localedata/locales/en_CA (LC_MESSAGES): Likewise.
	* localedata/locales/en_US (LC_MESSAGES): Likewise.
	* localedata/locales/es_ES (LC_MESSAGES): Likewise.
	* localedata/locales/et_EE (LC_MESSAGES): Likewise.
	* localedata/locales/eu_ES (LC_MESSAGES): Likewise.
	* localedata/locales/fa_IR (LC_MESSAGES): Likewise.
	* localedata/locales/ff_SN (LC_MESSAGES): Likewise.
	* localedata/locales/fi_FI (LC_MESSAGES): Likewise.
	* localedata/locales/fil_PH (LC_MESSAGES): Likewise.
	* localedata/locales/fo_FO (LC_MESSAGES): Likewise.
	* localedata/locales/fr_BE (LC_MESSAGES): Likewise.
	* localedata/locales/fr_CH (LC_MESSAGES): Likewise.
	* localedata/locales/fr_FR (LC_MESSAGES): Likewise.
	* localedata/locales/fr_LU (LC_MESSAGES): Likewise.
	* localedata/locales/fur_IT (LC_MESSAGES): Likewise.
	* localedata/locales/fy_DE (LC_MESSAGES): Likewise.
	* localedata/locales/ga_IE (LC_MESSAGES): Likewise.
	* localedata/locales/gd_GB (LC_MESSAGES): Likewise.
	* localedata/locales/gl_ES (LC_MESSAGES): Likewise.
	* localedata/locales/gu_IN (LC_MESSAGES): Likewise.
	* localedata/locales/gv_GB (LC_MESSAGES): Likewise.
	* localedata/locales/ha_NG (LC_MESSAGES): Likewise.
	* localedata/locales/hak_TW (LC_MESSAGES): Likewise.
	* localedata/locales/he_IL (LC_MESSAGES): Likewise.
	* localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
	* localedata/locales/hne_IN (LC_MESSAGES): Likewise.
	* localedata/locales/hr_HR (LC_MESSAGES): Likewise.
	* localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
	* localedata/locales/ht_HT (LC_MESSAGES): Likewise.
	* localedata/locales/hu_HU (LC_MESSAGES): Likewise.
	* localedata/locales/hy_AM (LC_MESSAGES): Likewise.
	* localedata/locales/ia_FR (LC_MESSAGES): Likewise.
	* localedata/locales/id_ID (LC_MESSAGES): Likewise.
	* localedata/locales/ig_NG (LC_MESSAGES): Likewise.
	* localedata/locales/ik_CA (LC_MESSAGES): Likewise.
	* localedata/locales/is_IS (LC_MESSAGES): Likewise.
	* localedata/locales/it_CH (LC_MESSAGES): Likewise.
	* localedata/locales/it_IT (LC_MESSAGES): Likewise.
	* localedata/locales/iu_CA (LC_MESSAGES): Likewise.
	* localedata/locales/ja_JP (LC_MESSAGES): Likewise.
	* localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
	* localedata/locales/kl_GL (LC_MESSAGES): Likewise.
	* localedata/locales/ko_KR (LC_MESSAGES): Likewise.
	* localedata/locales/ks_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ku_TR (LC_MESSAGES): Likewise.
	* localedata/locales/kw_GB (LC_MESSAGES): Likewise.
	* localedata/locales/ky_KG (LC_MESSAGES): Likewise.
	* localedata/locales/lb_LU (LC_MESSAGES): Likewise.
	* localedata/locales/lg_UG (LC_MESSAGES): Likewise.
	* localedata/locales/li_NL (LC_MESSAGES): Likewise.
	* localedata/locales/lij_IT (LC_MESSAGES): Likewise.
	* localedata/locales/ln_CD (LC_MESSAGES): Likewise.
	* localedata/locales/lo_LA (LC_MESSAGES): Likewise.
	* localedata/locales/lt_LT (LC_MESSAGES): Likewise.
	* localedata/locales/lv_LV (LC_MESSAGES): Likewise.
	* localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
	* localedata/locales/mg_MG (LC_MESSAGES): Likewise.
	* localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
	* localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
	* localedata/locales/mk_MK (LC_MESSAGES): Likewise.
	* localedata/locales/ml_IN (LC_MESSAGES): Likewise.
	* localedata/locales/mn_MN (LC_MESSAGES): Likewise.
	* localedata/locales/ms_MY (LC_MESSAGES): Likewise.
	* localedata/locales/mt_MT (LC_MESSAGES): Likewise.
	* localedata/locales/my_MM (LC_MESSAGES): Likewise.
	* localedata/locales/nan_TW (LC_MESSAGES): Likewise.
	* localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
	* localedata/locales/nb_NO (LC_MESSAGES): Likewise.
	* localedata/locales/nds_DE (LC_MESSAGES): Likewise.
	* localedata/locales/nds_NL (LC_MESSAGES): Likewise.
	* localedata/locales/ne_NP (LC_MESSAGES): Likewise.
	* localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
	* localedata/locales/niu_NU (LC_MESSAGES): Likewise.
	* localedata/locales/nl_NL (LC_MESSAGES): Likewise.
	* localedata/locales/nn_NO (LC_MESSAGES): Likewise.
	* localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/oc_FR (LC_MESSAGES): Likewise.
	* localedata/locales/om_ET (LC_MESSAGES): Likewise.
	* localedata/locales/or_IN (LC_MESSAGES): Likewise.
	* localedata/locales/os_RU (LC_MESSAGES): Likewise.
	* localedata/locales/pa_IN (LC_MESSAGES): Likewise.
	* localedata/locales/pa_PK (LC_MESSAGES): Likewise.
	* localedata/locales/pap_AW (LC_MESSAGES): Likewise.
	* localedata/locales/pap_CW (LC_MESSAGES): Likewise.
	* localedata/locales/pl_PL (LC_MESSAGES): Likewise.
	* localedata/locales/ps_AF (LC_MESSAGES): Likewise.
	* localedata/locales/pt_BR (LC_MESSAGES): Likewise.
	* localedata/locales/quz_PE (LC_MESSAGES): Likewise.
	* localedata/locales/raj_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ro_RO (LC_MESSAGES): Likewise.
	* localedata/locales/ru_RU (LC_MESSAGES): Likewise.
	* localedata/locales/ru_UA (LC_MESSAGES): Likewise.
	* localedata/locales/rw_RW (LC_MESSAGES): Likewise.
	* localedata/locales/sa_IN (LC_MESSAGES): Likewise.
	* localedata/locales/sc_IT (LC_MESSAGES): Likewise.
	* localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
	* localedata/locales/se_NO (LC_MESSAGES): Likewise.
	* localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
	* localedata/locales/si_LK (LC_MESSAGES): Likewise.
	* localedata/locales/sk_SK (LC_MESSAGES): Likewise.
	* localedata/locales/sl_SI (LC_MESSAGES): Likewise.
	* localedata/locales/sm_WS (LC_MESSAGES): Likewise.
	* localedata/locales/so_DJ (LC_MESSAGES): Likewise.
	* localedata/locales/sq_AL (LC_MESSAGES): Likewise.
	* localedata/locales/sr_RS (LC_MESSAGES): Likewise.
	* localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
	* localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/st_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/sv_SE (LC_MESSAGES): Likewise.
	* localedata/locales/sw_KE (LC_MESSAGES): Likewise.
	* localedata/locales/szl_PL (LC_MESSAGES): Likewise.
	* localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
	* localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
	* localedata/locales/th_TH (LC_MESSAGES): Likewise.
	* localedata/locales/the_NP (LC_MESSAGES): Likewise.
	* localedata/locales/ti_ER (LC_MESSAGES): Likewise.
	* localedata/locales/tk_TM (LC_MESSAGES): Likewise.
	* localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/to_TO (LC_MESSAGES): Likewise.
	* localedata/locales/tr_TR (LC_MESSAGES): Likewise.
	* localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/tt_RU (LC_MESSAGES): Likewise.
	* localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
	* localedata/locales/uk_UA (LC_MESSAGES): Likewise.
	* localedata/locales/unm_US (LC_MESSAGES): Likewise.
	* localedata/locales/ur_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ur_PK (LC_MESSAGES): Likewise.
	* localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
	* localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
	* localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/vi_VN (LC_MESSAGES): Likewise.
	* localedata/locales/wa_BE (LC_MESSAGES): Likewise.
	* localedata/locales/wo_SN (LC_MESSAGES): Likewise.
	* localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
	* localedata/locales/yi_US (LC_MESSAGES): Likewise.
	* localedata/locales/yo_NG (LC_MESSAGES): Likewise.
	* localedata/locales/yue_HK (LC_MESSAGES): Likewise.
	* localedata/locales/zh_CN (LC_MESSAGES): Likewise.
	* localedata/locales/zh_HK (LC_MESSAGES): Likewise.
	* localedata/locales/zh_TW (LC_MESSAGES): Likewise.
	* localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
2017-10-25 13:57:51 +02:00
Mike FABIAN
17e78edb81 brx_IN locale: Fix yesexpr and noexpr
* localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
	(Use first letters of yesstr and nostr correctly instead of using
	full words).
2017-10-25 10:49:36 +02:00
Mike FABIAN
74e7284fe1 ta_IN locale: Fix yesexpr and noexpr
* localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
	(Use first letters of yesstr and nostr correctly).
2017-10-25 10:49:36 +02:00
Mike FABIAN
b41a0ff1c8 hi_IN, kn_IN, ks_IN@devanagari locales: In yesexpr and noexpr, also check for the first characters of yesstr and nostr
* localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
	also check for the first characters of yesstr and nostr.
	* localedata/locales/kn_IN (LC_MESSAGES): Likewise.
	* localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
2017-10-25 10:49:36 +02:00
Mike FABIAN
d971f38002 cmn_TW locale: Improve yesexpr and noexpr
* localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
	also check for Chinese characters.
2017-10-25 10:49:36 +02:00
Mike FABIAN
effc9e1d50 chr_US locale: Fix yesexpr and noexpr
* localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
	match also for the contents of yesstr and nostr. As the first letter
	of yesstr and nostr is equal, checking only for the first letter
	is not enough.
2017-10-25 10:49:36 +02:00
Mike FABIAN
10320881d8 ber_DZ locale: Use copy “"kab_DZ"” in LC_MESSAGES.
* localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
	it is the same according to  Belkacem Mohammed <belkacem77@gmail.com>.
2017-10-25 10:49:36 +02:00
Mike FABIAN
d8682a15d0 kab_DZ locale: Add e-mail of main contributor
* localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
	of main contributor.
2017-10-25 10:49:36 +02:00
Mike FABIAN
1bfb86aeb4 zh_SG locale: Use copy "zh_CN" in LC_MESSAGES instead of English
* localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
	instead of using English.
2017-10-25 10:49:36 +02:00
Mike FABIAN
da33d60bbe ug_CN locale: Fix noexpr and yesexpr
* localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
	by including the first letters of nostr and yesexpr in the regexp.
	Also make it more readable by using ASCII where possible.
2017-10-25 10:49:36 +02:00
Mike FABIAN
725bbb3e18 ti_IN locale: Fix noexpr
* localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
	the first letter of nostr in the regexp. It agrees with CLDR now.
	Also make it more readable by using ASCII where possible.
2017-10-25 10:49:36 +02:00
Mike FABIAN
fe043d8af2 km_KH locale: Fix yesstr and nostr.
* localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
	The yesstr and nostr apparently	came from CLDR. And CLDR has a bug there:
	these strings contain a U+17D6 (which somewhat looks like a colon)
	instead of a real colon to separate the full words for “yes”
	and “no” from the single letter responses.
2017-10-25 10:49:36 +02:00
Mike FABIAN
360a8df3af ka_GE locale: Fix yesexp to make it agree with CLDR.
* localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
	it agree with CLDR (include the first letter of yesstr).
	Also make it more readable by using ASCII where possible.
2017-10-25 10:49:36 +02:00
Mike FABIAN
bab7b6b0a6 mr_IN locale: Fix yesstr and nostr and improve yesexpr and noexpr.
* localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
	and improve yesexpr and noexpr. The yesstr and nostr apparently
	came from CLDR. And CLDR has a bug there: these strings contain
	a U+0903 (which looks like a colon) instead of a real colon
	to separate the full words for “yes” and “no” from the single
	letter responses.
2017-10-25 10:49:35 +02:00
Mike FABIAN
3e79f75819 bn_BD locale: Use only the first letters of the full yesstr and nostr in yesexpr and noexpr
Using all characters of the full words for yes and no in yesexpr and noexpr
makes no sense here, especially not because the words for yes and no
share one character.

	* localedata/locales/bn_BD (LC_MESSAGES): Use only the first
	letters of the full yesstr and nostr in yesexpr and noexpr.
2017-10-25 10:49:35 +02:00
Mike FABIAN
4960c87929 Add yesstr, nostr, lang_term, lang_lib to an_ES locale
* localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
	* localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
	* localedata/locales/an_ES: Make source more readable by using ASCII
	where possible.
2017-10-25 10:49:35 +02:00
Mike FABIAN
b06a054f58 Add new locale yuw_PG [BZ #20952]
[BZ #20952]
	* localedata/locales/yuw_PG: New file.
	* localedata/SUPPORTED: Add yuw_PG/UTF-8.
	* locale/iso-639.def: Add Yau (Uruwa).
2017-10-25 10:49:35 +02:00
Mike FABIAN
1d479c8c33 Fixes for tpi_PG locale
* localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
	by adding the generic +1 and -0 as in all other locales.
	* localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
	day names and make it more readable by using ASCII where possible.
2017-10-24 08:01:09 +02:00
Mike FABIAN
b6b08b8e21 Add new locale kab_DZ [BZ #18812]
[BZ #18812]
	* localedata/SUPPORTED: Add kab_DZ/UTF-8.
	* localedata/locales/kab_DZ: New file.
2017-10-20 18:13:22 +02:00
Mike FABIAN
2f9314b412 Add new locale shn_MM [BZ #13605]
[BZ #13605]
	* localedata/SUPPORTED: Add shn_MM/UTF-8.
	* localedata/locales/shn_MM: New file.
2017-10-20 08:52:01 +02:00
Mike FABIAN
4b0fa403ab Add new locale mjw_IN [BZ #13994]
[BZ #13994]
	* locale/iso-639.def: Add Karbi.
	* localedata/SUPPORTED: Add mjw_IN/UTF-8.
	* localedata/locales/mjw_IN: New file.
2017-10-19 16:11:28 +02:00
Mike FABIAN
508b1e71a3 Use U+202F NARROW NO-BREAK SPACE as thousands separators in pl_PL locale [BZ #16777]
[BZ #16777]
	* localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
	and improve readability by using more ASCII.
	* localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
	and improve readability by using more ASCII.
2017-10-18 14:30:54 +02:00
Aurelien Jarno
5bf58bc750 New locale ca_ES@valencia [BZ #2522]
The Valencian (meridional Catalan) locale is basically a copy of the
Catalan locale. The point of having a separate locale is only for PO
translations. This locale is already provided by several distributions
and is already supported by various projects like LibreOffice, Mozilla,
Gnome, KDE.

	Aurelien Jarno  <aurelien@aurel32.net>
	[BZ #2522]
	* localedata/locales/ca_ES@valencia: New file.
	* localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2017-10-17 17:07:16 +02:00
Mike FABIAN
56a752ab6a 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.
2017-10-17 15:29:50 +02:00
Carlos O'Donell
f16491eb8e locale: Fix localedef exit code (Bug 22292)
The error and warning handling in localedef, locale, and iconv
is a bit of a mess.

We use ugly constructs like this:
      WITH_CUR_LOCALE (error (1, errno, gettext ("\
cannot read character map directory `%s'"), directory));

to issue errors, and read error_message_count directly from the
error API to detect errors. The problem with that is that the
code also uses error to print warnings, and informative messages.
All of this leads to problems where just having warnings will
produce an exit status as-if errors had been seen.

To fix this situation I have adopted the following high-level
changes:
* All errors are counted distinctly.
* All warnings are counted distinctly.
* All informative messages are not counted.
* Increasing verbosity cannot generate *more* errors, and
  it previously did for errors conditional on verbose,
  this is now fixed.
* Increasing verbosity *can* generate *more* warnings.
* Making the output quiet cannot generate *fewer* errors,
  and it previously did for errors conditional on be_quiet,
  this is now fixed.
* Each of error, warning, and informative message has it's
  own function to call defined in record-status.h, and they
  are: record_error, record_warning, and record_verbose.
* The record_error function always records an error, but
  conditional on be_quiet may not print it.
* The record_warning function always records a warning,
  but conditional on be_quiet may not print it.
* The record_verbose function only prints the verbose
  message if verbose is true and be_quiet is false.

This has allowed the following fix:
* Previously any warnings were being treated as errors
  because they incremented error_message_count, but now
  we properly return an exit status of 1 if there are
  warnings but output was generated.

All of this allows localedef to correctly decide if errors,
or warnings were present, and produce the correct exit code.

The locale and iconv programs now also use record-status.h
and we have removed the WITH_CUR_LOCALE hack, and instead
have internal push_locale/pop_locale functions centralized
in the record routines.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2017-10-13 22:30:18 -07:00
Carlos O'Donell
8dc8be75d2 localedata: Reorganize Unicode LC_CTYPE inclusion.
The commit does the following things:

* Move non-transliteration Unicode generated data to i18n_ctype.
* Copy the i18n_ctype data into i18n and add transliteration.

In the future, any locale which needs Unicode LC_CTYPE data can
also just use `copy i18n_ctype` and get the base character classes
and maps without transliteration.

Tested by compiling all the locales and my prototype C.UTF-8 which
uses it.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2017-10-13 22:29:52 -07:00
Mike FABIAN
799c8d6905 Add new codepage charmaps/IBM858 [BZ #21084]
This code page is identical to code page 850 except that X'D5'
has been changed from LI61 (dotless i) to SC20 (euro symbol).

The code points from /x01 to /x1f in the /localedata/charmaps/IBM858
file have the same mapping as those in localedata/charmaps/ANSI_X3.4-1968.
That means they disagree with with

ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP00858.txt

in that range.
For example, localedata/charmaps/IBM858 and localedata/charmaps/ANSI_X3.4-1968 have:

   “<U0001>     /x01         START OF HEADING (SOH)”

whereas CP00858.txt has:

   “01 SS000000        Smiling Face”

That means that CP00858.txt is not really ASCII-compatible and to make
it ASCII-compatible we deviate fro CP00858.txt in the code points from /x01
to /x1f.

	[BZ #21084]
	* benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
	* iconvdata/Makefile: Add IBM858.
	* iconvdata/gconv-modules: Add IBM858.
	* iconvdata/ibm858.c: New file.
	* iconvdata/tst-tables.sh: Add IBM858
	* localedata/charmaps/IBM858: New file.
2017-09-14 15:50:57 +02:00
Akhilesh Kumar
fcc82c06dc Removed redundant data (LC_TIME and LC_MESSAGES) for niu_NZ [BZ #22023]
[BZ #22023]
	* locales/niu_NZ (LC_TIME): copy "niu_NU".
	* locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
2017-09-14 13:50:20 +02:00
Akhilesh Kumar
f28a0926c5 Fix LC_TELEPHONE for az_AZ [BZ #22112]
[BZ #22112]
	* localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
	and add tel_int_fmt.
2017-09-14 12:37:13 +02:00
Mike FABIAN
96480903ab Finish change from “Bengali” to “Bangla”
“Bengali” still remained in some comments in the bn_BD locale file,
in iso-639.def and in a test input file. Change it there as well.
“Bangla” is now used as the English name for this language in CLDR.

	[BZ #14925]
	* libio/tst-widetext.input: Change “Bengali” to “Bangla”.
	* locale/iso-639.def: Change “Bengali” to “Bangla”.
	* localedata/locales/bn_BD: “Bengali” was still used in some
	comments. Change it to “Bangla”.
2017-09-09 12:41:54 +02:00
Mike FABIAN
7c9c5be96f Use ASCII in LC_TIME of om_ET for better readability
* localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
2017-09-07 09:44:50 +02:00
Akhilesh Kumar
ae214523ee Remove redundant LC_TIME data in om_KE which is identical to the data in om_ET
[BZ #22100]
	* locales/om_KE (LC_TIME): copy "om_ET".
2017-09-07 09:44:49 +02:00
Mike FABIAN
2ae5be041d Improve utf8_gen.py to set the width for characters with Prepended_Concatenation_Mark property to 1
[BZ #22070]
	* localedata/unicode-gen/utf8_gen.py: Set the width for
	characters with Prepended_Concatenation_Mark property to 1
	* localedata/charmaps/UTF-8: Updated using the improved script.
2017-09-06 12:39:49 +02:00
Mike FABIAN
af83ed5c46 Write all ranges of neighbouring characters with the same width using the range notation in charmaps/UTF-8
Writing ranges of neighbouring characters with the same with like this

    <U000E0100>...<U000E01EF>	0

in charmaps/UTF-8 is more efficient than writing many single character lines
like:

    <U000E0100>	0
    <U000E0101>	0
    ...

	[BZ #21750]
	* unicode-gen/utf8_gen.py: Write all ranges of neighbouring characters
	with the same width using the range notation in charmaps/UTF-8.
2017-09-06 12:37:49 +02:00
Mike FABIAN
3f802aeb34 Add miq_NI locale for Miskito
[BZ #20498]
	* locale/iso-639.def: add Miskito.
	* localedata/SUPPORTED: Add miq_NI/UTF-8.
	* localedata/locales/miq_NI: New file.
2017-09-05 15:04:23 +02:00
Zack Weinberg
ce870587d5 Move all old ChangeLogs to a top-level ChangeLog.old directory. 2017-09-01 09:31:43 -04:00
Mike FABIAN
8715f25630 Fix decimal point and thousands separator in es_CU locale to agree with CLDR.
[BZ #15332]
	* locales/es_CU (LC_MONETARY): use “,” for mon_decimal_point
	and “.” for mon_thousands_sep (to agree with CLDR)
	* locales/es_CU (LC_NUMERIC): Likewise.
2017-08-31 12:57:26 +02:00
Akhilesh Kumar
d6e290a6ca Remove redundant data in li_BE which is identical to the data in li_NL
[BZ #22044]
	* locales/li_BE (LC_TIME): copy "li_NL".
2017-08-31 08:22:55 +02:00
Mike FABIAN
8a0e619652 Use “.” in thousands_sep in the ca_ES locale
[BZ #16148]
	* locales/ca_ES (LC_NUMERIC): Use “.” in thousands_sep.
	And make it more readable by using ASCII.
2017-08-30 15:19:39 +02:00
Mike FABIAN
5f9409b787 Add country_name for mni_IN
[BZ #22022]
	* locales/mni_IN (LC_ADDRESS): Add country_name.
2017-08-30 12:27:46 +02:00
Akhilesh Kumar
232d919061 Fix abbreviated weeks and months for Somali to agree with CLDR
[BZ #22038]
	* locales/so_DJ (LC_TIME): Fix abday, abmon and
	make t_fmt in the comment agree with the value of t_fmt.
	* locales/so_ET (LC_TIME): Fix abday (From Axa to Axd)
	* locales/so_KE (LC_TIME): Fix abday (From Axa to Axd)
	* locales/so_SO (LC_TIME): Fix abday (From Axa to Axd)
2017-08-30 11:54:15 +02:00
Wei-Lun Chao
bdbf14d12e Update hanzi collation by stroke
[BZ #21951]
        * locales/cns11643_stroke: Update hanzi collation by stroke
        (Add license declaration, use strokes by component).
2017-08-29 23:34:48 +02:00
Mike FABIAN
f11f2f6e14 Use “,” as mon_decimal_point for ru_RU and os_RU locales (follow CLDR)
[BZ #13805]
	* locales/ru_RU (LC_MONETARY): Use “,” for mon_decimal_point
	(to agree with CLDR).
	* locales/ru_RU (LC_NUMERIC): Write mon_decimal_point in ASCII
	for readability.
	* locales/os_RU (LC_MONETARY): Copy from ru_RU,
	makes it agree with CLDR.
2017-08-29 13:56:41 +02:00
Akhilesh Kumar
f8de9568d8 Add locale for mfe_MU
Add locale for “Morisyen” which is also called “Mauritian Creole”
and is spoken in Mauritius.

	[BZ #21971]
	* localedata/SUPPORTED: Add mfe_MU/UTF-8.
	* localedata/locales/mfe_MU: New File.

	[BZ #21971]
	* locale/iso-639.def: add Morisyen.
2017-08-29 13:56:41 +02:00
Mike FABIAN
15cf43a999 Use NFC for the strings in “day”, “yesstr”, and “nostr” in the sgs_LT locale
* locales/sgs_LT (LC_TIME): Use NFC for the strings in “day”.
	* locales/sgs_LT (LC_MESSAGES): Use NFC for “yesstr” and “nostr”.
2017-08-29 13:55:42 +02:00
Akhilesh Kumar
56bc7f4360 Fix country_name in zu_ZA to agree with CLDR
[BZ #21959]
	* locales/zu_ZA (LC_ADDRESS): Fix country name to agree with CLDR.
2017-08-28 17:51:08 +02:00
Mike FABIAN
486afa6d27 Use the range notation in charmaps/UTF-8 for all ranges of neighbouring characters with the same width
[BZ #21750]
	* charmaps/UTF-8: Use the range notation for all ranges
	of neighbouring characters with the same width.
2017-08-18 13:44:40 +02:00
Akhilesh Kumar
bb6274ee12 Fix abmon for bem_ZM
Until now the abbreviated month names were in English.

	[BZ #21960]
	* locales/bem_ZM (LC_TIME): Fix abmon, make it agree with CLDR.
2017-08-17 11:06:08 +02:00
Akhilesh Kumar
c14b84baae Fix country name for xh_ZA
[BZ #21959]
	* locales/xh_ZA (LC_ADDRESS): Fix country name.
2017-08-17 11:06:08 +02:00
Thorsten Glaser
7a79e321c6 Refresh generated charmap data and ChangeLog
[BZ #21750]
	* charmaps/UTF-8: Refresh.
2017-08-17 11:06:08 +02:00
Thorsten Glaser
267ee5d7ab Resolve some historically special cases of ambiguous width
[BZ #21750]
* unicode-gen/utf8_gen.py (U+00AD): Set width to 1.
* unicode-gen/utf8_gen.py (U+1160..U+11FF): Set width to 0.
* unicode-gen/utf8_gen.py (U+3248..U+324F): Set width to 2.
* unicode-gen/utf8_gen.py (U+4DC0..U+4DFF): Likewise.
2017-08-17 11:06:08 +02:00
Thorsten Glaser
41b6f0ce85 Handle more cases of combining characters
[BZ #21750]
* unicode-gen/utf8_gen.py: Treat category Me and Mn as combining.
2017-08-17 11:06:08 +02:00
Thorsten Glaser
580be3035d UnicodeData has precedence over EastAsianWidth
[BZ #19852]
[BZ #21750]
* unicode-gen/utf8_gen.py: Process EastAsianWidth lines before
  UnicodeData lines so the latter have precedence; remove hack
  to group output by EastAsianWidth ranges.
2017-08-17 11:06:08 +02:00
Mike FABIAN
54d68f5f61 Change language name in LC_IDENTIFICATION of bn_BD and bn_IN from “Bengali” to “Bangla”
[BZ #14925]
	* locales/bn_BD (LC_IDENTIFICATION): Change language name in
	“title” and “language” from Bengali to Bangla.
	* locales/bn_IN (LC_IDENTIFICATION): Likewise.
2017-08-14 19:48:27 +02:00
Mike FABIAN
dbb488ff46 Use “copy "i18n"” in km_KH locale
The custom stuff which was in LC_CTYPE of the km_KH locale seems
to be a very incomplete subset of what one gets by using
“copy "i18n"”. I cannot find anything special there which is not
in “copy "i18n"”, only lots of stuff which is missing.

	[BZ #20008]
	* locales/km_KH (LC_CTYPE): Use “copy "i18n"”.
2017-08-14 19:14:38 +02:00
Mike FABIAN
2a124c6163 Use two letter abbreviations in abday in all German locales.
[BZ #20482]
	* locales/de_AT (LC_TIME): Use 2 letter abbreviations in abday.
	* locales/de_BE (LC_TIME): Use 2 letter abbreviations in abday.
	* locales/de_CH (LC_TIME): Use 2 letter abbreviations in abday.
	* locales/de_DE (LC_TIME): Use readable ASCII in abday.
	* locales/de_IT (LC_TIME): Use readable ASCII in abday.
	* locales/de_LU (LC_TIME): Use 2 letter abbreviations in abday.
2017-08-14 17:12:37 +02:00
Julen Ruiz Aizpuru
66ba2e4ae5 Fix thousands_sep and grouping and use readable ASCII for decimal_point in eu_ES locale
[BZ #12349]
	* locales/eu_ES (LC_NUMERIC): Fix thousands_sep and grouping
	and use readable ASCII for decimal_point.
2017-08-14 15:58:32 +02:00
Mike FABIAN
a6bd872286 Adapt test case data to the changes in the thousands separators
[BZ #20756]
	* localedata/tst-langinfo.sh: Adapt test case data.
	* stdlib/tst-strfmon_l.c: Likewise.
	* stdlib/tst-strtod4.c: Likewise.
	* stdlib/tst-strtod5i.c: Likewise.
2017-08-12 17:20:24 +02:00
Mike FABIAN
d68b451903 Use U+202F instead of U+2009 as thousands_sep for es_MX
See also [BZ #20756].

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.

U+2009 THIN SPACE.
2017-08-12 16:03:49 +02:00
Stanislav Brabec
70a6707fa1 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.
2017-08-12 16:03:49 +02:00
Akhilesh Kumar
4169825556 Remove redundant data for LC_MONETARY for Indian locales
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"
2017-08-10 13:00:31 +02:00
Wei-Lun Chao
38dbcacb60 cmn_TW: add hanzi collation
[BZ #17563]
	[BZ #16905]
	* locales/cmn_TW (LC_COLLATE): Use cns11643_stroke file for sorting.
	* locales/cmn_TW (LC_TIME): Improve time and date formats.
	* locales/cmn_TW (LC_MESSAGES): Add  yesstr and nostr.
	* locales/cns11643_stroke: New file, stroke count collation for
	traditional Chinese.
2017-08-10 12:18:11 +02:00
Akhilesh Kumar
756d169989 Fix p_cs_precedes, n_cs_precedes, and n_sign_posn for mt_MT
Positive Currency Format: €500.00
Negative Currency Format: -€500.00
References:
http://www.kunsilltalmalti.gov.mt/filebank/documents/rapportdwarlismijiettalmunitaewropea.pdf, page 7, top right.
CLDR has “¤#,##0.00” as the currency format pattern.

	[BZ #21920]
	* locales/mt_MT (LC_MONETARY): Fix p_cs_precedes/n_cs_precedes.
	* locales/mt_MT (LC_MONETARY): Fix n_sign_posn.
2017-08-09 11:02:03 +02:00
Mike FABIAN
39b20aae21 Remove “% Charset: ...” comments from locale sources
These comments are useless and only confusing.  The encodings used to
create binary locales from source locales are listed in the
localedata/SUPPORTED file.  The source files itself are ASCII or UTF-8
encoded where non-ASCII UTF-8 is currently only used in comments. If
all locale source files are UTF-8 anyway, there is no need to specify
that in a special comment.
2017-08-09 11:02:03 +02:00
Akhilesh Kumar
e119dfcfd6 Added new locale en_SC
New locale is added for the Seychelles which is a member of the African
Union. English is an offical language for the Seychelles.

	[BZ #21854]
	* locales/en_SC: New file.
	* localedata/SUPPORTED : Add en_SC/UTF-8.
2017-08-09 11:02:03 +02:00
Andreas Schwab
d5afb38503 Fix missing redirects in testsuite targets 2017-08-07 18:13:36 +02:00
Mike FABIAN
08897a57a8 Add yesstr and nostr for doi_IN, kok_IN, and sat_IN
For the locales doi_IN,  kok_IN, and sat_IN, the words for
	“yes” and “no” were apparently in yesexpr and noexpr.
	Copy them from there to add yesstr and nostr.
	Also make yesexpr and noexpr more readable by using
	the POSIX portable character set.

	* locales/doi_IN (LC_MESSAGES): Add yesstr and nostr.
	* locales/kok_IN (LC_MESSAGES): Add yesstr and nostr.
	* locales/sat_IN (LC_MESSAGES): Add yesstr and nostr.
2017-08-03 17:30:11 +02:00
Mike FABIAN
2aad4b04ad Revert “Fix yesexpr in en_DK locale”
This reverts commit 8f75515080

	Revert “Fix yesexpr in en_DK locale”.

	* locales/en_DK (LC_MESSAGES): Restore original yesexpr, noexpr,
	yesstr, nostr. Convert them to ASCII and add a comment why
	we want to have them like this.
2017-08-03 13:39:54 +02:00
Mike FABIAN
1f22702ea2 drop redundant ([eE][sS])? and [oO]? from yesexpr and noexpr in km_KH locale
* locales/km_KH (LC_MESSAGES): drop redundant ([eE][sS])? and [oO]?
	from yesexpr and noexpr
2017-08-03 12:11:35 +02:00
Mike FABIAN
a0b7f996b7 Drop redundant .* from yesexpr and noexpr in agr_PE locale
And make the expressions more readable by using the POSIX portable character set
instead of Unicode code points.

	* locales/agr_PE (LC_MESSAGES): drop .* from yesexpr and noexpr
2017-08-03 12:11:35 +02:00
Akhilesh Kumar
6244070d41 Added new Locale bho_NP
Bhojpuri is one of the most common languages in Nepal and India.
http://codefornepal.org/en/2014/02/top-10-languages-spoken-as-mother-tongues-in-nepal/
https://en.wikipedia.org/wiki/Bhojpuri_language

Added "bho_NP" locale and Reference is taken form "bho_IN".

	[BZ #21845]
	* locales/bho_NP: New file, Bhojpuri locale for Nepal.
	* SUPPORTED: Add bho_NP/UTF-8
2017-08-03 12:11:35 +02:00
Akhilesh Kumar
8f75515080 Fix yesexpr in en_DK locale
[BZ #21867]
	* locales/en_DK (LC_MESSAGES): Fix yesexpr
2017-08-03 12:11:35 +02:00
Akhilesh Kumar
1b2be2732f Fix abday in zh_SG
Make it the same as in zh_CN and zh_TW which agrees with "narrow" in CLDR.

	[BZ #21853]
	* locales/zh_SG (LC_TIME): Fix abday
2017-08-03 12:11:35 +02:00
Steve Ellcey
b7f95f493b Remove CFLAG settings that turn off warning (no longer needed).
2017-08-02  Steve Ellcey  <sellcey@cavium.com>

	* localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
	CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
	CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
	CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
	CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
2017-08-02 12:57:58 -07:00
Akhilesh Kumar
10b8eb8fcc Fix country name in title of mai_NP locale
[BZ #21848]
	* locales/mai_NP (LC_IDENTIFICATION): Fix country name in title.
2017-07-27 16:24:07 +02:00
Ihar Hrachyshka
551d64b2d7 Improve country_name in be_BY@latin 2017-07-27 16:11:04 +02:00
Mike FABIAN
c5527d7ddc Minor improvements to new az_IR locale
* locales/az_IR (LC_MESSAGES): Improve yesexpr and noexpr.
	* locales/az_IR (LC_ADDRESS): Fix typo in comment  and
	use the individual iso-639-3 code for South Azerbaijani
	"azb" in lang_term.
	* locales/az_IR (LC_NAME): Improve readability of name_fmt in source.
2017-07-27 16:11:04 +02:00
Mousa Moradi
30c0c707f7 Add new az_IR locale
[BZ #14172]
	* locales/az_IR: New file.
2017-07-27 16:10:12 +02:00
Akhilesh Kumar
9e17c7aee3 Fix wrong monetary system used in ta_LK locale
[BZ #21839]
	* locales/ta_LK (LC_MONETARY): copy "si_LK"
2017-07-27 16:10:12 +02:00
Mike FABIAN
3632e5912b Fix country_name in nds_NL 2017-07-27 09:33:56 +02:00
Akhilesh Kumar
90880d384c Fix Latin characters and month sequence in mai_IN
Fixes [BZ #21822] with commit id 832f8e0487

	[BZ #21844]
	* locales/mai_IN (LC_TIME): Fix Latin characters and month sequence.
2017-07-27 09:32:40 +02:00
Mike FABIAN
1086114ba1 Revert "Remove redundant data for LC_MONETARY for Indian locales"
This reverts commit 480af555f3.

	Revert:
	2017-07-26  Akhilesh Kumar <akhilesh.k@samsung.com>

	Remove redundant data for LC_MONETARY

	[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/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-07-26 20:53:38 +02:00
Mike FABIAN
ec1cff5a6b Remove erroneous spaces from some strings in locale files
* locales/hif_FJ (LC_TIME): Remove erroneous spaces from d_t_fmt.
	* locales/km_KH (LC_TIME): Remove erroneous space from d_t_fmt.
	* locales/sm_WS (LC_TIME): Remove erroneous spaces from day.
2017-07-26 16:47:00 +02:00
Mike FABIAN
7a7a7d2c16 Remove erroneous tabs from some strings in locale files
* locales/et_EE (LC_ADDRESS): Remove tabs in postal_fmt.
	* locales/hif_FJ (LC_TIME): Remove tabs in t_fmt_ampm.
	* locales/hif_FJ (LC_NAME): Remove tabs in name_fmt.
2017-07-26 16:47:00 +02:00
Mike FABIAN
890472957c Fix inappropriate characters in LC_IDENTIFICATION in several locales
Found using the script check-localedef.py by Zack Weinberg.

	* locales/agr_PE (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/an_ES (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/gv_GB (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/kw_GB (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/ln_CD (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/nb_NO (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/pap_CW (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/se_NO (LC_IDENTIFICATION): Fix inappropriate character.
	* locales/sgs_LT (LC_IDENTIFICATION): Fix inappropriate character.
2017-07-26 16:47:00 +02:00
Mike FABIAN
95fe8c477f Fix inappropriate escape sequences in LC_IDENTIFICATION in several locales
Found using the script check-localedef.py by Zack Weinberg.

	* locales/aa_DJ (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/aa_ER (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/aa_ET (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/ak_GH (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/bn_BD (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/de_IT (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/es_CU (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/gd_GB (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/gl_ES (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/he_IL (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/hr_HR (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/ht_HT (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/hy_AM (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/lg_UG (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/mai_IN (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/mg_MG (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/pl_PL (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/quz_PE (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/se_NO (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/sl_SI (LC_IDENTIFICATION): Fix inappropriate escape sequence.
	* locales/ta_LK (LC_IDENTIFICATION): Fix inappropriate escape sequence.
2017-07-26 16:47:00 +02:00
Rafal Luzynski
1ac85c13b0 Indian scripts: More fixes after the recent import.
After the recent import of month names from CLDRv31 (bug 21217,
commit c853f14) an import of abbreviated month names is also needed
to make sure they match the full forms.

In case of kok_IN CLDR does not provide the abbreviated month names
explicitly but uses full month names in such cases so abmon section
has been copied from mon.

* localedata/locales/as_IN (abmon): Update from CLDR.
* localedata/locales/bn_BD (abmon): Likewise.
* localedata/locales/bn_IN (abmon): Likewise.
* localedata/locales/gu_IN (abmon): Likewise.
* localedata/locales/hi_IN (abmon): Likewise.
* localedata/locales/kn_IN (abmon): Likewise.
* localedata/locales/ml_IN (abmon): Likewise.
* localedata/locales/mr_IN (abmon): Likewise.
* localedata/locales/ne_NP (abmon): Likewise.
* localedata/locales/or_IN (abmon): Likewise.
* localedata/locales/pa_IN (abmon): Likewise.
* localedata/locales/ta_IN (abmon): Likewise.
* localedata/locales/te_IN (abmon): Likewise.

* localedata/locales/kok_IN (abmon): Likewise but copied from mon.
2017-07-26 16:47:00 +02:00
Mike FABIAN
cd5919cb61 Use POSIX Portable Character Set in the new mai_NP locale source file instead of <Uxxxx>
* localedata/locales/mai_NP: Use POSIX Portable Character Set.
2017-07-26 12:25:58 +02:00
Akhilesh Kumar
64d38726e1 Added New Locale mai_NP
Maithili which is an official language not only in India but in Nepal as well.
https://en.wikipedia.org/wiki/Maithili_language
Reference is taken form mai_IN.

	[BZ #21835]
	* localedata/locales/mai_NP: New file.
	* localedata/SUPPORTED: Add mai_NP/UTF-8.
2017-07-26 12:19:53 +02:00
Akhilesh Kumar
a426a65ce8 Removed redundant data for the_NP locale
[BZ #21838]
	* locales/the_NP (LC_CTYPE): copy "ne_NP"
	* locales/the_NP (LC_COLLATE): copy "ne_NP"
	* locales/the_NP (LC_MONETARY): copy "ne_NP"
	* locales/the_NP (LC_TELEPHONE): copy "ne_NP"
2017-07-26 11:23:54 +02:00
Mike FABIAN
3760ff7756 Remove redundant data for LC_MONETARY in sd_IN@devanagari 2017-07-26 11:15:16 +02:00
Akhilesh Kumar
480af555f3 Remove redundant data for LC_MONETARY for Indian locales
[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/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-07-26 11:15:15 +02:00
Akhilesh Kumar
c771b59a24 Fix inconsistency in country_isbn and missing prefixes
[BZ #21797]
	* locales/et_EE (LC_ADDRESS): Fix country_isbn.
	* locales/hy_AM (LC_ADDRESS): Fix country_isbn.
2017-07-25 13:25:18 +02:00
Mike FABIAN
1b768b4897 Add country_name to several locales
* locales/an_ES (LC_ADDRESS): Add country_name.
	* locales/ayc_PE (LC_ADDRESS): Add country_name.
	* locales/be_BY@latin (LC_ADDRESS): Add country_name.
	* locales/dv_MV (LC_ADDRESS): Add country_name,
	country_ab2, and country_ab3
	* locales/ia_FR (LC_ADDRESS): Add country_name.
	* locales/ik_CA (LC_ADDRESS): Add country_name.
	* locales/lij_IT (LC_ADDRESS): Add country_name.
	* locales/mi_NZ (LC_ADDRESS): Add country_name.
	* locales/nds_DE (LC_ADDRESS): Add country_name.
	* locales/nds_NL (LC_ADDRESS): Add country_name.
	* locales/oc_FR (LC_ADDRESS): Add country_name.
	* locales/sa_IN (LC_ADDRESS): Add country_name.
	* locales/sc_IT (LC_ADDRESS): Add country_name.
	* locales/sd_IN (LC_ADDRESS): Add country_name.
	* locales/tcy_IN (LC_ADDRESS): Add country_name.
	* locales/tg_TJ (LC_ADDRESS): Add country_name.
	* locales/tl_PH (LC_ADDRESS): Add country_name.
	* locales/tt_RU (LC_ADDRESS): Add country_name.
	* locales/wo_SN (LC_ADDRESS): Add country_name.
	* locales/zh_SG (LC_ADDRESS): Add country_name.
2017-07-25 12:17:02 +02:00
Akhilesh Kumar
ffe6d539df Fix name_mrs for mag_IN
[BZ #21825]
	* locales/mag_IN(LC_NAME): Fix name_mrs.
2017-07-25 12:17:02 +02:00
Akhilesh Kumar
b0edfa40c6 Added yesstr/nostr for sa_IN
[BZ #21823]
	* locales/sa_IN (LC_MESSAGES): Add yesstr,nostr
2017-07-25 12:17:02 +02:00
Akhilesh Kumar
832f8e0487 Fix LC_TIME for mai_IN
[BZ #21822]
	* locales/mai_IN (LC_TIME): Fix abday, day, mon etc...
2017-07-25 12:17:02 +02:00
Akhilesh Kumar
2a28610f9f Added country_name in mai_IN
[BZ #21821]
	* locales/mai_IN (LC_ADDRESS): Add country_name.
2017-07-24 08:24:29 +02:00
Akhilesh Kumar
fa13514a51 Added country_isbn for Republic of Korea
[BZ #21796]
	* locales/ko_KR (LC_ADDRESS): Add country_isbn.
2017-07-24 08:17:21 +02:00
Akhilesh Kumar
54606ca8c7 Added country_isbn for Italy
[BZ #21794]
	* locales/ca_IT (LC_ADDRESS): Add country_isbn.
	* locales/de_IT (LC_ADDRESS): Add country_isbn.
	* locales/fur_IT (LC_ADDRESS): Add country_isbn.
	* locales/it_IT (LC_ADDRESS): Add country_isbn.
	* locales/lij_IT (LC_ADDRESS): Add country_isbn.
	* locales/sc_IT (LC_ADDRESS): Add country_isbn.
2017-07-24 08:15:39 +02:00
Steve Ellcey
6259e62c02 Fix localedata test builds with latest GCC
* localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
	CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
	CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
	CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
	CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
2017-07-21 10:33:30 -07:00
Massimeddu Cireddu
2d9b85e7e7 Fix misspelled yesexpr/day/abday/mon/abmon/date_fmt fields in sc_IT
[BZ #12068]
	* locales/sc_IT (LC_MESSAGES): Fix yesexpr and add yesstr and nostr.
	* locales/sc_IT (LC_TIME): Fix mispelled day/abday/mon/abmon and
	fix date_fmt.
2017-07-21 12:01:29 +02:00
Rafal Luzynski
77046c6153 localedata/locales/lg_UG: Fix some comments.
After the recent update of int_select the comment needed an update, too.
While at this, all comments in LC_TELEPHONE were moved above their
respective values because this looks better.  Some minor typos fixed.

	[BZ #21783]
	* localedata/locales/lg_UG (LC_TELEPHONE): Move all comments
	above the values, correct some of them.
2017-07-21 11:25:32 +02:00
Akhilesh Kumar
5eeb2ea981 Add/Fix country_isbn for France
[BZ #21795]
	* locales/br_FR (LC_ADDRESS): Add country_isbn.
	* locales/ca_FR (LC_ADDRESS): Add country_isbn.
	* locales/fr_FR (LC_ADDRESS): Add country_isbn.
	* locales/ia_FR (LC_ADDRESS): Fix country_isbn.
	* locales/oc_FR (LC_ADDRESS): Fix country_isbn.
2017-07-21 10:15:25 +02:00
Akhilesh Kumar
98d9c9a61b Add country_name and country_post, and country_isbn for pap_AW and pap_CW
[BZ #21807]
	[BZ #21808]
	* locales/pap_AW (LC_ADDRESS): Add country_name and country_post.
	* locales/pap_CW (LC_ADDRESS): Add country_name, country_post,
	and country_isbn.
2017-07-21 09:24:22 +02:00
Mike FABIAN
36ea2b1b68 Add int_select to many locales
* locales/ar_JO (LC_TELEPHONE): Add int_select.
	* locales/ar_LB (LC_TELEPHONE): Add int_select.
	* locales/ar_MA (LC_TELEPHONE): Add int_select.
	* locales/ar_OM (LC_TELEPHONE): Add int_select.
	* locales/ber_DZ (LC_TELEPHONE): Add int_select.
	* locales/ber_MA (LC_TELEPHONE): Add int_select.
	* locales/ca_ES (LC_TELEPHONE): Add int_select.
	* locales/crh_UA (LC_TELEPHONE): Add int_select.
	* locales/de_CH (LC_TELEPHONE): Add int_select.
	* locales/de_LI (LC_TELEPHONE): Add int_select.
	* locales/de_LU (LC_TELEPHONE): Add int_select.
	* locales/dz_BT (LC_TELEPHONE): Add int_select.
	* locales/en_HK (LC_TELEPHONE): Add int_select.
	* locales/en_IE (LC_TELEPHONE): Add int_select.
	* locales/en_NZ (LC_TELEPHONE): Add int_select.
	* locales/en_PH (LC_TELEPHONE): Add int_select.
	* locales/en_SG (LC_TELEPHONE): Add int_select.
	* locales/es_ES (LC_TELEPHONE): Add int_select.
	* locales/es_PA (LC_TELEPHONE): Add int_select.
	* locales/es_US (LC_TELEPHONE): Add int_select.
	* locales/es_UY (LC_TELEPHONE): Add int_select.
	* locales/eu_ES (LC_TELEPHONE): Add int_select.
	* locales/he_IL (LC_TELEPHONE): Add int_select.
	* locales/id_ID (LC_TELEPHONE): Add int_select.
	* locales/it_CH (LC_TELEPHONE): Add int_select.
	* locales/it_CH (LC_TELEPHONE): Add int_select.
	* locales/it_IT (LC_TELEPHONE): Add int_select.
	* locales/kl_GL (LC_TELEPHONE): Add int_select.
	* locales/ko_KR (LC_TELEPHONE): Add int_select.
	* locales/kw_GB (LC_TELEPHONE): Add int_select.
	* locales/ky_KG (LC_TELEPHONE): Add int_select.
	* locales/lij_IT (LC_TELEPHONE): Add int_select.
	* locales/lt_LT (LC_TELEPHONE): Add int_select.
	* locales/lv_LV (LC_TELEPHONE): Add int_select.
	* locales/mi_NZ (LC_TELEPHONE): Add int_select.
	* locales/ms_MY (LC_TELEPHONE): Add int_select.
	* locales/mt_MT (LC_TELEPHONE): Add int_select.
	* locales/ne_NP (LC_TELEPHONE): Add int_select.
	* locales/niu_NU (LC_TELEPHONE): Add int_select.
	* locales/nl_NL (LC_TELEPHONE): Add int_select.
	* locales/pl_PL (LC_TELEPHONE): Add int_select.
	* locales/ro_RO (LC_TELEPHONE): Add int_select.
	* locales/ru_UA (LC_TELEPHONE): Add int_select.
	* locales/rw_RW (LC_TELEPHONE): Add int_select.
	* locales/sk_SK (LC_TELEPHONE): Add int_select.
	* locales/sl_SI (LC_TELEPHONE): Add int_select.
	* locales/so_SO (LC_TELEPHONE): Add int_select.
	* locales/the_NP (LC_TELEPHONE): Add int_select.
	* locales/tk_TM (LC_TELEPHONE): Add int_select.
	* locales/uz_UZ (LC_TELEPHONE): Add int_select.
	* locales/uz_UZ@cyrillic (LC_TELEPHONE): Add int_select.
	* locales/zh_SG (LC_TELEPHONE): Add int_select.
2017-07-20 17:14:49 +02:00
Akhilesh Kumar
ed6a854cf6 Added int_select international_call_prefixes
[BZ # 21801]
	* locales/es_NI (LC_TELEPHONE): Add int_select.
	* locales/es_PE (LC_TELEPHONE): Add int_select.
	* locales/es_PR (LC_TELEPHONE): Add int_select.
	* locales/es_PY (LC_TELEPHONE): Add int_select.
	* locales/es_VE (LC_TELEPHONE): Add int_select.
	* locales/fo_FO (LC_TELEPHONE): Add int_select.
	* locales/fr_CH (LC_TELEPHONE): Add int_select.
	* locales/fr_LU (LC_TELEPHONE): Add int_select.
	* locales/ga_IE (LC_TELEPHONE): Add int_select.
	* locales/gl_ES (LC_TELEPHONE): Add int_select.
	* locales/gv_GB (LC_TELEPHONE): Add int_select.
2017-07-20 14:22:31 +02:00
Akhilesh Kumar
747d9c2224 Fix int_select international_call_prefixes
[BZ #21799]
	* locales/ar_KW (LC_TELEPHONE): Add int_select.
	* locales/ar_LY (LC_TELEPHONE): Add int_select.
	* locales/ar_QA (LC_TELEPHONE): Add int_select.
	* locales/ar_SA (LC_TELEPHONE): Add int_select.
	* locales/ar_SS (LC_TELEPHONE): Add int_select.
	* locales/ar_SY (LC_TELEPHONE): Add int_select.
	* locales/ar_TN (LC_TELEPHONE): Add int_select.
	* locales/ar_YE (LC_TELEPHONE): Add int_select.
	* locales/ca_AD (LC_TELEPHONE): Add int_select.
	* locales/es_MX (LC_TELEPHONE): Add int_select.
2017-07-20 14:22:31 +02:00
Mike FABIAN
4f329ea996 Add country_name to iu_CA locale
* locales/iu_CA (LC_ADDRESS): Add country_name
2017-07-19 17:44:09 +02:00
Akhilesh Kumar
3f31d8bbad Fix country_post "Country Postal Abbreviations"
[BZ #21788]
	* locales/cy_GB (LC_ADDRESS): Add country_post.
	* locales/hy_AM (LC_ADDRESS): Add country_post.
	* locales/iu_CA (LC_ADDRESS): Add country_post.
	* locales/nan_TW@latin (LC_ADDRESS): Add country_post.
	* locales/ps_AF (LC_ADDRESS): Add country_post.
	* locales/sr_RS (LC_ADDRESS): Fix country_post.
	* locales/sr_RS@latin (LC_ADDRESS): Fix country_post.
	* locales/zh_TW (LC_ADDRESS): Fix country_post.
2017-07-19 17:44:09 +02:00
Akhilesh Kumar
43cd85db51 Fix consistency in country_isbn in various locales and add comment to country_num in nr_ZA
[BZ #21784]
	* locales/bo_CN (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/fa_IR (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/nan_TW@latin (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/nr_ZA (LC_ADDRESS): Add country_num.
	* locales/sr_RS (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/sr_RS@latin (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/ug_CN (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/yue_HK (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/zh_CN (LC_ADDRESS): Fix inconsistency in country_isbn.
	* locales/zh_TW (LC_ADDRESS): Fix inconsistency in country_isbn.
2017-07-19 17:44:09 +02:00
Akhilesh Kumar
0757b139fc Fix or add int_select international_call_prefixes
[BZ #21783 ]
	* locales/ar_AE (LC_TELEPHONE): Add int_select.
	* locales/ar_BH (LC_TELEPHONE): Fix int_select.
	* locales/ar_IQ (LC_TELEPHONE): Add int_select.
	* locales/es_CU (LC_TELEPHONE): Add int_select.
	* locales/ja_JP (LC_TELEPHONE): Add int_select.
	* locales/lg_UG (LC_TELEPHONE): Fix int_select.
	* locales/mn_MN (LC_TELEPHONE): Fix int_select.
	* locales/om_KE (LC_TELEPHONE): Add int_select.
	* locales/sm_WS (LC_TELEPHONE): Fix int_select.
2017-07-19 13:44:08 +02:00
Akhilesh Kumar
204b3d4d20 Fix country_name in li_NL
[BZ #21770]
	* locales/li_NL: Fix country_name.
2017-07-17 16:41:59 +02:00
Mike FABIAN
6eb5f3b7c7 Use U+02BB MODIFIER LETTER TURNED COMMA instead of U+0027 APOSTROPHE in yesstr and nostr for to_TO locale
Suggested by Rafał Lużyński.

	* locales/to_TO (LC_MESSAGES): Use U+02BB instead of U+0027 in yesstr and nostr
2017-07-17 16:29:55 +02:00
Mike FABIAN
7317a97020 Fix yesexpr in new agr_PE locale
yY should be added there as in (almost) all other locales
(Suggested by Rafał Lużyński).

	* locales/agr_PE (LC_MESSAGES): Add yY to yesexpr.
2017-07-17 16:27:28 +02:00
Mike FABIAN
3261ddfc14 Write "Latin" in title case in "title" in hif_FJ locale
* locales/hif_FJ: Write "Latin" in title case in "title"
2017-07-17 16:25:43 +02:00
Mike FABIAN
8bd8c052e7 Fix country name in li_BE and encoding problem in abday in li_BE and li_NL
* locales/li_BE: Fix country name and encoding problem in abday.
	* locales/li_NL: Fix encoding problem in abday.
2017-07-14 09:24:50 +02:00
Akhilesh Kumar
babbf7552a New locale for bi_VU
[BZ #21767]
	* locales/bi_VU: new file.
	* localedata/SUPPORTED: Add bi_VU/UTF-8.
2017-07-14 08:25:43 +02:00
Akhilesh Kumar
1b01a199eb Added yesstr and nostr for aa_ET
[BZ #21768]
	* locales/aa_ET (LC_MESSAGES): Added yesstr and nostr.
2017-07-14 08:25:43 +02:00
Mike FABIAN
0a3bba389f Fix wrong bug number in localedata/ChangeLog
The commit to add the Fiji Hindi locale mentioned

    Bug 21207 - ce_RU: update weekdays from CLDR

which was wrong, correct is:

    Bug 21694 - Current Glibc Locale Does Not Support Tok-Pisin and Fiji Hindi Locale
2017-07-14 08:25:43 +02:00
Akhilesh Kumar
1dd577fd33 Added Tongan language locale for Tonga
[BZ #21728]
	* localedata/locales/to_TO: new file
	* localedata/SUPPORTED: added to_TO/UTF-8
2017-07-13 09:46:44 +02:00
Akhilesh Kumar
edf96fe981 Added yesstr/nostr and fix yesexpr for pap_AW and pap_CW
[BZ #21757]
	* locales/pap_AW (LC_MESSAGES): add yesstr and nostr, fix yesexpr
	* locales/pap_CW (LC_MESSAGES): add yesstr and nostr, fix yesexpr
2017-07-13 09:46:44 +02:00
Akhilesh Kumar
704eab2238 Fix LC_MESSAGES and LC_ADDRESS for anp_IN
[BZ #21760]
	* locales/anp_IN (LC_MESSAGES): add yesstr and nostr.
	* locales/anp_IN (LC_ADDRESS): add country_name
2017-07-13 09:46:44 +02:00
Akhilesh Kumar
a325060c12 Added yesstr and nostr for Tigrinya
[BZ #21759]
	* locales/ti_ER (LC_MESSAGES): Add yesstr and nostr.
	* locales/ti_ET (LC_MESSAGES): Add yesstr and nostr.
2017-07-13 09:46:44 +02:00
Mike FABIAN
56e51ffc00 locales/om_ET (LC_MESSAGES): add yesstr and nostr. 2017-07-13 09:46:44 +02:00
Akhilesh Kumar
b5031c4c82 Added yesstr/nostr for nds_DE and nds_NL
[BZ #21756]
	* locales/nds_DE (LC_MESSAGES): Add yesstr and nostr.
	* locales/nds_NL (LC_MESSAGES): Add yesstr and nostr.
2017-07-13 09:46:44 +02:00
Akhilesh Kumar
64bdd005b2 Added Fiji Hindi language locale for Fiji
[BZ #21207]
	* locales/hif_FJ: New file.
	* SUPPORTED: Add hif_FJ/UTF-8.
	* locale/iso-639.def: Add Fiji Hindi (hif).
2017-07-13 09:46:44 +02:00
Chris Leonard
30200427a9 New locale for agr_PE.
[BZ #20496]
	* locale/iso-639.def: Add Awajún / Aguaruna (agr).

	[BZ #20496]
	* SUPPORTED: Add agr_PE.
	* locales/agr_PE: New file, Awajún / Aguaruna locale for Peru.
2017-07-12 09:08:44 +02:00
Akhilesh Kumar
a058c7c839 Added Samoan language locale for Samoa
[BZ #21710]
	* locales/sm_WS: New file.
	* SUPPORTED: Add sm_WS/UTF-8.
2017-07-12 09:08:10 +02:00
Akhilesh Kumar
2a91300176 Fixed abday for ar_JO/ar_LB/ar_SY
[BZ #21749]
	* locales/ar_JO (LC_TIME): Fix abday
	* locales/ar_LB (LC_TIME): Fix abday
	* locales/ar_SY (LC_TIME): Fix abday
2017-07-11 13:14:34 +02:00
Akhilesh Kumar
7593c977aa Fix abday for ar_SA
[BZ #21748, BZ #19066]
        * locales/ar_SA (LC_TIME): Fix abday
2017-07-11 12:55:16 +02:00
Eyolf Østrem
38eea35ca7 localedata: da_DK: set date_fmt [BZ #17297]
The default setting is slightly off for Danish users -- the day and
month displays should be swapped: "Jun 10" -> "10 Jun".
2017-07-11 10:15:45 +02:00
Akhilesh Kumar
43a9f537fc Added yesstr and nostr to zh_HK locale
yesstr and nostr  are missing for zh_HK language locale

	[BZ #21733]
	* locales/zh_HK (LC_MESSAGES): add yesstr and nostr
2017-07-10 15:39:37 +02:00
Akhilesh Kumar
de47eab02a Fix abday strings for ks_IN@devanagari to match the day strings
Hindi language is similar to Kashmiri(devanagari) language.

	[BZ #21743]
	* locales/ks_IN@devanagari (LC_TIME): Fixed abday strings
2017-07-10 15:39:37 +02:00
Mike FABIAN
5fa205d485 Add iI and eE to yesexpr and noexpr respectively for ts_ZA 2017-07-10 09:02:24 +02:00
Akhilesh Kumar
51e945a8f9 Added yesstr/nostr for kw_GB
[BZ #21734]
	* locales/kw_GB (LC_MESSAGES): add yesstr and nostr
2017-07-07 17:16:47 +02:00
Akhilesh Kumar
60e6738932 Added missing yesstr and nostr for Tsonga language locale [LC_MESSAGES]
[BZ #21727]
	* locales/ts_ZA(LC_MESSAGES): add yesstr and nostr

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-07 17:16:47 +02:00
Akhilesh Kumar
42c1c0e7f5 Fix LC_NAME for hi_IN
During Hindi Locale review I found many fields are incorrect

	[BZ #21729]
	* locales/hi_IN (LC_NAME): Fix name_mr, name_mrs, name_miss, name_ms

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-07 13:28:55 +02:00
Akhilesh Kumar
254bdaeb06 yesstr/nostr missing for Xhosa language locale
During Locale verification I observed that
yesstr and nostr  are missing for Xhosa language locale
for South Africa

	[BZ #21724]
	* locales/xh_ZA (LC_MESSAGES): add yesstr and nostr

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-07 12:59:38 +02:00
Peng Wu
c58ba95be9 Add yesstr and nostr to zh_CN locale
[BZ #21723]
	* locales/zh_CN (LC_MESSAGES): add yesstr and nostr
2017-07-07 12:59:22 +02:00
Akhilesh Kumar
bc6bd727cd Incorrect Full Weekday names for ks_IN@devanagari
During Locale verification I observed that
Incorrect Full Weekday names for ks_IN@devanagari
Reference is taken from
http://www.mkraina.com/PDF/3-Self-authored%20Works%20(English)/15.pdf

And kashmiri devanagari travel book and other sources

	[BZ #21721]
	* locales/ks_IN@devanagari: Full weekday name Fix.

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-07 11:00:49 +02:00
Rafal Luzynski
1bea5858dd Arabic scripts: More fixes after the recent import.
After the recent import of month names from CLDRv31 (bug 21217,
commit c853f14) more imports are also needed, mostly abbreviated month
names.

This patch also updates May (full month name) in ps_AF which was
skipped in the previous patch.

Incidentally, this import fixes bug 17225 (ar_SY) and partially
bug 19066 (ar_SA).

CLDR currently has a bug in the full month name for October for ar_IQ, see
http://unicode.org/cldr/trac/ticket/10460

	* localedata/locales/ar_DZ (abmon): Full import from CLDR, abmon
	is no longer abbreviated.
	* localedata/locales/ar_IQ (abmon): Likewise.
	* localedata/locales/ar_MA (abmon): Likewise.
	* localedata/locales/ar_TN (abmon): Likewise.
	* localedata/locales/ps_AF (abmon): Likewise.
	* localedata/locales/ug_CN (abmon): Likewise.
	* localedata/locales/ar_SA (abmon): Likewise, partially
	fixes bug 19066.
	* localedata/locales/ks_IN (abmon): A copy of mon.
	* localedata/locales/ur_IN (abmon): Oct reworded "اكتوبر" to
	"اکتوبر" (same change as mon).
	* localedata/locales/ur_PK (abmon): Same changes as mon applied.

	* localedata/locales/ps_AF (mon): May reworded "می" to "مۍ".

	[BZ #17225]
	* localedata/locales/ar_SY (abmon): May reworded "نوار" to
	"أيار", this closes bug 17225.
	* localedata/locales/ar_JO (abmon): Likewise.
	* localedata/locales/ar_LB (abmon): Likewise.
2017-07-06 15:49:35 +02:00
Akhilesh Kumar
0cae0b1a28 Pashto yesstr/nostr locale are missing
[BZ #21711]
During Locale verification I observed that

yesstr and nostr are missing for Pashto [LC_MESSAGES] Locale

For Afghanistan reference google translate and Pashto travel book.
2017-07-06 09:34:58 +02:00
Carlos O'Donell
b8e0e03b7c Fixup localedata/ChangeLog.
- Rewrite recent entry to follow GNU ChangeLog format.
- Convert spaces to tabs in one case.
2017-07-05 14:14:44 -04:00
Akhilesh Kumar
97e7b6aa42 Added Tok-Pisin locale.
[BZ #21694]
Added tok-pisin language locale for Papua New Guinea.

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-05 18:40:08 +02:00
Akhilesh Kumar
cc31b141f9 For Breton yesstr/nostr locale are missing
[BZ #21706]
During Locale verification i observed that
yesstr and nostr  are missing for Breton [LC_MESSAGES] locale

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
2017-07-04 17:25:52 +02:00
Rafal Luzynski
073ec86e5e More fixes after the recent import from CLDR-31
After the recent import of month names from CLDR (bug 21217) more
imports are also needed, mostly abbreviated month names.

	* localedata/locales/br_FR (abmon): Reworded "Eve " to "Mezh".

	* localedata/locales/fy_NL (abmon): Reworded "Maa" (March) to
	"Mrt" and "Maa" (May) to "Mai".

	* localedata/locales/lg_UG (abmon): Reworded "Jun" to "Juu".

	* localedata/locales/ln_CD (abmon): "yan", "fbl", "msi",
	and so on.

	* localedata/locales/mn_MN (abmon): "1-р сар", "2-р сар",
	"3-р сар", and so on.

	* localedata/locales/vi_VN (abmon): Reworded "Th01" to "Thg 1",
	"Th02" to "Thg 2" and so on.

	* localedata/locales/yo_NG (abday): "Àìkú", "Ajé", "Ìsẹ́gun",
	and so on, also comment updated to match the new content.
	(day): "Ọjọ́ Àìkú", "Ọjọ́ Ajé", "Ọjọ́ Ìsẹ́gun", and so on.
	(abmon): "Ṣẹ́rẹ́", "Èrèlè", "Ẹrẹ̀nà", and so on.
	(mon): Comment updated to match the actual content.
	(d_t_fmt): Changed "%A" to "%a" and "%B" to "%b".

	* localedata/locales/zu_ZA (abmon): "Jan", "Feb", "Mas",
	and so on, also comment updated to match the new content.
	(mon): comment updated to match the actual content.
2017-07-03 09:10:12 +02:00
Mike Frysinger
867c5c33e2 localedata: CLDRv29: update LC_ADDRESS.lang_name translations
This updates a bunch of locales based on CLDR v29 data:
  az_AZ: changing Azərbaycanca to azərbaycan dili
  be_BY: changing беларуская мова to беларуская
  bem_ZM: changing iciBemba to Ichibemba
  bg_BG: changing български език to български
  bo_CN: changing པོད་སྐད་ to བོད་སྐད་
  bo_IN: changing པོད་སྐད་ to བོད་སྐད་
  br_FR: changing Brezhoneg to brezhoneg
  brx_IN: lang_name: setting to बड़ो
  ce_RU: changing нохчийн мотт to нохчийн
  cs_CZ: changing Čeština to čeština
  dz_BT: changing (རྫོང་ཁ to རྫོང་ཁ
  el_CY: changing ελληνικά to Ελληνικά
  el_GR: changing ελληνικά to Ελληνικά
  es_AR: changing Español to español
  es_BO: changing Español to español
  es_CL: changing Español to español
  es_CO: changing Español to español
  es_CR: changing Español to español
  es_CU: changing Español to español
  es_DO: changing Español to español
  es_EC: changing Español to español
  es_ES: changing Español to español
  es_GT: changing Español to español
  es_HN: changing Español to español
  es_MX: changing Español to español
  es_NI: changing Español to español
  es_PA: changing Español to español
  es_PE: changing Español to español
  es_PR: changing Español to español
  es_PY: changing Español to español
  es_SV: changing Español to español
  es_US: changing Español to español
  es_UY: changing Español to español
  es_VE: changing Español to español
  et_EE: changing eesti keel to eesti
  eu_ES: changing Euskara to euskara
  fr_BE: changing Français to français
  fr_CA: changing Français to français
  fr_CH: changing Français to français
  fr_FR: changing Français to français
  fr_LU: changing Français to français
  fur_IT: changing Furlan to furlan
  fy_NL: changing Frysk to West-Frysk
  gl_ES: changing Galego to galego
  gv_GB: changing y Ghaelg to Gaelg
  he_IL: lang_name: setting to עברית
  hsb_DE: changing Hornjoserbšćina to hornjoserbšćina
  hy_AM: changing Հայերեն to հայերեն
  id_ID: changing Bahasa Indonesia to Bahasa Indonesia
  it_CH: changing Italiano to italiano
  it_IT: changing Italiano to italiano
  kl_GL: changing Kalaallisut to kalaallisut
  km_KH: changing ភាសាខ្មែរ to ខ្មែរ
  ko_KR: changing 한국말 to 한국어
  ks_IN: changing kạ̄šur to کٲشُر
  kw_GB: changing Kernowek to kernewek
  ky_KG: changing Кыргызча to кыргызча
  lg_UG: changing Oluganda to Luganda
  lt_LT: changing lietuvių kalba to lietuvių
  lv_LV: changing latviešu valoda to latviešu
  mk_MK: changing македонск/и јазик to македонски
  mn_MN: changing Монгол хэл to монгол
  nb_NO: changing Bokmål to norsk bokmål
  nn_NO: changing Nynorsk to nynorsk
  os_RU: lang_name: setting to ирон
  ru_RU: lang_name: setting to русский
  ru_UA: lang_name: setting to русский
  se_NO: changing Davvisámegiella to davvisámegiella
  sk_SK: lang_name: setting to slovenčina
  ta_IN: lang_name: setting to தமிழ்
  ta_LK: lang_name: setting to தமிழ்
  tk_TM: changing Türkmençe to türkmençe
  tr_CY: changing Turkish to Türkçe
  tr_TR: changing Turkish to Türkçe
  ur_IN: lang_name: setting to {اردو}
  ur_PK: lang_name: setting to {اردو}
  vi_VN: changing Việt ngữ to Tiếng Việt
  yo_NG: changing Yorùbá to Èdè Yorùbá
  zu_ZA: changing IsiZulu to isiZulu

Most of these are simple case changes, but they match the CLDR db.
A search for a few of the others suggests they're also correct.
2017-06-30 06:41:49 +02:00
Mike FABIAN
6980be7cbf Add ChangeLog entries for the last 6 commits 2017-06-27 16:50:33 +02:00
Rafal Luzynski
d4e0331b0a localedata: Months updated from CLDR - other scripts [BZ #21217]
* localedata/locales/am_ET (mon): Updated from CLDR.
* localedata/locales/km_KH (mon): Likewise.
* localedata/locales/lo_LA (mon): Likewise.
* localedata/locales/si_LK (mon): Likewise.
* localedata/locales/yi_US (mon): Likewise.
* localedata/locales/yue_HK (mon): Likewise.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
b7f1d99bb3 localedata: Months updated from CLDR - other Indic scripts [BZ #21217]
* localedata/locales/gu_IN (mon): Updated from CLDR.
* localedata/locales/kn_IN (mon): Likewise.
* localedata/locales/ml_IN (mon): Likewise.
* localedata/locales/pa_IN (mon): Likewise.
* localedata/locales/te_IN (mon): Likewise.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
40daf63a15 localedata: Months updated from CLDR - Devanagari scripts [BZ #21217]
* localedata/locales/brx_IN (mon): Updated from CLDR.
* localedata/locales/hi_IN (mon): Likewise.
* localedata/locales/kok_IN (mon): Likewise.
* localedata/locales/mr_IN (mon): Likewise.
* localedata/locales/ne_NP (mon): Likewise.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
973c05624d localedata: Months updated from CLDR - Bengali scripts [BZ #21217]
* localedata/locales/as_IN (mon): Updated from CLDR.
* localedata/locales/bn_BD (mon): Likewise.
* localedata/locales/bn_IN (mon): Likewise.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
c853f14c23 localedata: Months updated from CLDR - Arabic scripts [BZ #21217]
* localedata/locales/ar_DZ (mon): Updated from CLDR.
* localedata/locales/ar_IQ (mon): Likewise.
* localedata/locales/ar_JO (mon): Likewise.
* localedata/locales/ar_LB (mon): Likewise.
* localedata/locales/ar_MA (mon): Likewise.
* localedata/locales/ar_SA (mon): Likewise.
* localedata/locales/ar_SY (mon): Likewise.
* localedata/locales/ar_TN (mon): Likewise.
* localedata/locales/ks_IN (mon): Likewise.
* localedata/locales/ps_AF (mon): Likewise.
* localedata/locales/ug_CN (mon): Likewise.
* localedata/locales/ur_IN (mon): Likewise.
* localedata/locales/ur_PK (mon): Likewise.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
aaa726f1dd localedata: More months updated from CLDR-31 [BZ #21217]
[BZ #21217]
* localedata/locales/ln_CD (mon): Months imported from CLDR, all changed:
"Yanwáli" to "sánzá ya yambo", "Febwáli" to "sánzá ya míbalé" and so on.

* locales/mn_MN (mon): reworded "Хулгана сарын" to "Нэгдүгээр сар",
"Үхэр сарын" to "Хоёрдугаар сар", and so on.

* locales/vi_VN (mon): reworded "Tháng một" to "Tháng 1", "Tháng hai"
to "Tháng 2", "Tháng ba" to "Tháng 3", and so on.

* locales/yo_NG (mon): reworded "Jánúárì" to "Oṣù Ṣẹ́rẹ́", "Fẹ́búárì"
to "Oṣù Èrèlè", "Máàṣì" to "Oṣù Ẹrẹ̀nà", and so on.

* locales/zu_ZA (mon): reworded "uMasingana" to "Januwari",
"uNhlolanja" to "Februwari", "uNdasa" to "Mashi", and so on.
2017-06-27 16:50:33 +02:00
Rafal Luzynski
8138dcc553 localedata: Month names updated from CLDR-31 [BZ #21217]
[BZ #21217]
* localedata/locales/be_BY (mon, abmon): Reworded "Травень" ("travyen'")
and abbreviated "Тра" ("tra") to "Май" ("may").

* localedata/locales/be_BY@latin (mon, abmon): Likewise, "Travień"
and abbreviated "Tra" reworded to "Maj".

* localedata/locales/br_FR (day, abmon, mon, d_t_fmt): Use the proper
Unicode apostrophe (Cʼhwevrer, mercʼher, Dʼar).

* localedata/locales/es_PE (mon, abmon): Reworded "septiembre" to
"setiembre" and abbreviated "sep" to "set".
* localedata/locales/es_UY: Likewise.

* localedata/locales/fil_PH (mon): Reworded "Septiyembre" to "Setyembre"
and "Nobiyembre" to "Nobyembre".

* localedata/locales/fur_IT (mon, abmon): Reworded "Decembar" to
"Dicembar" and abbreviated "Dec" to "Dic".

* localedata/locales/fy_NL (mon): Reworded "Janaris" to "Jannewaris".

* localedata/locales/ha_NG (mon, abmon): Reworded "Fabrairu" to
"Faburairu" and "Afrilu" to "Afirilu", also abbreviated "Afr" to "Afi".

* localedata/locales/ig_NG (mon, abmon): All months begin with
uppercase.  Reworded: "febụrụwarị" to "Febrụwarị", "epreel" to "Eprel",
"ọgọstụ" to "Ọgọọst", "nọvemba" to "Novemba", "nọv" to "Nov".

* localedata/locales/kw_GB (mon): Months imported from CLDR, many
changes: all "Mys" to "mis", "Mys Whevrel" to "mis Hwevrer", "Mys Merth"
to "mis Meurth", "Mys Evan" to "mis Metheven", and so on.
  (abmon): "Whe>" to "Hwe", "Mer" to "Meu", "Evn" to "Met".

* localedata/locales/lg_UG (mon): Reworded "Julaai" to "Julaayi".

* localedata/locales/ln_CD (mon): Months imported from CLDR, all changed:
"Yanwáli" to "sánzá ya yambo", "Febwáli" to "sánzá ya míbalé" and so on.

* localedata/locales/mg_MG (mon, abmon): All months now begin with
uppercase.

* localedata/locales/se_NO (mon): Months imported from CLDR, all
suffixes changed from "mánu" to "mánnu".

* localedata/locales/sr_RS@latin (mon): Reworded "juni" to "jun" and
"juli" to "jul".

* localedata/locales/uz_UZ (mon): Reworded "Sentyabr" to "Sentabr"
and "Oktyabr" to "Oktabr".
* localedata/locales/uz_UZ@cyrillic (mon): Most of the names reworded,
no longer end with a soft sign.

* localedata/locales/wae_CH (mon): reworded "Bráchet" to "Bráčet",
"Öigschte" to "Öigšte", "Herbschtmánet" to "Herbštmánet",
"Chrischtmánet" to "Chrištmánet".
2017-06-27 16:50:33 +02:00
Rafal Luzynski
95b38bbb03 localedata: fur_IT: Fix spelling of Wednesday (Miercus)
* localedata/locales/fur_IT (day, abday): reworded "Miarcus" to
  "Miercus" and abbreviated "Mia" to "Mie".
2017-06-22 17:44:03 +02:00
Mike FABIAN
925fac7793 Bug 21533: Update to Unicode 10.0.0
* Unicode 10.0.0 Support: Character encoding, character type info, and
  transliteration tables are all updated to Unicode 10.0.0, using
  generator scripts contributed by Mike FABIAN (Red Hat).
2017-06-22 17:02:55 +02:00
Zack Weinberg
af85385f31 Use locale_t, not __locale_t, throughout glibc
<locale.h> is specified to define locale_t in POSIX.1-2008, and so are
all of the headers that define functions that take locale_t arguments.
Under _GNU_SOURCE, the additional headers that define such functions
have also always defined locale_t.  Therefore, there is no need to use
__locale_t in public function prototypes, nor in any internal code.

	* ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
	* include/monetary.h, include/stdlib.h, include/time.h
	* include/wchar.h, locale/duplocale.c, locale/freelocale.c
	* locale/global-locale.c, locale/langinfo.h, locale/locale.h
	* locale/localeinfo.h, locale/newlocale.c
	* locale/nl_langinfo_l.c, locale/uselocale.c
	* localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
	* stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
	* stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
	* stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
	* stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
	* string/strcasecmp.c, string/strcoll_l.c, string/string.h
	* string/strings.h, string/strncase.c, string/strxfrm_l.c
	* sysdeps/ieee754/float128/strtof128_l.c
	* sysdeps/ieee754/float128/wcstof128.c
	* sysdeps/ieee754/float128/wcstof128_l.c
	* sysdeps/ieee754/ldbl-128ibm/strtold_l.c
	* sysdeps/ieee754/ldbl-64-128/strtold_l.c
	* sysdeps/ieee754/ldbl-opt/nldbl-compat.c
	* sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
	* sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
	* sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
	* sysdeps/powerpc/powerpc32/power7/strcasecmp.S
	* sysdeps/powerpc/powerpc64/power7/strcasecmp.S
	* sysdeps/x86_64/strcasecmp_l-nonascii.c
	* sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
	* time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
	* wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
	* wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
	* wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
	* wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
	* wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
	* wctype/towctrans_l.c, wctype/wcfuncs_l.c
	* wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
	Change all uses of __locale_t to locale_t.
2017-06-20 20:30:06 -04:00
Rafal Luzynski
70ec56e9f2 localedata: ce_RU: update weekdays from CLDR [BZ #21207]
[BZ #21207]
        * locales/ce_RU (day): Updated (imported) from CLDR.  Uppercase letters
        left unchanged.
        * locales/ce_RU (abday): Minor updates to match (day): Latin uppercase
        "I" replaced with Cyrillic "Ӏ" ("Palochka", Unicode: U04C0).  Trailing
        spaces removed.
2017-06-13 07:20:16 -04:00
Rafal Luzynski
dfe82f3faa localedata: Remove trailing spaces [BZ #20275]
Many locales have strings that end with an unnecessary trailing space.
Remove them.  Also corrects some notational errors in passing.

        * localedata/locales/mag_IN (abday, day): Consistently use
	uppercase hexadecimal in <Uxxxx> notation.
        * localedata/locales/so_DJ (mon): Use "<U0020>" instead of " ".
        * localedata/locales/so_ET (mon): Likewise.
        * localedata/locales/so_KE (mon): Likewise.
        * localedata/locales/so_SO (mon): Likewise.

	[BZ #20275]
	* localedata/locales/anp_IN (abday, day): Remove trailing spaces.
        * localedata/locales/bho_IN (abday, day): Likewise.
        * localedata/locales/doi_IN (abday, day): Likewise.
        * localedata/locales/hi_IN (day, abday): Likewise.
        * localedata/locales/hne_IN (abday, day): Likewise.
        * localedata/locales/mag_IN (abday, day): Likewise.
        * localedata/locales/ne_NP (abday, day): Likewise.
        * localedata/locales/pa_IN (abday, day): Likewise.
        * localedata/locales/raj_IN (abday, day): Likewise.
        * localedata/locales/the_NP (abday, day): Likewise.
        * localedata/locales/sq_AL (abday, day): Likewise.
        * localedata/locales/ln_CD (name_ms): Likewise.
        * localedata/locales/quz_PE (lang_name): Likewise.
        * localedata/locales/ta_IN (name_mr, name_mrs, name_miss): Likewise.
        * localedata/locales/te_IN (name_mr, name_mrs, name_miss): Likewise.

        * localedata/locales/ht_HT (abday, day): Remove trailing space
        after "len" and "lendi".

        * localedata/locales/mt_MT (mon): Remove trailing space after
        "Diċembru".
2017-06-13 07:16:00 -04:00
Santhosh Thottingal
b05eca0e1d Correct collation rules for Malayalam.
[BZ #19922]
	* locales/iso14651_t1_common: Add collation rules for U+07DA to U+07DF.

	[BZ #19919]
	* locales/iso14651_t1_common: Correct collation of U+0D36 and U+0D37.
2017-06-11 10:08:37 -04:00
Carlos O'Donell
8ba5c9b8d6 Bug 20686: Add el_GR@euro support.
Despite the fact that el_GR is ISO-8859-7:2003 which contains the euro
symobl, it is not possible to know this apriori to selecting the el_GR
locale. Therefore you don't know if el_GR can possibly have the 2003
ammendments which include the euro symbol. This is resolved by creating
an el_GR@euro locale similar to all the other @euro locales for non-UTF8
charsets.
2017-05-03 15:37:04 -04:00
Christopher Chittleborough
3e2cf872a5 Bug 21399: Fix CP1254 comment for U+00EC 2017-04-19 08:10:35 -04:00
Egmont Koblinger
ea1898dded localedata: hu_HU: fix multiple sorting bugs (bug 18934)
Fix the incorrect sorting order of a digraph and its geminated variant,
regression introduced by a faulty fix to bug 13547 in commit
b008d4c856.

Fix two inconsistencies in sorting unusual capitalization of digraphs
(bug #18587).

Enable DIACRIT_FORWARD to work around bug #17750.

Sort foreign accents after the Hungarian ones.

Add extensive unittests containing all the examples from The Rules of
Hungarian Orthography and many more, including explanatory comments.
2017-03-28 10:35:58 -04:00
Mike FABIAN
0b38d66a4e Bug 20313: Update to Unicode 9.0.0
* Unicode 9.0.0 Support: Character encoding, character type info, and
  transliteration tables are all updated to Unicode 9.0.0, using
  generator scripts contributed by Mike FABIAN (Red Hat).
2017-02-21 06:30:38 -05:00
Joseph Myers
bfff8b1bec Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Andreas Schwab
c0ff3befa9 Revert "Fix ChangeLog typo"
This reverts commit d2d43afa11.
2016-12-31 08:53:42 +01:00
Andreas Schwab
d2d43afa11 Fix ChangeLog typo 2016-12-30 10:34:27 +01:00
Mike Frysinger
a035eb6928 localedata: bs_BA: fix yesexpr/noexpr [BZ #20974]
Both regexes end with a "*." which means the previous match can be
omitted, and then the . allows them to match any input at all.

This means tools like coreutils' `rm -i` will always delete things
when prompted because the yesexpr regex matches all inputs (even
the negative ones).
2016-12-30 01:49:53 -05:00
Mike Frysinger
aa4d00ca39 localedata: GBK: add mapping for 0x80->Euro sign [BZ #20864]
Microsoft long ago added a mapping for 0x80 to the Euro sign to their
CP936.  While GBK 1.0 doesn't include this mapping, it is compatible,
and Microsoft and glibc alias the two codepages.  We could split them
apart so GBK wouldn't include the mapping, but that seems like a lot
of work for little gain.
2016-11-26 17:20:22 -05:00
Ernestas Kulik
7ed2b54451 localedata: lt_LT: use hyphens in d_fmt [BZ #20497]
The standard currently in effect (LST ISO 8601:1997) mandates the use
of hyphens (as opposed to full stops, currently) in date formats.  It
also matches current CLDR data (v29), Wikipedia's & Wikia's settings,
and Microsoft's Lithuanian Style Guide.
2016-08-24 16:07:02 -04:00
Märt Põder
89b7dd27ea locales: et_EE: locale has wrong {p,n}_cs_precedes value [BZ #20459]
According to "Requirements of information technology in Estonian
language and cultural environment" the monetary symbol should be
written after the amount number:

  https://www.evs.ee/products/evs-8-2008
2016-08-15 13:20:04 +02:00