Changeset 13773 in josm


Ignore:
Timestamp:
2018-05-15T22:17:33+02:00 (11 months ago)
Author:
wiktorn
Message:

Add numbering to get layers button on Add WMTS Layer

See: #16249

File:
1 edited

Legend:

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

    r13758 r13773  
    3737    private final JCheckBox setDefaultLayer = new JCheckBox(tr("Set default layer?"));
    3838    private List<Entry<String, List<Layer>>> layers;
     39   
    3940
    4041    /**
     
    4748        rawUrl.setLineWrap(true);
    4849        rawUrl.setAlignmentY(TOP_ALIGNMENT);
    49         JButton getLayers = new JButton(tr("Get layers"));
     50        JButton getLayers = new JButton(tr("{0} Get layers", "3."));
    5051        getLayers.setEnabled(setDefaultLayer.isSelected());
    5152        setDefaultLayer.addActionListener(e -> {
     
    5960        addCommonSettings();
    6061
    61         add(new JLabel(tr("{0} Enter name for this layer", "3.")), GBC.eol());
     62        add(new JLabel(tr("{0} Enter name for this layer", "4.")), GBC.eol());
    6263        add(name, GBC.eol().fill(GBC.HORIZONTAL));
    6364        registerValidableComponent(rawUrl);
Note: See TracChangeset for help on using the changeset viewer.