Changeset 29428 in osm for applications
- Timestamp:
- 2013-03-29T17:51:00+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/imagery_offset_db/src/iodb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/CalibrationLayer.java
r29384 r29428 98 98 @Override 99 99 public String getToolTipText() { 100 return "A " + (obj.isDeprecated() ? "deprecated " : "") + "calibration " 101 + OffsetInfoAction.getGeometryType(obj) + " by " + obj.getAuthor(); 100 if(obj.isDeprecated()) 101 return tr("A deprecated calibration {0} by {1}", 102 OffsetInfoAction.getGeometryType(obj), obj.getAuthor()); 103 else 104 return tr("A calibration {0} by {1}", 105 OffsetInfoAction.getGeometryType(obj), obj.getAuthor()); 102 106 } 103 107 -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetInfoAction.java
r29388 r29428 108 108 public static String getGeometryType( CalibrationObject obj ) { 109 109 if( obj.getGeometry() == null ) 110 return "nothing";110 return tr("nothing"); 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 "geometry";119 return tr("geometry"); 120 120 } 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.