Changeset 8455 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-06-03T04:12:49+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r8382 r8455 37 37 if(length > maxlength) { 38 38 length /= 1000.0; 39 errors.add(new TestError(this, Severity.WARNING, tr("Very long segment of {0} kilometers", length.intValue()), LONG_SEGMENT, w)); 39 errors.add(new TestError(this, Severity.WARNING, tr("Long segments"), 40 tr("Very long segment of {0} kilometers", length.intValue()), 41 String.format("Very long segment of %d kilometers", length.intValue()), 42 LONG_SEGMENT, w)); 40 43 } 41 44 } -
trunk/src/org/openstreetmap/josm/data/validation/tests/NameMismatch.java
r8382 r8455 51 51 private void missingTranslation(OsmPrimitive p, String name) { 52 52 errors.add(new TestError(this, Severity.OTHER, 53 tr("Missing name:*={0}. Add tag with correct language key.", name), NAME_TRANSLATION_MISSING, p)); 53 tr("Missing name:* translation"), 54 tr("Missing name:*={0}. Add tag with correct language key.", name), 55 String.format("Missing name:*=%s. Add tag with correct language key.", name), NAME_TRANSLATION_MISSING, p)); 54 56 } 55 57
Note:
See TracChangeset
for help on using the changeset viewer.