Changeset 29433 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/DeprecateOffsetAction.java
- Timestamp:
- 2013-03-29T20:57:36+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/DeprecateOffsetAction.java
r29430 r29433 45 45 tr("Are you sure this calibration geometry is aligned badly?"); 46 46 if( JOptionPane.showConfirmDialog(Main.parent, 47 tr("Warning: deprecation is basically irreversible! ")+ "\n" + desc,47 tr("Warning: deprecation is basically irreversible!\n{0}", desc), 48 48 ImageryOffsetTools.DIALOG_TITLE, JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE) != JOptionPane.YES_OPTION ) { 49 49 return; … … 78 78 } 79 79 80 String message = tr("Please enter the reason why you mark {0} as deprecated", 81 offset instanceof ImageryOffset ? tr("this imagery offset") : tr("this calibration geometry")) + ":"; 80 String message; 81 if(offset instanceof ImageryOffset) 82 message = tr("Please enter the reason why you mark this imagery offset as deprecated"); 83 else 84 message = tr("Please enter the reason why you mark this calibration geometry as deprecated"); 82 85 String reason = StoreImageryOffsetAction.queryDescription(message); 83 86 if( reason == null )
Note:
See TracChangeset
for help on using the changeset viewer.