Ignore:
Timestamp:
2013-03-29T20:04:22+01:00 (13 years ago)
Author:
zverik
Message:

string fixes, button and menu update

File:
1 edited

Legend:

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

    r29429 r29430  
    4848                // ask for a reason
    4949                Object reason = JOptionPane.showInputDialog(Main.parent,
    50                         tr("You are to notify moderators of this offset. Why they should look into this case?"),
     50                        tr("You are to notify moderators of this offset. Why?"),
    5151                        ImageryOffsetTools.DIALOG_TITLE, JOptionPane.PLAIN_MESSAGE);
    5252                if( reason != null && reason.toString().length() > 0 ) {
     
    7676            sb.append(tr("Imagery ID")).append(": ").append(((ImageryOffset)offset).getImagery()).append('\n');
    7777        } else {
    78             sb.append(tr("A calibration of type {0}", getGeometryType((CalibrationObject)offset))).append('\n');
     78            sb.append(tr("A calibration {0}", getGeometryType((CalibrationObject)offset))).append('\n');
    7979        }
    8080       
     
    108108    public static String getGeometryType( CalibrationObject obj ) {
    109109        if( obj.getGeometry() == null )
    110             return tr("nothing");
     110            return "nothing"; // meant never to happen, so no translation
    111111        int n = obj.getGeometry().length;
    112112        if( n == 1 )
     
    117117            return tr("polygon ({0} nodes)", n - 1);
    118118        else
    119             return tr("geometry");
     119            return "geometry"; // meant never to happen, so no translation
    120120    }
    121121}
Note: See TracChangeset for help on using the changeset viewer.