Changeset 29243 in osm for applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap
- Timestamp:
- 2013-02-10T14:47:59+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/helper/TextTagParser.java
r29241 r29243 11 11 12 12 import static org.openstreetmap.josm.tools.I18n.tr; 13 import static org.openstreetmap.josm.tools.I18n.trn; 13 14 14 15 public class TextTagParser { … … 209 210 String value; 210 211 int r; 211 if (tags.size()>30) { 212 r=warning(tr("There was {0} tags found in the buffer, it is suspicious!",tags.size()), "", "toomanytags"); 212 int s = tags.size(); 213 if (s > 30) { 214 // Use trn() even if for english it makes no sense, as s > 30 215 r=warning(trn("There was {0} tag found in the buffer, it is suspicious!", 216 "There were {0} tags found in the buffer, it is suspicious!", s, 217 s), "", "toomanytags"); 213 218 if (r==2) return false; if (r==3) return true; 214 219 }
Note:
See TracChangeset
for help on using the changeset viewer.