Ignore:
Timestamp:
2013-03-29T20:57:36+01:00 (12 years ago)
Author:
stoecker
Message:

i18n fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/DeprecateOffsetAction.java

    r29430 r29433  
    4545                tr("Are you sure this calibration geometry is aligned badly?");
    4646        if( JOptionPane.showConfirmDialog(Main.parent,
    47                 tr("Warning: deprecation is basically irreversible!")+ "\n" + desc,
     47                tr("Warning: deprecation is basically irreversible!\n{0}", desc),
    4848                ImageryOffsetTools.DIALOG_TITLE, JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE) != JOptionPane.YES_OPTION ) {
    4949            return;
     
    7878        }
    7979
    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");
    8285        String reason = StoreImageryOffsetAction.queryDescription(message);
    8386        if( reason == null )
Note: See TracChangeset for help on using the changeset viewer.