Changeset 104 in josm for src/org/openstreetmap/josm/actions/DiskAccessAction.java
- Timestamp:
- 2006-07-03T00:31:24+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/DiskAccessAction.java
r98 r104 1 1 package org.openstreetmap.josm.actions; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.io.File; … … 54 56 File file = fc.getSelectedFile(); 55 57 if (file == null || (file.exists() && JOptionPane.YES_OPTION != 56 JOptionPane.showConfirmDialog(Main.parent, "File exists. Overwrite?", "Overwrite", JOptionPane.YES_NO_OPTION)))58 JOptionPane.showConfirmDialog(Main.parent, tr("File exists. Overwrite?"), tr("Overwrite"), JOptionPane.YES_NO_OPTION))) 57 59 return null; 58 60 }
Note:
See TracChangeset
for help on using the changeset viewer.