From ae199e7d6423ed3bd0c8669381966ca4c58f4f49 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 13 Jan 2020 10:12:07 +0100 Subject: [PATCH] Fix ckb_IQ [BZ #9809] Add ckb_IQ to SUPPORTED file. Add ckb_IQ.UTF-8.in collation test file. Mention new ckb_IQ locale in NEWS. --- NEWS | 2 +- localedata/Makefile | 2 + localedata/SUPPORTED | 1 + localedata/ckb_IQ.UTF-8.in | 105 ++++++++++ localedata/locales/ckb_IQ | 393 ++++++++----------------------------- 5 files changed, 194 insertions(+), 309 deletions(-) create mode 100644 localedata/ckb_IQ.UTF-8.in diff --git a/NEWS b/NEWS index aeca39be23..c94fca7288 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ Version 2.32 Major new features: - [Add new features here] + * New locale added: ckb_IQ (Kurdish/Sorani spoken in Iraq) Deprecated and removed features, and other changes affecting compatibility: diff --git a/localedata/Makefile b/localedata/Makefile index b8a3b67810..75da312579 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -47,6 +47,7 @@ test-input := \ bg_BG.UTF-8 \ br_FR.UTF-8 \ bs_BA.UTF-8 \ + ckb_IQ.UTF-8 \ cmn_TW.UTF-8 \ crh_UA.UTF-8 \ cs_CZ.UTF-8 \ @@ -202,6 +203,7 @@ LOCALES := \ bg_BG.UTF-8 \ br_FR.UTF-8 \ bs_BA.UTF-8 \ + ckb_IQ.UTF-8 \ cmn_TW.UTF-8 \ crh_UA.UTF-8 \ cs_CZ.UTF-8 \ diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 40b2ccee5a..1ee5b5e8c8 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -91,6 +91,7 @@ ca_IT.UTF-8/UTF-8 \ ca_IT/ISO-8859-15 \ ce_RU/UTF-8 \ chr_US/UTF-8 \ +ckb_IQ/UTF-8 \ cmn_TW/UTF-8 \ crh_UA/UTF-8 \ cs_CZ.UTF-8/UTF-8 \ diff --git a/localedata/ckb_IQ.UTF-8.in b/localedata/ckb_IQ.UTF-8.in new file mode 100644 index 0000000000..157546d419 --- /dev/null +++ b/localedata/ckb_IQ.UTF-8.in @@ -0,0 +1,105 @@ +0 +٠ +1 +١ +2 +٢ +3 +٣ +4 +٤ +5 +٥ +6 +٦ +7 +٧ +8 +٨ +9 +٩ +a +A +b +B +c +C +d +D +e +E +f +F +g +G +h +H +i +I +j +J +k +K +l +L +m +M +n +N +o +O +p +P +q +Q +r +R +s +S +t +T +u +U +v +V +w +W +x +X +y +Y +z +Z +ئ +ا +ب +پ +ت +ج +چ +ح +خ +د +ر +ڕ +ز +ژ +س +ش +ع +غ +ف +ڤ +ق +ک +گ +ل +ڵ +م +ن +و +ۆ +ه +ە +ی +ێ diff --git a/localedata/locales/ckb_IQ b/localedata/locales/ckb_IQ index 08574db72e..a18ff69cb7 100644 --- a/localedata/locales/ckb_IQ +++ b/localedata/locales/ckb_IQ @@ -10,12 +10,12 @@ escape_char / % FOR ALL KURDISH DIALECTS USING ARABIC ALPHABETS -% Central Kurdish language locale for Iraq (using arabic letters): +% Central Kurdish language locale for Iraq (using Arabic letters): % Contributed by Aras Noori % Filename: ckb_iq % Locale name: ckb_iq.UTF-8 % Language: Central Kurdish (Sorani) -% Language abbrivation: KU-AR(Kurdish - Arabic letters) +% Language abbreviation: KU-AR (Kurdish - Arabic letters) % Charset: UTF-8 % Creation Date: 2009-11-03 % History: @@ -24,8 +24,8 @@ escape_char / % October 2009: bug fixing and redefine % April 2010 fixing "not found category" problems % March 2011 fixing all bugs -% Sept 2014: fixing alphabet and unicode bugs -% Oct 2014: fixing Address and fmt_name issues +% September 2014: fixing alphabet and Unicode bugs +% October 2014: fixing address and fmt_name issues LC_IDENTIFICATION title "Central Kurdish language locale for Iraq" @@ -33,8 +33,8 @@ source "Aras Noori, Jwtiyar Nariman" address "see e-mail" contact "Aras Noori, Jwtiyar Nariman" email "aras.noori@gmail.com, Jwtiyar@gmail.com" -tel "" -fax "" +tel "" +fax "" language "Central Kurdish" territory "Iraq" revision "0.9" @@ -60,257 +60,40 @@ copy "i18n" END LC_CTYPE LC_COLLATE -% The Kurdish Sorani, Bahdini, and others dialects is mainly written using a modified (Arabic-based alphabet) with 33 letters. -% Unlike the regular Arabic alphabet, which is an abjad, kurdish is an alphabet in which vowels are mandatory, making the script easy to read. +% The Kurdish Sorani, Bahdini, and others dialects is mainly written +% using a modified (Arabic-based alphabet) with 33 letters. Unlike +% the regular Arabic alphabet, which is an abjad, Kurdish is an +% alphabet in which vowels are mandatory, making the script easy to +% read. % -% The kurdish alphabet order is: -% in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, r, rr, s, sh, t, u, uu, v, w, x, y, z -% vowels: A, E, I, O, U, UU +% The Kurdish alphabet order is: +% in Latin: +% a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, +% r, rr, s, sh, t, u, uu, v, w, x, y, z +% vowels: +% A, E, I, O, U, UU % + % Copy the template from ISO/IEC 14651 +copy "iso14651_t1" -order_start forward; forward -% -% Kurdish numeric characters. -% - - - - - - - - - - +reorder-after % ر + % ڕ -% -% Characters from space to / and from : to ~ and nbsp. -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% -% Kurish alphabet order. -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% - % - % English numeric characters. - % - - - - - - - - - - - % - % - % English alphabet. - % - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - ; - % - % - % Other control characters etc. upto order_end - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IGNORE -order_end +reorder-after % ن + % و + % ۆ END LC_COLLATE LC_MONETARY -int_curr_symbol "" +int_curr_symbol "IQD " currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" +mon_decimal_point "." +mon_thousands_sep "," mon_grouping 3 -positive_sign "" -negative_sign "" +positive_sign "+" +negative_sign "-" int_frac_digits 3 frac_digits 3 p_cs_precedes 1 @@ -319,71 +102,66 @@ n_cs_precedes 1 n_sep_by_space 1 p_sign_posn 1 n_sign_posn 2 - END LC_MONETARY - LC_NUMERIC -decimal_point "" -thousands_sep "" +decimal_point "." +thousands_sep "," grouping 3 END LC_NUMERIC - LC_TIME -% These are generated based on XML base Locale difintion file -% % Abbreviated weekday names -abday "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % -% Full weekday names -day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" +% Full weekday names +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % % Abbreviated month names -abmon "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % % Full month names -mon "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % % Equivalent of AM PM am_pm "";"" % % Appropriate date and time representation -d_t_fmt "%d %b %Y, %Z %I:%M:%S %p" +d_t_fmt "%A %d %b %Y, %I:%M:%S %p" % % Appropriate date representation(%x) d_fmt "%A %d %b %Y" @@ -394,8 +172,8 @@ t_fmt "%Z %I:%M:%S %p" % Appropriate 12 h time representation t_fmt_ampm "%I:%M:%S %p" % -% Appropriate date representation -date_fmt "%A %d %B %Y" +% Appropriate date representation +date_fmt "%A %d %B %Y, %Z %I:%M:%S %p" week 7;19971130;1 first_weekday 7 @@ -403,20 +181,17 @@ first_workday 2 cal_direction 3 END LC_TIME - LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "^[+1yY]" +noexpr "^[-0nN]" yesstr "" nostr "" END LC_MESSAGES - LC_PAPER copy "ar_IQ" END LC_PAPER - LC_NAME name_fmt "%d%t%g%t%m%t%f" name_gen "" @@ -428,21 +203,23 @@ END LC_NAME % LC_ADDRESS postal_fmt "%z%c%T%s%b%e%r" -country_name "Iraq" -country_ab2 "" -country_ab3 "" -country_post "" +country_name "" +country_ab2 "IQ" +country_ab3 "IRQ" +country_post "IRQ" country_num 368 -country_car "" +country_car "IQ" +lang_name " " +lang_term "ckb" +lang_lib "ckb" % END LC_ADDRESS - LC_TELEPHONE % tel_int_fmt "+%c %a%t%l" -int_select "" % 00 -int_prefix "" %964 +int_select "00" +int_prefix "964" END LC_TELEPHONE