Changeset 2196 in josm for trunk/src


Ignore:
Timestamp:
2009-09-26T14:49:55+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3458: Exit-Confirmation dialog says "Save and Exit" when it offers "Upload and Exit"

Location:
trunk/src/org/openstreetmap/josm/gui/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayerInfoCellRenderer.java

    r2141 r2196  
    88import java.awt.Font;
    99import java.io.File;
    10 import java.io.IOException;
    1110
    1211import javax.swing.JCheckBox;
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java

    r2115 r2196  
    346346
    347347        public void initForSaveAndExit() {
    348             putValue(NAME, tr("Save and Exit"));
     348            putValue(NAME, tr("Save/Upload and Exit"));
    349349            putValue(SHORT_DESCRIPTION, tr("Exit JOSM with saving. Unsaved changes are uploaded and/or saved."));
    350350            putValue(SMALL_ICON, ImageProvider.get("exit"));
     
    352352
    353353        public void initForSaveAndDelete() {
    354             putValue(NAME, tr("Save and Delete"));
     354            putValue(NAME, tr("Save/Upload and Delete"));
    355355            putValue(SHORT_DESCRIPTION, tr("Save/Upload layers before deleting. Unsaved changes are not lost."));
    356356            putValue(SMALL_ICON, ImageProvider.get("dialogs", "delete"));
     
    480480            String msg = tr(
    481481                    "<html>An upload and/or save operation of one layer with modifications<br>"
    482                     + "was cancelled or has been failed.</html>",
     482                    + "was cancelled or has failed.</html>",
    483483                    "<html>Upload and/or save operations of {0} layers with modifications<br>"
    484                     + "were cancelled or have been failed.</html>",
     484                    + "were cancelled or have failed.</html>",
    485485                    numProblems,
    486486                    numProblems
Note: See TracChangeset for help on using the changeset viewer.