Changeset 2302 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java
- Timestamp:
- 2009-10-24T07:40:15+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetMenu.java
r2208 r2302 21 21 public void setDisplayName() { 22 22 putValue(Action.NAME, getName()); 23 putValue(SHORT_DESCRIPTION, (group != null ? 24 tr("Preset group ''{0}'' of group ''{1}''", getLocaleName(), group.getName()) : 25 tr("Preset group ''{0}''", getLocaleName()))); 23 /** Tooltips should be shown for the toolbar buttons, but not in the menu. */ 24 putValue(OPTIONAL_TOOLTIP_TEXT, (group != null ? 25 tr("Preset group {1} / {0}", getLocaleName(), group.getName()) : 26 tr("Preset group {0}", getLocaleName()))); 26 27 putValue("toolbar", "tagginggroup_" + getRawName()); 27 28 }
Note:
See TracChangeset
for help on using the changeset viewer.