Changeset 16372 in josm for trunk/src/org
- Timestamp:
- 2020-04-21T08:13:51+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/ConnectivityRelations.java
r16299 r16372 127 127 if (!r.hasKey(CONNECTIVITY_TAG)) { 128 128 errors.add(TestError.builder(this, Severity.WARNING, NO_CONNECTIVITY_TAG) 129 .message(tr(" No 'connectivity' tag in connectivity relation")).primitives(r).build());129 .message(tr("Connectivity relation without connectivity tag")).primitives(r).build()); 130 130 } else if (!r.hasIncompleteMembers()) { 131 131 boolean badRole = checkForBadRole(r); … … 230 230 } else if (!defaultLanes) { 231 231 errors.add(TestError.builder(this, Severity.WARNING, MEMBER_MISSING_LANES) 232 .message(trn("Relation {0} member missing lanes tag", "Relation {0} members missing 'lanes' or '*:lanes' tag", 233 lanelessRolesCount, lanelessRoles)).primitives(relation) 234 .build()); 232 .message(trn("Relation {0} member is missing a lanes or *:lanes tag", 233 "Relation {0} members are missing a lanes or *:lanes tag", lanelessRolesCount, 234 lanelessRoles)) 235 .primitives(relation).build()); 235 236 } 236 237 return roleLanes; … … 400 401 if (viaNodes > 1) { 401 402 if (viaWays > 0) { 402 message = tr("Relation should not contain mixed ' via' ways and nodes");403 message = tr("Relation should not contain mixed ''via'' ways and nodes"); 403 404 } else { 404 message = tr("Multiple ' via' roles only allowed with ways");405 message = tr("Multiple ''via'' roles only allowed with ways"); 405 406 } 406 407 }
Note:
See TracChangeset
for help on using the changeset viewer.