Ignore:
Timestamp:
2013-03-29T21:30:25+01:00 (13 years ago)
Author:
zverik
Message:

fixed composite translation strings

File:
1 edited

Legend:

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

    r29433 r29434  
    100100    public String getToolTipText() {
    101101        if( obj.isDeprecated() )
    102             return tr("A deprecated calibration of type {0} by {1}", OffsetInfoAction.getGeometryType(obj), obj.getAuthor());
     102            return tr("A deprecated calibration geometry of {0} nodes by {1}", obj.getGeometry().length, obj.getAuthor());
    103103        else
    104             return tr("A calibration of type {0} by {1}", OffsetInfoAction.getGeometryType(obj), obj.getAuthor());
     104            return tr("A calibration geometry of {0} nodes by {1}", obj.getGeometry().length, obj.getAuthor());
    105105    }
    106106
     
    198198    class ZoomToLayerAction extends AbstractAction {
    199199        public ZoomToLayerAction() {
    200             super(tr("Zoom to layer"));
     200            super(tr("Zoom to {0}", tr("layer"))); // to use translation from AutoScaleAction
    201201            putValue(SMALL_ICON, ImageProvider.get("dialogs/autoscale/layer"));
    202202        }
Note: See TracChangeset for help on using the changeset viewer.