[1/1] uk_UA: Add alternative month names (bug 10871).

Message ID 2032723806.499694.1516839012513@poczta.nazwa.pl
State Committed
Headers

Commit Message

Rafal Luzynski Jan. 25, 2018, 12:10 a.m. UTC
  Primary month names are in a genitive case now, alternative month names
are in a nominative case.

The alternative digits hack is no longer needed and has been removed.

	[BZ #10871]
	* localedata/locales/uk_UA (mon): Renamed to...
	(alt_mon): This.
	(alt_digits): "0" removed and then renamed to...
	(mon): This.
	(date_fmt): Definition changed not to use the alternative
	digits hack.
---
 localedata/locales/uk_UA | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
  

Comments

Rafal Luzynski Jan. 25, 2018, 1:05 p.m. UTC | #1
25.01.2018 01:10 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
>
> Primary month names are in a genitive case now, alternative month names
> are in a nominative case.
>
> The alternative digits hack is no longer needed and has been removed.
>
> [BZ #10871]
> * localedata/locales/uk_UA (mon): Renamed to...
> (alt_mon): This.
> (alt_digits): "0" removed and then renamed to...
> (mon): This.
> (date_fmt): Definition changed not to use the alternative
> digits hack.
> ---
> localedata/locales/uk_UA | 18 +++++-------------
> 1 file changed, 5 insertions(+), 13 deletions(-)
> [...]

This has been committed.  Dmitry: yes, it passes make check.

Regards,

Rafal
  
Andreas Schwab Jan. 25, 2018, 4:22 p.m. UTC | #2
On Jan 25 2018, Rafal Luzynski <digitalfreak@lingonborough.com> wrote:

> 25.01.2018 01:10 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
>>
>> Primary month names are in a genitive case now, alternative month names
>> are in a nominative case.
>>
>> The alternative digits hack is no longer needed and has been removed.
>>
>> [BZ #10871]
>> * localedata/locales/uk_UA (mon): Renamed to...
>> (alt_mon): This.
>> (alt_digits): "0" removed and then renamed to...
>> (mon): This.
>> (date_fmt): Definition changed not to use the alternative
>> digits hack.
>> ---
>> localedata/locales/uk_UA | 18 +++++-------------
>> 1 file changed, 5 insertions(+), 13 deletions(-)
>> [...]
>
> This has been committed.  Dmitry: yes, it passes make check.

Please don't forget to update ChangeLog.

Andreas.
  
Rafal Luzynski Jan. 25, 2018, 11:32 p.m. UTC | #3
25.01.2018 17:22 Andreas Schwab <schwab@suse.de> wrote:
> [...]
> Please don't forget to update ChangeLog.

Aaargh! I had it prepared locally but it fell off from my git push.
Thanks for notifying, now it's done.

Regards,

Rafal
  

Patch

diff --git a/localedata/locales/uk_UA b/localedata/locales/uk_UA
index 685ee01..207931b 100644
--- a/localedata/locales/uk_UA
+++ b/localedata/locales/uk_UA
@@ -842,8 +842,8 @@  abmon /
         "<U043B><U0438><U0441>"; %lys  /
         "<U0433><U0440><U0443>"  %hru
 
-% A list of month names in proper form for calendar, see alt_digits. (%B)
-mon /
+% A list of month names in proper form for calendar, see mon. (%OB)
+alt_mon /
         "<U0441><U0456><U0447><U0435><U043D><U044C>";   %sichen`  /
         "<U043B><U044E><U0442><U0438><U0439>";    %lyutyj   /
         "<U0431><U0435><U0440><U0435><U0437><U0435><U043D><U044C>"; %berezen` /
@@ -857,16 +857,8 @@  mon /
         "<U043B><U0438><U0441><U0442><U043E><U043F><U0430><U0434>"; %lystopad /
         "<U0433><U0440><U0443><U0434><U0435><U043D><U044C>"   %hruden`
 
-% Initially alt_digits was supposed to hold alternative symbols for _digits_,
-% corresponding to %O modified conversion specification.
-% Although in Ukrainian language alternate _names_ are used instead of digits.
-% We'll use this keyword to present a list of month names in proper form for
-% date, see mon.  (%Om)
-%
-% This hack is dedicated for months it won't work for other %O* modifiers
-% (weeks, days etc).
-%
-alt_digits "0";	     % digits are starting from zero /
+% A list of month names in genitive form, for full date format, with day. (%B)
+mon /
         "<U0441><U0456><U0447><U043D><U044F>";     % sichnya   /
         "<U043B><U044E><U0442><U043E><U0433><U043E>";    % lyutoho   /
         "<U0431><U0435><U0440><U0435><U0437><U043D><U044F>";   % bereznya  /
@@ -881,7 +873,7 @@  alt_digits "0";	     % digits are starting from zero /
         "<U0433><U0440><U0443><U0434><U043D><U044F>"     % hrudnya
 
 % Appropriate date representation for date(1).
-date_fmt       "%A, %-d %Om %Y %X %z"
+date_fmt       "%A, %-d %B %Y %X %z"
 
 % The appropriate date and time format. (%c)
 d_t_fmt  "%a, %d-%b-%Y %X %z"