[OSM-dev] I've done some work on JOSM...
Thomas Walraet
thomas at walraet.com
Fri Apr 27 17:50:04 BST 2007
You should avoid to use variable strings as argument to the "tr" and
"trn" methods. (for translation to be possible)
Ed a écrit :
>
> import static org.openstreetmap.josm.tools.I18n.tr;
+ import static org.openstreetmap.josm.tools.I18n.trn;
> tr("You selected more than one way. Reorder the segments of " + ways.size() + " ways?")
-> trn("", "You selected more than one way. Reorder the segments of {0}
ways ?", ways.size())
More information about the dev
mailing list