percent+space considered format string

Bug #62886 reported by Dominik Zablotny
This bug report is a duplicate of:  Bug #3446: % causes problem in translation strings. Edit Remove
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned

Bug Description

This string "% of normal size" is considered format string by rosetta, exactly the part "% o".
Attempt to translate it as "% rozmiaru naturalnego" raises error:

Error in Translation:
'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'w' is not a valid conversion specifier.

This string can be found in abiword:
https://launchpad.net/distros/ubuntu/edgy/+source/abiword/+pots/abiword/pl/+translate

Revision history for this message
Diogo Matsubara (matsubara) wrote :

According with James Henstridge:
"That string is incorrectly marked as a c-format string. This is a problem that needs fixing in the abiword source code (it should have a comment like /* xgettext:no-c-format */ before the line the string occurs on).

The PO template lists po/tmp/ap_String_Id.h.h as the source for most of the strings, which is probably a generated file. I guess the script that generates it needs updating to add those comments.

Once abiword is fixed and new PO templates are imported, the problem should go away."

Changed in rosetta:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.