Ticket #6674: 6674_v2.patch

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

    diff --git a/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java b/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
    index 9c986a3..f4a9250 100644
    a b public class PropertiesDialog extends ToggleDialog implements SelectionChangedLi  
    267267                values.getEditor().selectAll();
    268268            }
    269269        };
    270         final JDialog dlg = optionPane.createDialog(Main.parent, tr("Change values?"));
     270        final JDialog dlg = optionPane.createDialog(Main.parent, trn("Change value?", "Change values?", m.size()));
    271271        dlg.setModalityType(ModalityType.DOCUMENT_MODAL);
    272272        Dimension dlgSize = dlg.getSize();
    273273        if(dlgSize.width > Main.parent.getSize().width) {
    public class PropertiesDialog extends ToggleDialog implements SelectionChangedLi  
    447447                keys.getEditor().selectAll();
    448448            }
    449449        };
    450         JDialog dialog = pane.createDialog(Main.parent, tr("Change values?"));
     450        JDialog dialog = pane.createDialog(Main.parent, tr("Add value?"));
    451451        dialog.setModalityType(ModalityType.DOCUMENT_MODAL);
    452452        dialog.setVisible(true);
    453453