Changeset 11348 in osm
- Timestamp:
- 2008-10-20T22:45:12+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
r10829 r11348 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 import static org.openstreetmap.josm.tools.I18n.trn; 4 5 5 6 import java.awt.event.ActionEvent; … … 81 82 return; 82 83 } else if (ways > 10) { 83 int option = JOptionPane.showConfirmDialog(Main.parent, tr( 84 "The selection contains {0} ways. Are you sure you want to simplify them all?", ways), 84 //TRANSLATION: Although for English the use of trn is needless it is important for other languages 85 int option = JOptionPane.showConfirmDialog(Main.parent, trn( 86 "The selection contains {0} way. Are you sure you want to simplify them all?", 87 "The selection contains {0} ways. Are you sure you want to simplify them all?", 88 ways,ways), 85 89 tr("Are you sure?"), JOptionPane.YES_NO_OPTION); 86 90 if (option != JOptionPane.YES_OPTION) … … 129 133 cmds.add(new ChangeCommand(w, wnew)); 130 134 cmds.add(new DeleteCommand(delNodes)); 131 Main.main.undoRedo.add(new SequenceCommand(tr ("Simplify Way (remove {0} nodes)", delNodes.size()), cmds));135 Main.main.undoRedo.add(new SequenceCommand(trn("Simplify Way (remove {0} node)", "Simplify Way (remove {0} nodes)", delNodes.size(), delNodes.size()), cmds)); 132 136 Main.map.repaint(); 133 137 }
Note:
See TracChangeset
for help on using the changeset viewer.