[Merkaartor] Preset tags translation switch flaw

bvh bvh-osm at irule.be
Sat Sep 13 07:17:20 BST 2008


On Fri, Sep 12, 2008 at 07:10:00PM +0200, Chris Browet wrote:
> > 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?
> I don't quite understand what QT_TRANSLATE_NOOP is meant to do, but why
> not...

It is the official Qt macro to signal that something is meant to be
translated. Normally it just expands to its second argument, but since
we need both arguments in translateTag (since the context is not
provided by a QOBject) I redefine it as expanding to both.

cu bart




More information about the Merkaartor mailing list