Changeset 11475 in josm for trunk/src/org


Ignore:
Timestamp:
2017-01-17T13:50:51+01:00 (8 years ago)
Author:
bastiK
Message:

see #14252 - better wording in validator message

File:
1 edited

Legend:

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

    r11466 r11475  
    237237                            possibleMatchError = TestError.builder(this, Severity.WARNING, WRONG_TYPE)
    238238                                    .message(ROLE_VERIF_PROBLEM_MSG,
    239                                             marktr("Role member does not match expression ''{0}'' in template {1}"),
     239                                            marktr("Role of relation member does not match expression ''{0}'' in template {1}"),
    240240                                            r.memberExpression, rolePreset.name)
    241241                                    .primitives(member.getMember().isUsable() ? member.getMember() : n)
     
    271271            errors.add(TestError.builder(this, Severity.WARNING, WRONG_TYPE)
    272272                    .message(ROLE_VERIF_PROBLEM_MSG,
    273                             marktr("Role member type ''{0}'' does not match accepted list of ''{1}'' in template {2}"),
    274                             member.getType(), typesStr, rolePreset.name)
     273                            marktr("Type ''{0}'' of relation member with role ''{1}'' does not match accepted types ''{2}'' in template {3}"),
     274                            member.getType(), member.getRole(), typesStr, rolePreset.name)
    275275                    .primitives(member.getMember().isUsable() ? member.getMember() : n)
    276276                    .build());
Note: See TracChangeset for help on using the changeset viewer.