Changeset 17311 in josm for trunk


Ignore:
Timestamp:
2020-11-15T15:49:25+01:00 (4 years ago)
Author:
Don-vip
Message:

see #7548 - distinguish i18n context of "Display" string

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r17294 r17311  
    45964596            <key key="amenity" value="clock" />
    45974597            <optional>
    4598                 <combo key="display" text="Display" values="analog,digital,sundial,unorthodox" />
     4598                <combo key="display" text="Display" text_context="clock" values="analog,digital,sundial,unorthodox" />
    45994599                <reference ref="support" />
    46004600                <combo key="faces" text="Faces" text_context="clock" values="1,2,3,4" />
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/DisplayPreference.java

    r17229 r17311  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import javax.swing.JTabbedPane;
     
    3031
    3132    private DisplayPreference() {
    32         super(/* ICON(preferences/) */ "display", tr("Display"),
     33        super(/* ICON(preferences/) */ "display", trc("gui", "Display"),
    3334                tr("Various settings that influence the visual representation of the whole program."), false, new JTabbedPane());
    3435    }
Note: See TracChangeset for help on using the changeset viewer.