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] Added yesstr and nostr for Tigrinya


Mike FABIAN <mfabian@redhat.com> さんはかきました:

> Akhilesh Kumar <akhilesh.k@samsung.com> さんはかきました:
>
>> [BZ #21759]
>>        Added yesstr/nostr for ti_ER and ti_ET
>>
>> Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
>> ---
>>  localedata/locales/ti_ER |    2 ++
>>  localedata/locales/ti_ET |    2 ++
>>  2 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/localedata/locales/ti_ER b/localedata/locales/ti_ER
>> index d177898..c3fec7d 100644
>> --- a/localedata/locales/ti_ER
>> +++ b/localedata/locales/ti_ER
>> @@ -160,6 +160,8 @@ END LC_ADDRESS
>>  LC_MESSAGES
>>  yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U005D>"
>>  noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
>> +yesstr  "<U12A5><U12C8>"
>> +nostr   "<U1290><U1296><U12A5><U0020>"
>>  END LC_MESSAGES
>>  
>>  
>> diff --git a/localedata/locales/ti_ET b/localedata/locales/ti_ET
>> index 0ed9fa4..911e509 100644
>> --- a/localedata/locales/ti_ET
>> +++ b/localedata/locales/ti_ET
>> @@ -962,6 +962,8 @@ END LC_ADDRESS
>>  LC_MESSAGES
>>  yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U005D>"
>>  noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
>> +yesstr  "<U12A5><U12C8>"
>> +nostr   "<U1290><U1296><U12A5><U0020>"
>>  END LC_MESSAGES
>
> /locales/ti_ET:965: LC_MESSAGES: unknown character in field `yesstr'

The reason is that om_KE uses:

LC_MESSAGES
copy "om_ET"
END LC_MESSAGES

and om_ET uses

LC_MESSAGES
copy "ti_ET"
END LC_MESSAGES

and SUPPORTED contains:

om_KE.UTF-8/UTF-8 \
om_KE/ISO-8859-1 \

i.e. we try to build a om_KE.ISO-8859-1 locale but the characters you
are trying to add to yesstr and nostr for ti_ET cannot be converted
to ISO-8859-1.

We could solve that by not using “copy "ti_ET"” but writing a new
LC_MESSAGES part for om_ET.

-- 
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]