Changeset 104 in josm for src/org/openstreetmap/josm/actions/AutoScaleAction.java
- Timestamp:
- 2006-07-03T00:31:24+02:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/AutoScaleAction.java
r94 r104 1 1 package org.openstreetmap.josm.actions; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.event.ActionEvent; … … 30 32 private final AutoScaleMode mode; 31 33 public Action(AutoScaleMode mode) { 32 super("Auto Scale : "+mode, ImageProvider.get("dialogs/autoscale/"+mode));33 putValue(SHORT_DESCRIPTION, "Auto zoom the view 34 super(tr("Auto Scale"+": "+tr(mode.toString())), ImageProvider.get("dialogs/autoscale/"+mode)); 35 putValue(SHORT_DESCRIPTION, tr("Auto zoom the view")+tr("(to "+mode+")")+tr(". Disabled if the view is moved.")); 34 36 this.mode = mode; 35 37 }
Note:
See TracChangeset
for help on using the changeset viewer.