[rkward-devel] c-formatted strings in rkward__analysis.po

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Dec 4 20:38:48 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20141204/eebbdda4/attachment.sig>


More information about the Rkward-devel mailing list