Changeset 6728 in josm
- Timestamp:
- 2014-01-18T22:47:28+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/EditRelationAction.java
r6725 r6728 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.tools.I18n.trn; 5 6 6 7 import java.awt.event.ActionEvent; … … 69 70 if (!isEnabled() || relations.isEmpty()) return; 70 71 if (relations.size() > Main.pref.getInteger("warn.open.maxrelations", 5)) { 72 /* I18N english text for value 1 makes no real sense, never called for values <= maxrel (usually 5) */ 71 73 if (JOptionPane.OK_OPTION != JOptionPane.showConfirmDialog(Main.parent, 72 "<html>"+tr("You are about to open <b>{0}</b> different relation editors simultaneously.<br/>Do you want to continue ?", 73 relations.size())+"</html>", 74 "<html>"+trn("You are about to open <b>{0}</b> different relation editor simultaneously.<br/>Do you want to continue ?", 75 "You are about to open <b>{0}</b> different relation editors simultaneously.<br/>Do you want to continue ?", 76 relations.size(), relations.size())+"</html>", 74 77 tr("Confirmation"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE)) { 75 78 return;
Note:
See TracChangeset
for help on using the changeset viewer.