Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r18801 r19050 250 250 OsmPrimitive primitive = toDelete.iterator().next(); 251 251 String msg; 252 switch (OsmPrimitiveType.from(primitive)) {252 switch (OsmPrimitiveType.from(primitive)) { 253 253 case NODE: msg = marktr("Delete node {0}"); break; 254 254 case WAY: msg = marktr("Delete way {0}"); break; … … 265 265 } else { 266 266 OsmPrimitiveType t = typesToDelete.iterator().next(); 267 switch (t) {267 switch (t) { 268 268 case NODE: msg = trn("Delete {0} node", "Delete {0} nodes", toDelete.size(), toDelete.size()); break; 269 269 case WAY: msg = trn("Delete {0} way", "Delete {0} ways", toDelete.size(), toDelete.size()); break;
Note:
See TracChangeset
for help on using the changeset viewer.