| | 2 | |
| | 3 | {{{ |
| | 4 | #!diff |
| | 5 | Index: src/org/openstreetmap/josm/actions/AddImageryLayerAction.java |
| | 6 | =================================================================== |
| | 7 | --- src/org/openstreetmap/josm/actions/AddImageryLayerAction.java (revision 14860) |
| | 8 | +++ src/org/openstreetmap/josm/actions/AddImageryLayerAction.java (working copy) |
| | 9 | @@ -69,10 +69,9 @@ |
| | 10 | * @param info The imagery info |
| | 11 | */ |
| | 12 | public AddImageryLayerAction(ImageryInfo info) { |
| | 13 | - super(info.getMenuName(), /* ICON */"imagery_menu", tr("Add imagery layer {0}", info.getName()), null, |
| | 14 | + super(info.getMenuName(), /* ICON */"imagery_menu", info.getToolTipText(), null, |
| | 15 | true, ToolbarPreferences.IMAGERY_PREFIX + info.getToolbarName(), false); |
| | 16 | setHelpId(ht("/Preferences/Imagery")); |
| | 17 | - setTooltip(info.getToolTipText().replaceAll("</?html>", "")); |
| | 18 | this.info = info; |
| | 19 | installAdapters(); |
| | 20 | }}} |