Ignore:
Timestamp:
2020-03-16T22:53:21+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #18943 - add data types caption in Download along dialogues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/OSMDownloadSource.java

    r13927 r16155  
    22package org.openstreetmap.josm.gui.download;
    33
     4import static org.openstreetmap.josm.tools.I18n.marktr;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    145146
    146147        /**
     148         * Label used in front of data types available for download. Made public for reuse in other download dialogs.
     149         * @since 16155
     150         */
     151        public static final String DATA_SOURCES_AND_TYPES = marktr("Data Sources and Types:");
     152
     153        /**
    147154         * Creates a new {@link OSMDownloadSourcePanel}.
    148155         * @param dialog the parent download dialog, as {@code DownloadDialog.getInstance()} might not be initialized yet
     
    159166
    160167            // adding the download tasks
    161             add(new JLabel(tr("Data Sources and Types:")), GBC.std().insets(5, 5, 1, 5).anchor(GBC.CENTER));
     168            add(new JLabel(tr(DATA_SOURCES_AND_TYPES)), GBC.std().insets(5, 5, 1, 5).anchor(GBC.CENTER));
    162169            cbDownloadOsmData = new JCheckBox(tr("OpenStreetMap data"), true);
    163170            cbDownloadOsmData.setToolTipText(tr("Select to download OSM data in the selected download area."));
Note: See TracChangeset for help on using the changeset viewer.