Changeset 6835 in josm for trunk


Ignore:
Timestamp:
2014-02-11T00:19:32+01:00 (11 years ago)
Author:
Don-vip
Message:

fix #9690 - fix i18n in presets. Just keep preset name

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6833 r6835  
    1818  name_template: define custom formatting for OSM primitives
    1919                 see http://josm.openstreetmap.de/wiki/NameTemplate
    20   preset_name_label: whether to insert "Edit [preset name]" label in dialog
     20  preset_name_label: whether to insert "[preset name]" label in dialog
    2121                     (defaults to "false" for backward-compatibility on external presets)
    2222
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r6824 r6835  
    219219        }
    220220        if (preset_name_label) {
    221             TaggingPresetItems.Label.addLabel(p,/*I18n: {0} is preset name */tr("Edit {0}", getName()));
     221            TaggingPresetItems.Label.addLabel(p, getName());
    222222        }
    223223
Note: See TracChangeset for help on using the changeset viewer.