[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: c-formatted strings in rkward__analysis.po
From:       "Yuri Chornoivan" <yurchor () ukr ! net>
Date:       2014-12-05 5:26:53
Message-ID: op.xqdqq3q5l2zvei () ip-4ffd ! proline ! net ! ua
[Download RAW message or body]

=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B5 Thu, 04 Dec 2014 22:38:=
48 +0200, Thomas Friedrichsmeier  =

<thomas.friedrichsmeier@ruhr-uni-bochum.de>:

> Hi,
>
> On Thursday 04 December 2014 21:39:14 Yuri Chornoivan wrote:
>> Due to some subtle peculiarities of xgettext processing some extracte=
d
>> strings (those with '%') are now wrongly c-formatted which prevents t=
hem
>>  from to be translated well.
>
> I see.
>
>> It is usually enough to add "xgettext:no-c-format" for such messages =
to  =

>> be
>> processed right, but it is evidently not the case this time (tested).=

>
> I guess that's because the extraction script just strips all comments =
 =

> that
> don't start with i18n: or translators:.
>
>> Is there any way to post-process the file to replace #, c-format with=
 #,
>> no-c-format ?
>
> I've tried smartening up the extraction script to insert /*  =

> xgettext:no-c-
> format */ in front of the calls in question (after all comment  =

> stripping).
> This seems to produce the desired result. Please test.
>
> Thanks!
> Thomas

Now it works as expected. Many thanks for your work.

Best regards,
Yuri
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic