Changeset 10666 in osm for applications
- Timestamp:
- 2008-09-13T20:07:50+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ErrorTreePanel.java
r10502 r10666 223 223 // Message node 224 224 List<TestError> errors = msgErrors.getValue(); 225 String msg = msgErrors.getKey() + " (" + errors.size() + ")"; 225 String msg; 226 if(groupNode != null) 227 msg = msgErrors.getKey() + " (" + errors.size() + ")"; 228 else 229 msg = msgErrors.getKey() + " - " + bag.getKey() + " (" + errors.size() + ")"; 226 230 DefaultMutableTreeNode messageNode = new DefaultMutableTreeNode(msg); 227 231 if(groupNode != null) -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java
r10531 r10666 352 352 if( values != null && !values.contains(prop.getValue()) && !withErrors.contains(p, "UPV")) 353 353 { 354 String i = marktr("Key ''{0}'' unknown."); 354 355 errors.add( new TestError(this, Severity.OTHER, tr("Unknown property values"), 355 tr( s, key), MessageFormat.format(s, key), INVALID_VALUE, p) );356 tr(i, key), MessageFormat.format(i, key), INVALID_VALUE, p) ); 356 357 withErrors.add(p, "UPV"); 357 358 }
Note:
See TracChangeset
for help on using the changeset viewer.