This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH 1/1] For Breton yesstr/nostr locale are missing


Rafal Luzynski <digitalfreak@lingonborough.com> さんはかきました:

> 4.07.2017 13:36 Mike FABIAN <mfabian@redhat.com> wrote:
>>
>>
>> Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
>>
>> > [BZ #21706]
>> > During Locale verification i observed that
>> > yesstr and nostr are missing for Breton [LC_MESSAGES] locale
>> >
>> > Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
>> > ---
>> > localedata/locales/br_FR | 2 ++
>> > 1 file changed, 2 insertions(+)
>> >
>> > diff --git a/localedata/locales/br_FR b/localedata/locales/br_FR
>> > index 3444cde..84c52eb 100644
>> > --- a/localedata/locales/br_FR
>> > +++ b/localedata/locales/br_FR
>> > @@ -99,6 +99,8 @@ END LC_CTYPE
>> > LC_MESSAGES
>> > yesexpr "<U005E><U005B><U002B><U0031><U006F><U004F><U0079><U0059><U005D>"
>> > noexpr "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
>> > +yesstr "<U0059><U0061>"
>> > +nostr "<U004E><U0061><U006E><U006E>"
>> > END LC_MESSAGES
>> >
>> > LC_MONETARY
>> [...]
>> Decoded, this looks like:
>>
>> diff --git a/localedata/locales/br_FR b/localedata/locales/br_FR
>> index 3444cde..84c52eb 100644
>> --- a/localedata/locales/br_FR
>> +++ b/localedata/locales/br_FR
>> @@ -99,6 +99,8 @@ END LC_CTYPE
>> LC_MESSAGES
>> yesexpr "^[+1oOyY]"
>> noexpr "^[-0nN]"
>> +yesstr "Ya"
>> +nostr "Nann"
>> END LC_MESSAGES
>>
>> LC_MONETARY
>>
>> "Ya" and "Nann" indeed seem to be the words for "Yes" and "No" in
>> Breton. So this looks correct to me.
>
> Akhilesh, where do these strings come from?  CLDR (sadly) does not
> provide them for Breton.

I verified this with online dictionaries for Breton.

> Is this correct to always capitalize them?  I mean: do the Breton
> language rules say that "Ya" and "Nann" should always start with
> the uppercase (so "ya" and "nann" are always incorrect)? See:
> https://sourceware.org/bugzilla/show_bug.cgi?id=16975

I don’t know, but I checked the other locales and the capitalization of
these strings is unfortunatly inconsistent. I am not sure what to do
about that:

~$ LC_ALL=zh_SG.UTF-8 locale -k yesstr
yesstr="Yes"
~$ LC_ALL=en_US.UTF-8 locale -k yesstr
yesstr="yes"
~$ 

> Regards,
>
> Rafal

-- 
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。


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