[josm-dev] Automatic tag correction
Dirk Stöcker
openstreetmap at dstoecker.de
Sun Aug 3 17:22:21 BST 2008
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)
More information about the josm-dev
mailing list