Changeset 16518 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-05-29T19:56:52+02:00 (4 years ago)
Author:
simon04
Message:

see #18340 - OSMDownloadSource: improve i18n

File:
1 edited

Legend:

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

    r16517 r16518  
    278278             */
    279279            if (DOWNLOAD_SOURCES.stream().noneMatch(IDownloadSourceType::isEnabled)) {
    280                 String sources = DOWNLOAD_SOURCES.stream()
    281                         .map(type -> type.getCheckBox().getText())
    282                         .collect(Collectors.joining(", "));
    283                 String message = "<html>"
    284                         + tr("None of {0} is enabled!", sources)
    285                         + "<br>"
    286                         + tr("Please select at least one of {0}.", sources);
    287280                JOptionPane.showMessageDialog(
    288281                        this.getParent(),
    289                         message,
     282                        tr("Please select at least one download source."),
    290283                        tr("Error"),
    291284                        JOptionPane.ERROR_MESSAGE
Note: See TracChangeset for help on using the changeset viewer.