Changeset 30275 in osm
- Timestamp:
- 2014-02-10T22:50:41+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java
r30273 r30275 184 184 layer.data.addPrimitive(primitive); 185 185 } else { 186 final String msg = tr("Unable to undelete {0} {1}. Object has likely been redacted", type, id); 186 final String msg = OsmPrimitiveType.NODE.equals(type) 187 ? tr("Unable to undelete node {0}. Object has likely been redacted", id) 188 : OsmPrimitiveType.WAY.equals(type) 189 ? tr("Unable to undelete way {0}. Object has likely been redacted", id) 190 : OsmPrimitiveType.RELATION.equals(type) 191 ? tr("Unable to undelete relation {0}. Object has likely been redacted", id) 192 : null; 187 193 GuiHelper.runInEDT(new Runnable() { 188 194 @Override
Note:
See TracChangeset
for help on using the changeset viewer.