Patchwork pl_PL: Add alternative month names (bug 10871).

login
register
mail settings
Submitter Rafal Luzynski
Date Jan. 9, 2018, 12:05 a.m.
Message ID <368287513.675204.1515456301081@poczta.nazwa.pl>
Download mbox | patch
Permalink /patch/25279/
State New
Headers show

Comments

Rafal Luzynski - Jan. 9, 2018, 12:05 a.m.
[BZ #10871]
	* localedata/locales/pl_PL: alternative month names added,
	basic month names are genitive now.
---
 localedata/locales/pl_PL | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
Rafal Luzynski - Jan. 9, 2018, 12:20 a.m.
Now I think that maybe this patch should also change these lines
from the first patch:

+  /* TODO: Use the genitive case here as soon as it is added to localedata.  */
+  { "pl_PL.UTF-8", "23 listopad 2017", "%d %B %Y", 4, 326, 10, 23 },

into something like:

-  /* TODO: Use the genitive case here as soon as it is added to localedata.  */
-  { "pl_PL.UTF-8", "23 listopad 2017", "%d %B %Y", 4, 326, 10, 23 },
+  { "pl_PL.UTF-8", "23 listopada 2017", "%d %B %Y", 4, 326, 10, 23 },

I don't mean that the first patch is wrong but it contains a placeholder
for a test which should be added as soon as pl_PL localedata contains
both mon and alt_mon arrays.

Regards,

Rafal
Carlos O'Donell - Jan. 11, 2018, 4:40 a.m.
On 01/08/2018 04:05 PM, Rafal Luzynski wrote:
> 	[BZ #10871]
> 	* localedata/locales/pl_PL: alternative month names added,
> 	basic month names are genitive now.

LGTM (pending other patches).

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> ---
>  localedata/locales/pl_PL | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/localedata/locales/pl_PL b/localedata/locales/pl_PL
> index 2a8d09d..632a1b3 100644
> --- a/localedata/locales/pl_PL
> +++ b/localedata/locales/pl_PL
> @@ -175,7 +175,7 @@ abmon   "sty";"lut";/
>          "lip";"sie";/
>          "wrz";"pa<U017A>";/
>          "lis";"gru"
> -mon     "stycze<U0144>";/
> +alt_mon "stycze<U0144>";/
>          "luty";/
>          "marzec";/
>          "kwiecie<U0144>";/
> @@ -187,6 +187,18 @@ mon     "stycze<U0144>";/
>          "pa<U017A>dziernik";/
>          "listopad";/
>          "grudzie<U0144>"
> +mon     "stycznia";/
> +        "lutego";/
> +        "marca";/
> +        "kwietnia";/
> +        "maja";/
> +        "czerwca";/
> +        "lipca";/
> +        "sierpnia";/
> +        "wrze<U015B>nia";/
> +        "pa<U017A>dziernika";/
> +        "listopada";/
> +        "grudnia"
>  d_t_fmt "%a, %-d %b %Y, %T"
>  d_fmt   "%d.%m.%Y"
>  t_fmt   "%T"
>

Patch

diff --git a/localedata/locales/pl_PL b/localedata/locales/pl_PL
index 2a8d09d..632a1b3 100644
--- a/localedata/locales/pl_PL
+++ b/localedata/locales/pl_PL
@@ -175,7 +175,7 @@  abmon   "sty";"lut";/
         "lip";"sie";/
         "wrz";"pa<U017A>";/
         "lis";"gru"
-mon     "stycze<U0144>";/
+alt_mon "stycze<U0144>";/
         "luty";/
         "marzec";/
         "kwiecie<U0144>";/
@@ -187,6 +187,18 @@  mon     "stycze<U0144>";/
         "pa<U017A>dziernik";/
         "listopad";/
         "grudzie<U0144>"
+mon     "stycznia";/
+        "lutego";/
+        "marca";/
+        "kwietnia";/
+        "maja";/
+        "czerwca";/
+        "lipca";/
+        "sierpnia";/
+        "wrze<U015B>nia";/
+        "pa<U017A>dziernika";/
+        "listopada";/
+        "grudnia"
 d_t_fmt "%a, %-d %b %Y, %T"
 d_fmt   "%d.%m.%Y"
 t_fmt   "%T"