Check boost-format (and possibly other formats)

Bug #203842 reported by Jacek Sieka
2
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://www.boost.org/libs/format/doc/format.html#syntax
It is a rather simple superset of normal printf formatting...

Revision history for this message
Данило Шеган (danilo) wrote :

We might need to upgrade our gettext library for this (we are using gettext to check validity of messages).

Changed in rosetta:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Данило Шеган (danilo) wrote :

It seems one of our gettext library updates fixed this (I've checked it locally, should QA on production as well).

Changed in rosetta:
assignee: nobody → Данило Шеган (danilo)
milestone: none → 2.2.7
status: Triaged → Fix Released
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.