[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: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2014-12-04 20:38:48
Message-ID: 4639865.1NqCFzdI25 () late
[Download RAW message or body]
Hi,
On Thursday 04 December 2014 21:39:14 Yuri Chornoivan wrote:
> Due to some subtle peculiarities of xgettext processing some extracted
> strings (those with '%') are now wrongly c-formatted which prevents them
> 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
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic