From patchwork Wed Jan 15 09:18:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 37390 Received: (qmail 11532 invoked by alias); 15 Jan 2020 09:19:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 11518 invoked by uid 89); 15 Jan 2020 09:19:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SCC_5_SHORT_WORD_LINES, T_FILL_THIS_FORM_SHORT autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579079929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=MY2JcgtgEZhToLAQoZH/fGv3+nDwg+SKwSVr7Xul7gY=; b=gMVQEdh+I7MqcWpPvlUXPGWsAqyLFZ8EX7aVr138mEJa3Bbr4+HetYWvUegHjmOY6l4jrG iyszktudtS3GrwED3SYdAwzNStLGLX/FDag/yn0fqAaknakctoUf2hdsCAfwNn6TcQGXB1 62YOwGBhKILk4JJqFlO/74RyAl67Ikk= Return-Path: From: Mike FABIAN To: libc-alpha@sourceware.org Subject: [PATCH 2/2] Add new locale: ckb_IQ (Kurdish/Sorani spoken in Iraq) [BZ #9809] Date: Wed, 15 Jan 2020 10:18:43 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Changed according to Rafał Lużyński’s review: Add new locale: ckb_IQ (Kurdish/Sorani spoken in Iraq) [BZ #9809] Part 1 of the patch is what was submitted by the contributor. Part 2 are fixes by me and Rafał. From 13e1ed2a7b7446bc015f9638a771bbae4cd6a6e5 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 13 Jan 2020 10:12:07 +0100 Subject: [PATCH 2/2] Fix ckb_IQ [BZ #9809] Add ckb_IQ to SUPPORTED file. Add ckb_IQ.UTF-8.in collation test file. --- localedata/Makefile | 2 + localedata/SUPPORTED | 1 + localedata/ckb_IQ.UTF-8.in | 105 ++++++++++ localedata/locales/ckb_IQ | 395 ++++++++----------------------------- 4 files changed, 194 insertions(+), 309 deletions(-) create mode 100644 localedata/ckb_IQ.UTF-8.in 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..1e47561909 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 abbrevation: 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 -order_start forward; forward -% -% Kurdish numeric characters. -% - - - - - - - - - - +% Copy the template from ISO/IEC 14651 +copy "iso14651_t1" -% -% Characters from space to / and from : to ~ and nbsp. -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% -% Kurish alphabet order. -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +reorder-after % ر + % Ú• -% - % - % 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 "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" -% -% Full weekday names -day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% 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 -- 2.24.1