[Xfce-i18n] Possible to translate devel branch of xfce4-panel

????? eskaer_spamsink at ngs.ru
Fri Feb 19 00:18:41 CET 2010


From: "Nick Schermer" <nickschermer at gmail.com>
Sent: Wednesday, February 17, 2010 4:53 AM
To: "Xfce translations mailing list" <xfce-i18n at xfce.org>
Subject: Re: [Xfce-i18n] Possible to translate devel branch of xfce4-panel

> On Tue, Feb 16, 2010 at 8:17 PM, Jari Rahkonen
> <jari.rahkonen at pp1.inet.fi> wrote:
>> Hi,
>>
>> There's a string that cannot be translated to Finnish and probably other
>> languages:
>>
>> #: ../plugins/clock/clock-fuzzy.c:90
>> #, c-format
>> msgid "half past %s"
>>
>> The proper way to say "half past five" in Finnish is "puoli kuusi",
>> which translates literally to "half six". Can you think of a way to make
>> this work?
> 
> Yes I think i can make this work with a custom c-format, where you can
> choose between %0 (hour name) and %1 (hour+1 name). The english
> version would be "half past %0" yours "half %1". Will fix that
> tomorrow.
> 
In this configuration it won't be working for Russian:
5:30 = "half <-an-hour> after *sixth* <hour>" <- needs %1, hour+1, an ordinal number
5:55 = "*six* hours without 5 <minutes>" <- needs %1, hour+1, a cardinal number

So we need new %2 element which is a string equal to ordinal number for hour+1. 


More information about the Xfce-i18n mailing list