From patchwork Tue Jan 9 15:49:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 83659 X-Patchwork-Delegate: mfabian@redhat.com Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D720D3858C74 for ; Tue, 9 Jan 2024 15:50:13 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id A69273858C74 for ; Tue, 9 Jan 2024 15:49:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A69273858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A69273858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704815380; cv=none; b=LnWSs/D+UPG1HJbUeN14AOIv5ocKH8NFuWtzQe6MGW/GwKbiKDBeZR6p3YraChKEfu5At4kTFl6O1XP2UhU3X8tAjGKyAUni+o99ikZL4t0Zz0vdtpi6cTVzwSJLX7R3rSfVSCbOn8dJdsRyXgYGZseI7xGnXKatkd7i5yipyPU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704815380; c=relaxed/simple; bh=EF7QahHno4eEvbluMxHHPiJp9ClRg1XhUgtxOL2Japw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rEsBXFrNG6N51kuNAKPFCg7pStr3fZj7k3oZBa87PcTIje73ZcuJ9y8LgTHJ25yhTZtnHBUZpNQAsokbvcNxm42QvlBm29sZrGkAKj1uYT9OVnUyXoHLy6QvCHYacswkI8IEmE3xpIzWr3nYo9p/QBvJP5g28gKeFHA8msYaSqg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704815378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RjvEjJS2WdKpCWUAY+Xc2VYBZV491YAxEu/s+6/csxg=; b=MW2TTmtVLG12w04lN25fLR+szKrvG+ct+SVMHhyRALt2YbBOezN1HzQUqSiSnryUD5ag3s 41MLmKSoif6kVfxb9Gm+f6//Qgh+a/WREW0x1Ze2R0RSvkk/Q7BzXW61N5BYslDVSPVC5A ZoWuWDT+mVHHU42xBL2xggQ6lkV0mr4= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-391-wV60bsRnPHyNNJWWcTHRiA-1; Tue, 09 Jan 2024 10:49:36 -0500 X-MC-Unique: wV60bsRnPHyNNJWWcTHRiA-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-33769c5db4aso1564819f8f.0 for ; Tue, 09 Jan 2024 07:49:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704815375; x=1705420175; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RjvEjJS2WdKpCWUAY+Xc2VYBZV491YAxEu/s+6/csxg=; b=b/aZ/IYY+SmiYGj2AyaUjTOnIldt0NzNftsXletLNsjPmIBAQFsFOFQpUUQu5JKbLE omM9U/0jQI5O84Gk291cxgWthKWMtI9X6kbLOB3Vw76dLTl90QWIVaF3VVT/tVIzNRvg 28pBVOzgm3ZG3AsvFcPV0VswcneLP29VC1mHdY26Am93v4ysjB8maQMGgMVYP/p+8hdo UqdBgsZUQSiEKBR7/kpPkALG2HZyj3f3paFsOPb2viA/qRc8d42+cX2bR1GqcWsSJa1r NULqQyg5ad7MUdRDAyhiDowpWFUO5lx50T91QT2d0ePzQP7p5lo/4meZscOaD7OVIFXw 2MAA== X-Gm-Message-State: AOJu0Yzwij6ffvv3tz3DqD0YzABU9/rVG6qajxKx0B5eiTfg1N9/CsCC ykKB0vgUZBZQpH06V4PJngIiNU7FZNcSHWrhkDuK91kpzEuRvK8MeFcoRpJ25pcLAUDQJkKRuBR xJ85kEp5L7cFrBjUMtEaKVtnuj8MltXcA0HE= X-Received: by 2002:adf:f0cd:0:b0:336:b937:3d0e with SMTP id x13-20020adff0cd000000b00336b9373d0emr823213wro.14.1704815375244; Tue, 09 Jan 2024 07:49:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwIY4pzE4ikiaL/1q5tA/3wLXiTSoOUDm/sG7NicUBepQnoyynDKyyU7MUP/6qVNlu/+pjEg== X-Received: by 2002:adf:f0cd:0:b0:336:b937:3d0e with SMTP id x13-20020adff0cd000000b00336b9373d0emr823206wro.14.1704815374880; Tue, 09 Jan 2024 07:49:34 -0800 (PST) Received: from hathi.site (p200300efa70fc1004d26878fe8803456.dip0.t-ipconnect.de. [2003:ef:a70f:c100:4d26:878f:e880:3456]) by smtp.gmail.com with ESMTPSA id d4-20020adfe884000000b003367a5b6b69sm2713933wrm.106.2024.01.09.07.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 07:49:34 -0800 (PST) Received: by hathi.site (Postfix, from userid 10030) id ADC1B848D9; Tue, 9 Jan 2024 16:49:33 +0100 (CET) From: Mike FABIAN To: libc-alpha@sourceware.org Cc: Mike FABIAN Subject: [PATCH 1/3] localedata: add new locale zgh_MA Date: Tue, 9 Jan 2024 16:49:29 +0100 Message-ID: <20240109154932.1729654-1-mfabian@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Resolves: BZ # 12908 https://iso639-3.sil.org/code/zgh --- locale/iso-639.def | 1 + localedata/SUPPORTED | 1 + localedata/locales/zgh_MA | 190 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 localedata/locales/zgh_MA diff --git a/locale/iso-639.def b/locale/iso-639.def index 0bdceb784d..313154bd3c 100644 --- a/locale/iso-639.def +++ b/locale/iso-639.def @@ -451,6 +451,7 @@ DEFINE_LANGUAGE_CODE3 ("South American Indian (Other)", sai, sai) DEFINE_LANGUAGE_CODE3 ("Southern Sami", sma, sma) DEFINE_LANGUAGE_CODE ("Spanish; Castilian", es, spa, spa) DEFINE_LANGUAGE_CODE3 ("Sranan Tongo", srn, srn) +DEFINE_LANGUAGE_CODE3 (" Standard Moroccan Tamazight", zgh, zgh) DEFINE_LANGUAGE_CODE3 ("Sukuma", suk, suk) DEFINE_LANGUAGE_CODE3 ("Sumerian", sux, sux) DEFINE_LANGUAGE_CODE ("Sundanese", su, sun, sun) diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 934d273507..1483e4f0cf 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -479,6 +479,7 @@ yi_US/CP1255 \ yo_NG/UTF-8 \ yue_HK/UTF-8 \ yuw_PG/UTF-8 \ +zgh_MA/UTF-8 \ zh_CN.GB18030/GB18030 \ zh_CN.GBK/GBK \ zh_CN.UTF-8/UTF-8 \ diff --git a/localedata/locales/zgh_MA b/localedata/locales/zgh_MA new file mode 100644 index 0000000000..2c5df8e8a5 --- /dev/null +++ b/localedata/locales/zgh_MA @@ -0,0 +1,190 @@ +comment_char % +escape_char / + +% This file is part of the GNU C Library and contains locale data. +% The Free Software Foundation does not claim any copyright interest +% in the locale data contained in this file. The foregoing does not +% affect the license of the GNU C Library as a whole. It does not +% exempt you from the conditions of the license if your use would +% otherwise be governed by that license. + +% Tamazight language locale for Morocco +% Contributed by OUBOUALI Hakim +% and Yassine Aït-El-Mouden + +LC_IDENTIFICATION +title "Tamazight language locale for Morocco" +source "" +contact "OUBOUALI Hakim" +email "hakim.oubouali@etu.cyu.fr" +language "Moroccan Tamazight" +territory "Morocco" +revision "1.0" +date "2020-10-18" + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT +END LC_IDENTIFICATION + + + +LC_CTYPE +copy "i18n" + +translit_start +include "translit_combining";"" +translit_end +END LC_CTYPE + +LC_COLLATE + +% Copy the template from ISO/IEC 14651 +copy "iso14651_t1" + +END LC_COLLATE + + +LC_TIME +day "ⴰⵙⴰⵎⴰⵙ";/ + "ⴰⵢⵏⵏⴰⵙ";/ + "ⴰⵢⵙⵉⵏⴰⵙ";/ + "ⴰⴽⵕⴰⵙ";/ + "ⴰⴽⵡⴰⵙ";/ + "ⴰⵙⵉⵎⵡⴰⵙ";/ + "ⴰⵙⵉⴹⵢⴰⵙ" + +abday "ⴰⵙⴰ";/ + "ⴰⵢⵏ";/ + "ⴰⵙⵏ";/ + "ⴰⴽⵕ";/ + "ⴰⴽⵡ";/ + "ⴰⵙⵎ";/ + "ⴰⵙⴹ" + +mon "ⵉⵏⵏⴰⵢⵔ";/ + "ⴱⵕⴰⵢⵕ";/ + "ⵎⴰⵕⵚ";/ + "ⵉⴱⵔⵉⵔ";/ + "ⵎⴰⵢⵢⵓ";/ + "ⵢⵓⵏⵢⵓ";/ + "ⵢⵓⵍⵢⵓⵣ";/ + "ⵖⵓⵛⵜ";/ + "ⵛⵓⵜⴰⵏⴱⵉⵔ";/ + "ⴽⵟⵓⴱⵕ";/ + "ⵏⵓⵡⴰⵏⴱⵉⵔ";/ + "ⴷⵓⵊⴰⵏⴱⵉⵔ" + +abmon "ⵉⵏⵏ";/ + "ⵉⴱⵔ";/ + "ⵎⵕⵚ";/ + "Apr";/ + "ⵎⴰⵢ";/ + "ⵢⵓⵏ";/ + "ⵢⵓⵍ";/ + "ⵖⵓⵛ";/ + "ⵛⵓⵜ";/ + "ⴽⵟⵓ";/ + "ⵏⵓⵡ";/ + "ⴷⵓⵊ" +% +% Appropriate date and time representation +d_t_fmt "%a %d %b %Y %T" +% +% Appropriate date and time representation for date(1) +date_fmt "%a %d %b %Y %T %Z" +% Appropriate date representation +d_fmt "%d//%m//%Y" +% Appropriate time representation +t_fmt "%T" +% Appropriate 12 h time representation +t_fmt_ampm "%I:%M:%S %p" +% +% Strings for AM/PM +% +am_pm "ⵏ ⵜⵉⴼⴰⵡⵜ";"ⵏ ⵜⴷⴳⴳⵯⴰⵜ" +week 7;19971130;1 +first_weekday 7 +first_workday 1 +END LC_TIME + +LC_NUMERIC +decimal_point "," +thousands_sep "" +grouping 3 +END LC_NUMERIC + +LC_MONETARY +% This is the POSIX Locale definition the LC_MONETARY category. +% These are generated based on XML base Locale definition file +% for IBM Class for Unicode/Java +% +int_curr_symbol "MAD " +currency_symbol "ⴷ.ⵎ" +mon_decimal_point "." +mon_thousands_sep "," +mon_grouping 3 +positive_sign "" +negative_sign "-" +int_frac_digits 3 +frac_digits 3 +p_cs_precedes 1 +p_sep_by_space 1 +n_cs_precedes 1 +n_sep_by_space 1 +p_sign_posn 1 +n_sign_posn 2 +% +END LC_MONETARY + +LC_MESSAGES +yesexpr "^[+1yYiI]" +noexpr "^[-0nNuUaA]" +yesstr "ⵢⴰⵀ" +nostr "ⵓⵀⵓ" +END LC_MESSAGES + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_NAME +name_fmt "%d%t%g%t%m%t%f" +name_miss "ⵜⴰⵎⵙⵉⵡⵜ" +name_mr "ⵎⴰⵙⵙ" +name_mrs "ⵎⴰⵙⵙⴰ" +name_ms "ⵎⴰⵙⵙⴰ" +END LC_NAME + +LC_ADDRESS +postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N" +country_name "ⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵓⵎⵔⵔⵓⴽ" +country_ab2 "MA" +country_ab3 "MAR" +country_num 504 +country_car "MA" +lang_name "ⵜⴰⵎⴰⵣⵉⵖⵜ" +lang_term "zgh" +lang_lib "zgh" +END LC_ADDRESS + +LC_TELEPHONE +% This is the ISO_IEC TR14652 Locale definition for the +% +tel_int_fmt "+%c ;%a ;%l" +int_prefix "212" +int_select "00" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "ar_MA" +END LC_MEASUREMENT