* [PATCH][BZ 22848] Update LC_TIME for Catalan
@ 2018-03-06 23:40 Rafal Luzynski
2018-03-07 1:24 ` [PATCH v2][BZ 22848] ca_ES locale: " Rafal Luzynski
0 siblings, 1 reply; 4+ messages in thread
From: Rafal Luzynski @ 2018-03-06 23:40 UTC (permalink / raw)
To: libc-alpha
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
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
[-- Attachment #2: 10874.patch --]
[-- Type: text/x-patch, Size: 4149 bytes --]
From d1f8d75c56db51f7c274fbc0507d3bb3e309eefe Mon Sep 17 00:00:00 2001
From: rbuj <robert.buj@gmail.com>
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 <robert.buj@gmail.com>
+
+ [BZ 22848]
+ * localedata/locales/ca_ES (LC_TIME): update (including ab_alt_mon
+ support).
+
2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
* 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<U00E7>";/
- "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<U00E7>";/
+ "abr.";/
+ "maig";/
+ "juny";/
+ "jul.";/
+ "ag.";/
+ "set.";/
+ "oct.";/
+ "nov.";/
+ "des."
+abmon "de gen.";/
+ "de febr.";/
+ "de mar<U00E7>";/
+ "d<U2019>abr.";/
+ "de maig";/
+ "de juny";/
+ "de jul.";/
+ "d<U2019>ag.";/
+ "de set.";/
+ "d<U2019>oct.";/
+ "de nov.";/
+ "de des."
+alt_mon "gener";/
+ "febrer";/
+ "mar<U00E7>";/
+ "abril";/
+ "maig";/
+ "juny";/
+ "juliol";/
+ "agost";/
+ "setembre";/
+ "octubre";/
+ "novembre";/
+ "desembre"
+mon "de gener";/
+ "de febrer";/
+ "de mar<U00E7>";/
+ "d<U2019>abril";/
+ "de maig";/
+ "de juny";/
+ "de juliol";/
+ "d<U2019>agost";/
+ "de setembre";/
+ "d<U2019>octubre";/
+ "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<U00E0>"
lang_ab "ca"
lang_term "cat"
-lang_lib "cat"
+lang_lib "cat"
END LC_ADDRESS
--
2.14.3 (Apple Git-98)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2][BZ 22848] ca_ES locale: Update LC_TIME for Catalan
2018-03-06 23:40 [PATCH][BZ 22848] Update LC_TIME for Catalan Rafal Luzynski
@ 2018-03-07 1:24 ` Rafal Luzynski
2018-03-07 1:25 ` Rafal Luzynski
0 siblings, 1 reply; 4+ messages in thread
From: Rafal Luzynski @ 2018-03-07 1:24 UTC (permalink / raw)
To: libc-alpha; +Cc: Robert Buj
This is the second version of the patch. The main body is not
changed, I only polished the commit message and other chrome,
also removed the diff for ChangeLog, as required by the rules of
this list. While I am a locale data maintainer and I can't expect
anyone else to review the content of the patch (except Mike and
Robert) I'm asking you to review the commit messages.
Questions:
1. OK to commit to the master trunk?
2. OK to commit to the stable 2.27 trunk? AFAIK Robert has already
adapted his translations of the applications to the new format
and reported the downstream bug [1] waiting for this patch.
So it seems that backporting it is less harmful than not backporting.
Regards,
Rafal
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1546495
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2][BZ 22848] ca_ES locale: Update LC_TIME for Catalan
2018-03-07 1:24 ` [PATCH v2][BZ 22848] ca_ES locale: " Rafal Luzynski
@ 2018-03-07 1:25 ` Rafal Luzynski
2018-03-15 9:26 ` Rafal Luzynski
0 siblings, 1 reply; 4+ messages in thread
From: Rafal Luzynski @ 2018-03-07 1:25 UTC (permalink / raw)
To: libc-alpha; +Cc: Robert Buj
[-- Attachment #1: Type: text/plain, Size: 44 bytes --]
As usually, I forgot to attach the patch. :)
[-- Attachment #2: 0001-ca_ES-locale-Update-LC_TIME-bug-22848.patch --]
[-- Type: text/x-patch, Size: 4334 bytes --]
From 78ca6984c4470a50f62512721bcf0ccb3dc8bfcb Mon Sep 17 00:00:00 2001
From: Robert Buj <robert.buj@gmail.com>
Date: Tue, 6 Mar 2018 22:51:29 +0100
Subject: [PATCH] ca_ES locale: Update LC_TIME (bug 22848).
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Add/fix alternative month names, long & short formats, am_pm,
abday settings, and improve indentation for Catalan.
[BZ 22848]
* localedata/locales/ca_ES (abmon): Rename to...
(ab_alt_mon): This, then synchronize with CLDR (nominative case).
(mon): Rename to...
(alt_mon): This.
(abmon): Import from CLDR (genitive case, month names preceded by
"de" or "d’").
(mon): Likewise.
(abday): Synchronize with CLDR.
(d_t_fmt): Likewise.
(d_fmt): Likewise.
(am_pm): Likewise.
(LC_TIME): Improve indentation.
(LC_TELEPHONE): Likewise.
(LC_NAME): Likewise.
(LC_ADDRESS): Likewise.
---
ChangeLog | 20 +++++++++
localedata/locales/ca_ES | 111 ++++++++++++++++++++++++++++++-----------------
2 files changed, 91 insertions(+), 40 deletions(-)
diff --git a/localedata/locales/ca_ES b/localedata/locales/ca_ES
index c20d393..5d82978 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<U00E7>";/
- "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<U00E7>";/
+ "abr.";/
+ "maig";/
+ "juny";/
+ "jul.";/
+ "ag.";/
+ "set.";/
+ "oct.";/
+ "nov.";/
+ "des."
+abmon "de gen.";/
+ "de febr.";/
+ "de mar<U00E7>";/
+ "d<U2019>abr.";/
+ "de maig";/
+ "de juny";/
+ "de jul.";/
+ "d<U2019>ag.";/
+ "de set.";/
+ "d<U2019>oct.";/
+ "de nov.";/
+ "de des."
+alt_mon "gener";/
+ "febrer";/
+ "mar<U00E7>";/
+ "abril";/
+ "maig";/
+ "juny";/
+ "juliol";/
+ "agost";/
+ "setembre";/
+ "octubre";/
+ "novembre";/
+ "desembre"
+mon "de gener";/
+ "de febrer";/
+ "de mar<U00E7>";/
+ "d<U2019>abril";/
+ "de maig";/
+ "de juny";/
+ "de juliol";/
+ "d<U2019>agost";/
+ "de setembre";/
+ "d<U2019>octubre";/
+ "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<U00E0>"
lang_ab "ca"
lang_term "cat"
-lang_lib "cat"
+lang_lib "cat"
END LC_ADDRESS
--
2.7.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2][BZ 22848] ca_ES locale: Update LC_TIME for Catalan
2018-03-07 1:25 ` Rafal Luzynski
@ 2018-03-15 9:26 ` Rafal Luzynski
0 siblings, 0 replies; 4+ messages in thread
From: Rafal Luzynski @ 2018-03-15 9:26 UTC (permalink / raw)
To: libc-alpha; +Cc: Robert Buj
7.03.2018 02:25 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
>
>
> As usually, I forgot to attach the patch. :)
Pushed to master with minor tweaks of the ChangeLog but I am going
to backport it to 2.27 stable as well.
Regards,
Rafal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-15 9:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 23:40 [PATCH][BZ 22848] Update LC_TIME for Catalan Rafal Luzynski
2018-03-07 1:24 ` [PATCH v2][BZ 22848] ca_ES locale: " Rafal Luzynski
2018-03-07 1:25 ` Rafal Luzynski
2018-03-15 9:26 ` Rafal Luzynski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).