- Timestamp:
- 2016-02-27T12:48:08+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r9799 r9886 133 133 */ 134 134 public TestError getTestError(final OsmPrimitive p, final String key) { 135 final String messageEn = message; // todo obtain English message for ignore functionality 135 136 if (prettifiedValue == null || prettifiedValue.equals(p.get(key))) { 136 return new TestError(OpeningHourTest.this, severity, message, 2901, p);137 return new TestError(OpeningHourTest.this, severity, tr("Opening hours syntax"), message, messageEn, 2901, p); 137 138 } else { 138 return new FixableTestError(OpeningHourTest.this, severity, message, 2901, p,139 return new FixableTestError(OpeningHourTest.this, severity, tr("Opening hours syntax"), message, messageEn, 2901, p, 139 140 new ChangePropertyCommand(p, key, prettifiedValue)); 140 141 }
Note:
See TracChangeset
for help on using the changeset viewer.