From patchwork Tue Mar 6 23:40:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rafal Luzynski X-Patchwork-Id: 26222 Received: (qmail 88293 invoked by alias); 6 Mar 2018 23:40:24 -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 88284 invoked by uid 89); 6 Mar 2018 23:40:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, WEIRD_QUOTING autolearn=ham version=3.3.2 spammy=novembre, H*c:PHrt, preposition, month X-HELO: ano163.rev.netart.pl X-Spam-Score: 0.001 Date: Wed, 7 Mar 2018 00:40:17 +0100 (CET) From: Rafal Luzynski Reply-To: Rafal Luzynski To: libc-alpha@sourceware.org Message-ID: <1382723011.603226.1520379617922@poczta.nazwa.pl> Subject: [PATCH][BZ 22848] Update LC_TIME for Catalan MIME-Version: 1.0 X-Originating-Client: com.openexchange.ox.gui.dhtml This patch has been attached to Bugzilla [1] and I post it here without any changes. I think it may need some polish of the commit message and the changelog but I find its body correct. This patch updates some LC_TIME fields from CLDR, the biggest change is that it applies the nominative/genitive case to Catalan language, as implemented in the previous development cycle. [2] It turns out that Catalan language actually needs the ab_alt_mon feature (and %Ob in strftime) because its genitive "de"/"d’" preposition is also added to the abbreviated month names. Regards, Rafal [1] https://sourceware.org/bugzilla/attachment.cgi?id=10874 [2] https://sourceware.org/bugzilla/show_bug.cgi?id=10871 From d1f8d75c56db51f7c274fbc0507d3bb3e309eefe Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 6 Mar 2018 22:51:29 +0100 Subject: [PATCH] update LC_TIME for Catalan Add/fix alternative month names, long & short formats, am_pm, abday settings, and improve ident for Catalan. --- ChangeLog | 6 +++ localedata/locales/ca_ES | 111 ++++++++++++++++++++++++++++++----------------- 2 files changed, 77 insertions(+), 40 deletions(-) diff --git a/ChangeLog b/ChangeLog index a24ed86474..25344eda1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-03-06 Robert Buj + + [BZ 22848] + * localedata/locales/ca_ES (LC_TIME): update (including ab_alt_mon + support). + 2018-03-06 Siddhesh Poyarekar * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target. diff --git a/localedata/locales/ca_ES b/localedata/locales/ca_ES index c20d393c2a..5d8297823e 100644 --- a/localedata/locales/ca_ES +++ b/localedata/locales/ca_ES @@ -92,36 +92,67 @@ grouping 0;0 END LC_NUMERIC LC_TIME -abday "dg";"dl";"dt";"dc";"dj";"dv";"ds" -day "diumenge";/ - "dilluns";/ - "dimarts";/ - "dimecres";/ - "dijous";/ - "divendres";/ - "dissabte" -abmon "gen";"feb";/ - "mar";"abr";/ - "mai";"jun";/ - "jul";"ago";/ - "set";"oct";/ - "nov";"des" -mon "gener";/ - "febrer";/ - "mar";/ - "abril";/ - "maig";/ - "juny";/ - "juliol";/ - "agost";/ - "setembre";/ - "octubre";/ - "novembre";/ - "desembre" -d_t_fmt "%a %d %b %Y %T %Z" -d_fmt "%d//%m//%y" -t_fmt "%T" -am_pm "";"" +abday "dg.";"dl.";"dt.";"dc.";"dj.";"dv.";"ds." +day "diumenge";/ + "dilluns";/ + "dimarts";/ + "dimecres";/ + "dijous";/ + "divendres";/ + "dissabte" +ab_alt_mon "gen.";/ + "febr.";/ + "mar";/ + "abr.";/ + "maig";/ + "juny";/ + "jul.";/ + "ag.";/ + "set.";/ + "oct.";/ + "nov.";/ + "des." +abmon "de gen.";/ + "de febr.";/ + "de mar";/ + "dabr.";/ + "de maig";/ + "de juny";/ + "de jul.";/ + "dag.";/ + "de set.";/ + "doct.";/ + "de nov.";/ + "de des." +alt_mon "gener";/ + "febrer";/ + "mar";/ + "abril";/ + "maig";/ + "juny";/ + "juliol";/ + "agost";/ + "setembre";/ + "octubre";/ + "novembre";/ + "desembre" +mon "de gener";/ + "de febrer";/ + "de mar";/ + "dabril";/ + "de maig";/ + "de juny";/ + "de juliol";/ + "dagost";/ + "de setembre";/ + "doctubre";/ + "de novembre";/ + "de desembre" +d_t_fmt "%A, %-d %B de %Y, %T %Z" +d_fmt "%-d//%-m//%y" +t_fmt "%T" +am_pm "a. m.";/ + "p. m." t_fmt_ampm "" week 7;19971130;4 first_weekday 2 @@ -132,9 +163,9 @@ copy "i18n" END LC_PAPER LC_TELEPHONE -tel_int_fmt "+%c %a %l" -int_prefix "34" -int_select "00" +tel_int_fmt "+%c %a %l" +int_prefix "34" +int_select "00" END LC_TELEPHONE LC_MEASUREMENT @@ -142,19 +173,19 @@ copy "i18n" END LC_MEASUREMENT LC_NAME -name_fmt "%d%t%g%t%m%t%f" +name_fmt "%d%t%g%t%m%t%f" 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" +postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N" country_name "Espanya" -country_ab2 "ES" -country_ab3 "ESP" -country_num 724 -country_car "E" +country_ab2 "ES" +country_ab3 "ESP" +country_num 724 +country_car "E" % català lang_name "catal" lang_ab "ca" lang_term "cat" -lang_lib "cat" +lang_lib "cat" END LC_ADDRESS -- 2.14.3 (Apple Git-98)