Ticket #2072: preset_tooltips_html_removed.patch
File preset_tooltips_html_removed.patch, 1.5 KB (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
433 433 public void setDisplayName() { 434 434 putValue(Action.NAME, getName()); 435 435 putValue("toolbar", "tagging_" + getRawName()); 436 putValue(SHORT_DESCRIPTION, "<html>"+(group != null ?436 putValue(SHORT_DESCRIPTION, (group != null ? 437 437 tr("Use preset ''{0}'' of group ''{1}''", tr(name), group.getName()) : 438 tr("Use preset ''{0}''", tr(name))) 439 +"</html>"); 438 tr("Use preset ''{0}''", tr(name)))); // <html>-embracements removed 440 439 } 441 440 442 441 public String getName() { -
src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java
19 19 public void setDisplayName() { 20 20 String n = getName(); 21 21 putValue(Action.NAME, n); 22 putValue(SHORT_DESCRIPTION, "<html>"+tr("Preset group ''{0}''", n)+"</html>");22 putValue(SHORT_DESCRIPTION, tr("Preset group ''{0}''", n)); // <html>-embracements removed 23 23 putValue("toolbar", "tagginggroup_" + getRawName()); 24 24 } 25 25 public void setIcon(String iconName) {