Changeset 9886 in josm for trunk


Ignore:
Timestamp:
2016-02-27T12:48:08+01:00 (9 years ago)
Author:
simon04
Message:

see #12570 - Group opening hours tests

File:
1 edited

Legend:

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

    r9799 r9886  
    133133         */
    134134        public TestError getTestError(final OsmPrimitive p, final String key) {
     135            final String messageEn = message; // todo obtain English message for ignore functionality
    135136            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);
    137138            } 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,
    139140                        new ChangePropertyCommand(p, key, prettifiedValue));
    140141            }
Note: See TracChangeset for help on using the changeset viewer.