Changeset 29430 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetInfoAction.java
- Timestamp:
- 2013-03-29T20:04:22+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetInfoAction.java
r29429 r29430 48 48 // ask for a reason 49 49 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?"), 51 51 ImageryOffsetTools.DIALOG_TITLE, JOptionPane.PLAIN_MESSAGE); 52 52 if( reason != null && reason.toString().length() > 0 ) { … … 76 76 sb.append(tr("Imagery ID")).append(": ").append(((ImageryOffset)offset).getImagery()).append('\n'); 77 77 } 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'); 79 79 } 80 80 … … 108 108 public static String getGeometryType( CalibrationObject obj ) { 109 109 if( obj.getGeometry() == null ) 110 return tr("nothing");110 return "nothing"; // meant never to happen, so no translation 111 111 int n = obj.getGeometry().length; 112 112 if( n == 1 ) … … 117 117 return tr("polygon ({0} nodes)", n - 1); 118 118 else 119 return tr("geometry");119 return "geometry"; // meant never to happen, so no translation 120 120 } 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.
