Ignore:
Timestamp:
2013-02-10T14:47:59+01:00 (12 years ago)
Author:
stoecker
Message:

i18n fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/helper/TextTagParser.java

    r29241 r29243  
    1111
    1212import static org.openstreetmap.josm.tools.I18n.tr;
     13import static org.openstreetmap.josm.tools.I18n.trn;
    1314
    1415public class TextTagParser {
     
    209210        String value;
    210211        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");
    213218            if (r==2) return false; if (r==3) return true;
    214219        }
Note: See TracChangeset for help on using the changeset viewer.