Changeset 6625 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-01-04T15:41:15+01:00 (11 years ago)
Author:
stoecker
Message:

fix i18n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java

    r6605 r6625  
    9898            final Matcher m = Pattern.compile("(" + part + ")(;\\s*" + part + ")*").matcher(value);
    9999            if (!m.matches()) {
    100                 throw new ConditionalParsingException(tr("Does not match pattern ''{0}''", tr("restriction value") + " @ " + tr("condition")));
     100                throw new ConditionalParsingException(tr("Does not match pattern ''restriction value @ condition''"));
    101101            } else {
    102102                int i = 2;
     
    117117                // validate restriction value
    118118                if (isTransportationMode(key.split(":")[0]) && !isRestrictionValue(conditional.restrictionValue)) {
    119                     return tr("{0} is not a valid {1}", conditional.restrictionValue, tr("restriction value"));
     119                    return tr("{0} is not a valid restriction value", conditional.restrictionValue);
    120120                }
    121121                // validate opening hour if the value contains an hour (heuristic)
Note: See TracChangeset for help on using the changeset viewer.