Ignore:
Timestamp:
2018-03-31T19:41:26+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #15939 - improve adding TMS/WMS/WMTS dialog texts, reduce translated strings by 4, add hint to check permission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddTMSLayerPanel.java

    r11308 r13591  
    3636    public AddTMSLayerPanel() {
    3737
    38         add(new JLabel(tr("1. Enter URL")), GBC.eol());
     38        add(new JLabel(tr("{0} Make sure OSM has the permission to use this service", "1.")), GBC.eol());
     39        add(new JLabel(tr("{0} Enter URL", "2.")), GBC.eol());
    3940        add(new JLabel("<html>" + Utils.joinAsHtmlUnorderedList(Arrays.asList(
    4041                tr("{0} is replaced by tile zoom level, also supported:<br>" +
     
    5253        rawUrl.addKeyListener(keyAdapter);
    5354
    54         add(new JLabel(tr("2. Enter maximum zoom (optional)")), GBC.eol());
     55        add(new JLabel(tr("{0} Enter maximum zoom (optional)", "3.")), GBC.eol());
    5556        tmsZoom.addKeyListener(keyAdapter);
    5657        add(tmsZoom, GBC.eop().fill());
    5758
    58         add(new JLabel(tr("3. Verify generated TMS URL")), GBC.eol());
     59        add(new JLabel(tr("{0} Edit generated {1} URL (optional)", "4.", "TMS")), GBC.eol());
    5960        add(tmsUrl, GBC.eop().fill());
    6061        tmsUrl.setLineWrap(true);
    6162
    62         add(new JLabel(tr("4. Enter name for this layer")), GBC.eol());
     63        add(new JLabel(tr("{0} Enter name for this layer", "5.")), GBC.eol());
    6364        add(name, GBC.eop().fill());
    6465
Note: See TracChangeset for help on using the changeset viewer.