On Fri, Sep 12, 2008 at 05:28:00PM +0200, Chris Browet wrote:
> 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.

Yes.

> 
> 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.

This would mean the strings appear twice. Not ideal either.

What about the fix I did in trunk as r10654. It is little hack but it
seems to work. If you agree, we can apply the same fix in fixes branch?

cu bart

_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to