Ticket #6674: 6674.patch

File 6674.patch, 1.1 KB (added by simon04, 14 years ago)
  • src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

     
    267268                values.getEditor().selectAll();
    268269            }
    269270        };
    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?"));
    271272        dlg.setModalityType(ModalityType.DOCUMENT_MODAL);
    272273        Dimension dlgSize = dlg.getSize();
    273274        if(dlgSize.width > Main.parent.getSize().width) {
     
    447462                keys.getEditor().selectAll();
    448463            }
    449464        };
    450         JDialog dialog = pane.createDialog(Main.parent, tr("Change values?"));
     465        JDialog dialog = pane.createDialog(Main.parent, tr("Add value?"));
    451466        dialog.setModalityType(ModalityType.DOCUMENT_MODAL);
    452467        dialog.setVisible(true);
    453468