Ticket #6674: 6674.patch
| File 6674.patch, 1.1 KB (added by , 14 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
267 268 values.getEditor().selectAll(); 268 269 } 269 270 }; 270 final JDialog dlg = optionPane.createDialog(Main.parent, tr("Change values?"));271 final JDialog dlg = optionPane.createDialog(Main.parent, m.size() == 1 ? tr("Change value?") : tr("Change values?")); 271 272 dlg.setModalityType(ModalityType.DOCUMENT_MODAL); 272 273 Dimension dlgSize = dlg.getSize(); 273 274 if(dlgSize.width > Main.parent.getSize().width) { … … 447 462 keys.getEditor().selectAll(); 448 463 } 449 464 }; 450 JDialog dialog = pane.createDialog(Main.parent, tr(" Change values?"));465 JDialog dialog = pane.createDialog(Main.parent, tr("Add value?")); 451 466 dialog.setModalityType(ModalityType.DOCUMENT_MODAL); 452 467 dialog.setVisible(true); 453 468
