Check boost-format (and possibly other formats)
Bug #203842 reported by
Jacek Sieka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Данило Шеган |
Bug Description
Hello, my package (dcplusplus) uses boost for formatting strings, and conveniently, gettext supports boost-format much like c-format.
Recently I had some problems with translations because they were not correctly formatted, and gettext complained when making mo-files.
Here is a relevant string:
#, boost-format
msgid "%1% renamed to %2%"
msgstr ""
This had been translated more or less like this:
"%1% blablabla% 2%"
with the space in the wrong position which rosetta happily accepted.
Boost formatting is explained here: http://
It is a rather simple superset of normal printf formatting...
To post a comment you must log in.
We might need to upgrade our gettext library for this (we are using gettext to check validity of messages).