From patchwork Wed May 8 08:12:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 1932880 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Olx7K24M; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VZ7Fd6SsZz20fc for ; Wed, 8 May 2024 18:13:41 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0DCB8392AC3C for ; Wed, 8 May 2024 08:13:40 +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 5345E393743A for ; Wed, 8 May 2024 08:12:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5345E393743A 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 5345E393743A 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=1715155951; cv=none; b=tYeEucQ9DzmnLfCmQTHc5GX+tN/trFiK6CCwE43ZCHATIXOrIQ5eUAHccwK07eGD8JD3pEPMQ8WgU9lZaqnKg6YTzF04xfEIW2TOChCS8C32j2Q1prtwc8Kafyp46fXcwL+kPQZUTy5MhfV6pCybpW02YI1WEboDQ44Is462CZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715155951; c=relaxed/simple; bh=OGbteFbbBtEJmwa468G2QdNXwtyrNSlD6hRVewyiBvM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=aHY0DCd+6d9N9JHZ5VeCpVcvsm4rVjRhDkuxhbswTQmHA4xxNVBtmuKVrBM6EJ6K89KygU4faDeUxv2cuoAULkI8XdZaaNLGyZSg8OFChLqz4ZrR4yh3Y7IksICWTbDcCRro32L1yYzj8f9ne1vyIA0wXCx5damm+yrfFZT0vDw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715155948; 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=WBZVVIOVCDLMG+t9OhMfxyspuLc1VruSVmOWenkLicI=; b=Olx7K24MU1rsIkkTps/+DRJj6Grxn2BP8CE8RsH9na+uku364Z1V5KmXYLdmr5/NMgy/ex 4oS2yfjKzDLULhm9pCO1TSr5yRXSefNA39NK6MPAu4jBfufEPD+U1du9dDAX0anNmpYoh9 FgB5fTL7s/RqSzREUlj+6Co9G29skvc= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-605-zfKgTFlAMZuDXknMN0HGtg-1; Wed, 08 May 2024 04:12:27 -0400 X-MC-Unique: zfKgTFlAMZuDXknMN0HGtg-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a59a1fe7396so241528466b.3 for ; Wed, 08 May 2024 01:12:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715155946; x=1715760746; 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=WBZVVIOVCDLMG+t9OhMfxyspuLc1VruSVmOWenkLicI=; b=gZEjyY/AGKG2KZRVX8CUwuSPOOfiNm9Vq2icQkgFSacr8MrSNPaVWQudB9fQebPuPz 0CauwZt5HzdIfimZuRbkdAfK7eThrvwsYgPI7VdvIv3VhOgK7xNPmtUDolqaRk+4i+7J BScMIbZtts2/LwP5h4hPadBIOEFsZLNkelInwEB6T6lt2s7VYXbFdDwVDEiBA3Iym0IS o251sLse7pCb1DliIhnjzyRoRN/Nbqjpl+olWyhFIPALgI8ytt9JgNX6ddN2BGZj74Ii Kho0iFzdWxbKni6BUGXTIXoWrU4SVdM2EL37oxQ6ZvdRF7vYKE4HFb0l2ewznc0iZUF2 36Ow== X-Gm-Message-State: AOJu0YxGAHdS5eD1Z+GUe8ahtdGBAYp5bk3onOTfgLMCMK8+2t2Gp1G9 GOqoWN0xfBWOTZ1EstdyN8rDNIJMKzzVZQOiRxWB+DNDXwUCJKtyWx1YoLhtA+p1HZwohQYI8Fa 5L1ZBHtXOQ4mfvs39cy3ONpzYHfndSH14JwTpvjn0lKvYBWaWp3FiMl8ii6ieHMm8 X-Received: by 2002:a17:906:3488:b0:a59:bfab:b254 with SMTP id a640c23a62f3a-a59fb9e327amr94371766b.64.1715155945785; Wed, 08 May 2024 01:12:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAfu0/nP6ZX/wgbmtsNj6F2r2E+LFUva3P9ytxF/sYUq1WLPgcdxWx6GGlukvlrjaww4bMRQ== X-Received: by 2002:a17:906:3488:b0:a59:bfab:b254 with SMTP id a640c23a62f3a-a59fb9e327amr94370366b.64.1715155945279; Wed, 08 May 2024 01:12:25 -0700 (PDT) Received: from hathi.site (p200300efa71811003534172f71b7edb9.dip0.t-ipconnect.de. [2003:ef:a718:1100:3534:172f:71b7:edb9]) by smtp.gmail.com with ESMTPSA id ag3-20020a1709069a8300b00a59a6fac3besm5306934ejc.211.2024.05.08.01.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 01:12:24 -0700 (PDT) Received: by hathi.site (Postfix, from userid 10030) id BE2AC85A52; Wed, 8 May 2024 10:12:23 +0200 (CEST) From: Mike FABIAN To: libc-alpha@sourceware.org Cc: Mike FABIAN Subject: [PATCH 1/2] localedata: add mdf_RU locale Date: Wed, 8 May 2024 10:12:20 +0200 Message-ID: <20240508081222.1366316-1-mfabian@redhat.com> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.8 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, WEIRD_QUOTING 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+incoming=patchwork.ozlabs.org@sourceware.org Resolves: BZ # 31530 --- localedata/Makefile | 2 + localedata/SUPPORTED | 1 + localedata/locales/mdf_RU | 198 +++++++++++++++++++++++++++++++++++++ localedata/mdf_RU.UTF-8.in | 6 ++ 4 files changed, 207 insertions(+) create mode 100644 localedata/locales/mdf_RU create mode 100644 localedata/mdf_RU.UTF-8.in diff --git a/localedata/Makefile b/localedata/Makefile index 6d0bac225b..14532bf07c 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -93,6 +93,7 @@ test-input := \ ln_CD.UTF-8 \ lt_LT.UTF-8 \ lv_LV.UTF-8 \ + mdf_RU.UTF-8 \ mi_NZ.UTF-8 \ ml_IN.UTF-8 \ mn_MN.UTF-8 \ @@ -358,6 +359,7 @@ LOCALES := \ ln_CD.UTF-8 \ lt_LT.UTF-8 \ lv_LV.UTF-8 \ + mdf_RU.UTF-8 \ mi_NZ.UTF-8 \ ml_IN.UTF-8 \ mn_MN.UTF-8 \ diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index a2f3132480..759895cc3a 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -318,6 +318,7 @@ lzh_TW/UTF-8 \ mag_IN/UTF-8 \ mai_IN/UTF-8 \ mai_NP/UTF-8 \ +mdf_RU/UTF-8 \ mfe_MU/UTF-8 \ mg_MG.UTF-8/UTF-8 \ mg_MG/ISO-8859-15 \ diff --git a/localedata/locales/mdf_RU b/localedata/locales/mdf_RU new file mode 100644 index 0000000000..a381949121 --- /dev/null +++ b/localedata/locales/mdf_RU @@ -0,0 +1,198 @@ +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. + +% Moksha Language Locale for Russia +% Source: +% Contact: Pavel Malashkin +% Email: <2odissey@gmail.com> +% Language: mdf +% Territory: RU +% Revision: 0.1 +% Date: 2024-01-18 +% Application: general +% Users: general + +% +% TODO: check LC_COLLATE +% +% needed extra cyrillic chars: Ә , ә +% +% Note: Moksha adopted latin alphabet should gradually +% replace cyrillic alphabet + +LC_IDENTIFICATION +title "Moksha language locale for Russia" +source "Pavel Malashkin" +address "" +contact "Pavel Malashkin" +email "2odissey@gmail.com" +tel "" +fax "" +language "Moksha" +territory "Russia" +revision "0.1" +date "2024-01-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_PAPER +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +END LC_IDENTIFICATION + +LC_COLLATE + +% There is no collation information for Moksha in CLDR. +% +% Moksha Cyrillic alphabet +% +% А а Б б В в Г г Д д Е е Ё ё Ж ж +% З з И и Й й К к Л л М м Н н О о +% П п Р р С с Т т У у Ф ф Х х Ц ц +% Ч ч Ш ш Щ щ Ъ ъ Ы ы Ь ь Э э Ю ю +% Я я Ӑ ӑ Ӓ ӓ +% +% Note: letter Ъ ъ has been replaced with letter Ӑ ӑ (A with breeve) +% for represent the mid central vowel [ə] +% +% Note: for represent near-open front unrounded vowel [æ] +% use letter Ӓ ӓ (A with diaeresis) + +copy "iso14651_t1" + +collating-symbol +collating-symbol + +% Ӑ after Я +reorder-after % Cyrillic Small Letter Ya (я) + + + +ӑ ;;;IGNORE +Ӑ ;;;IGNORE +ӓ ;;;IGNORE +Ӓ ;;;IGNORE + +reorder-end + +END LC_COLLATE + +LC_CTYPE +copy "ru_RU" +END LC_CTYPE + +LC_MESSAGES +yesexpr "^[+1yYдД]" +noexpr "^[-0nNаА]" +yesstr "да" % да +nostr "аш" % аш +END LC_MESSAGES + +% Use Russian monetary standards only for cyrillic locale +LC_MONETARY +copy "ru_RU" +END LC_MONETARY + +% Use Russian numeric standards +LC_NUMERIC +copy "ru_RU" +END LC_NUMERIC + +LC_TIME +% day - The full names of the week days: +% https://en.wiktionary.org/wiki/Appendix:Days_of_the_week +day "таргоши";/ + "одговши";/ + "шавши";/ + "вержи";/ + "шуваланя";/ + "цилеши";/ + "ёткши" +% abday - The abbreviations for the week days: +abday "тар";/ + "одг";/ + "шав";/ + "вер";/ + "шув";/ + "цил";/ + "ётк" +mon "январь";/ + "февраль";/ + "март";/ + "апрель";/ + "май";/ + "июнь";/ + "июль";/ + "август";/ + "сентябрь";/ + "октябрь";/ + "ноябрь";/ + "декабрь" +abmon "янв";/ + "фев";/ + "мар";/ + "апр";/ + "май";/ + "июн";/ + "июл";/ + "авг";/ + "сен";/ + "окт";/ + "ноя";/ + "дек" +d_t_fmt "%a %d %b %Y %T" +date_fmt "%a %d %b %Y %T %Z" +d_fmt "%d.%m.%Y" +t_fmt "%T" +am_pm "";"" +t_fmt_ampm "" +week 7;19971130;1 +first_weekday 2 +END LC_TIME + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_TELEPHONE +copy "ru_RU" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "i18n" +END LC_MEASUREMENT + +LC_NAME +copy "ru_RU" +END LC_NAME + +LC_ADDRESS +% Use Russian postal format +postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N" +% https://mdf.wikipedia.org/wiki/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F_%D0%BC%D0%B0%D1%81%D1%82%D0%BE%D1%80 : Россия мастор +country_name "Россия мастор" +country_ab2 "RU" +country_ab3 "RUS" +country_num 643 +country_car "RUS" +% https://mdf.wikipedia.org/wiki/%D0%9C%D0%BE%D0%BA%D1%88%D0%B5%D0%BD%D1%8C_%D0%BA%D1%8F%D0%BB%D1%8C : Мокшень кяль +lang_name "Мокшень кяль" +% ISO 639 language abbreviations: +% 639-1 2 letter, 639-2 3 letter terminology +lang_ab "" +lang_term "mdf" +lang_lib "mdf" +END LC_ADDRESS diff --git a/localedata/mdf_RU.UTF-8.in b/localedata/mdf_RU.UTF-8.in new file mode 100644 index 0000000000..b69da39b85 --- /dev/null +++ b/localedata/mdf_RU.UTF-8.in @@ -0,0 +1,6 @@ +я +Я +ӑ +Ӑ +ӓ +Ӓ