This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/15260] LC_MESSAGES.{yes,no}{str,expr}: various errors


https://sourceware.org/bugzilla/show_bug.cgi?id=15260

--- Comment #2 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to daxim from comment #0)
> Created attachment 6922 [details]
> Perl tool for dumping LC_MESSAGES from the system glibc-locale installation
> 
> 1. In the locales brx_IN, hne_IN, kok_IN, ml_IN, ta_IN, ta_LK and uk_UA, the
> yesstr/nostr LC_MESSAGES match against the whole answer word, or all letters
> of the answer word, but should only include the initial.

In case of uk_UA, there is a special reason for this, see the comments
in the locale source:


LC_MESSAGES
% WARNING: symbols "Y" and "Cyrillic_N" are placed at one key in Ukrainian
keyboard
% layout although the meaning is semantically opposite ("Y" stands for "Yes"
% while "Cyrillic_N" stands for "No").
%
% This problem may be dealt with by requiring at least two letters to be
% entered in Ukrainian language.

% A regular expression that describes possible yes-responses
% "y", "Y", "+", "ta" or "tak" in Cyrillic
yesexpr "^([+1Yy]|[Тт][Аа][Кк]?)$"

% WARNING: symbols "N" and "Cyrillic_T" are placed at one key in Ukrainian
% keyboard layout although the meaning is semantically opposite ("N" stands for
% "No" while "Cyrillic_T" stands for "Yes").
%
% We may require two Ukrainian letters as input to deal with this potential
% problem.

% A regular expression that describes possible no-responses.
% "n", "N", "-" or word "ni" in Cyrillic
noexpr  "^([-0Nn]|[Нн][Іі])$"

% Output string for ``yes'' ("tak").
yesstr "так"

% Output string for ``no'' ("ni").
nostr "ні"

END LC_MESSAGES

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]