[Merkaartor] Preset tags translation switch flaw

Chris Browet cbro at semperpax.com
Fri Sep 12 16:28:00 BST 2008


There is a flaw in the preset tags translation switch thingy.

After doing a lupdate, all preset tags translations are set to "obsolete",
certainly due to the fact that they do not appear as "real" const strings
anymore.

The result is that, after a lrelease, the tags are no more in the .qm and
are never translated.

I'd guess doing something like:

QString dummy = QCoreApplication::translate("Amenities","Arts centre");
...

at PropertiesDock ctor or elsewhere, for each preset tag, would solve the
problem.

- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20080912/0dcff269/attachment.html>


More information about the Merkaartor mailing list