On Sun, 3 Aug 2008, Robin Rattay wrote:

> here is a small update of the TagCorrector. Some code cleanup and
> addition of the key prefixes/suffixes "forward" and "backward".

This does not work:
+               return applyCorrections(
+                       tagCorrections,
+                       way,
+                       tr("When reverting this way " + nameVisitor.name
+                               + ", following changes to the properties are 
suggested "
+                               + "in order to maintain data consistency."));

You cannot join translatable strings.

Use {0} for arguments. tr("xxxx {0} yyy {1}...", arg1, arg2);

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to