Changeset 15645 in josm


Ignore:
Timestamp:
2020-01-06T18:24:07+01:00 (5 years ago)
Author:
GerdP
Message:

fix #18455: Improve error messages again
Patch by skyper, modified formatting

File:
1 edited

Legend:

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

    r15642 r15645  
    619619                if (!tp.typeMatches(EnumSet.of(presetType))) {
    620620                    errors.add(TestError.builder(this, Severity.OTHER, INVALID_PRESETS_TYPE)
    621                             .message(tr("Type not in preset"),
    622                                     marktr("{0} is not supported by tagging preset: {1}"), tr(presetType.getName()), tp.getLocaleName())
     621                            .message(tr("Object type not in preset"),
     622                                    marktr("Object type {0} is not supported by tagging preset: {1}"),
     623                                    tr(presetType.getName()), tp.getLocaleName())
    623624                            .primitives(p)
    624625                            .build());
Note: See TracChangeset for help on using the changeset viewer.