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


Ignore:
Timestamp:
2020-05-16T21:25:58+02:00 (5 years ago)
Author:
simon04
Message:

see #18712 - MainApplication: report localized resource names for offline mode

File:
1 edited

Legend:

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

    r16225 r16429  
    11561156            Logging.warn(trn("JOSM is running in offline mode. This resource will not be available: {0}",
    11571157                    "JOSM is running in offline mode. These resources will not be available: {0}",
    1158                     offline.size(), offline.size() == 1 ? offline.iterator().next() : Arrays.toString(offline.toArray())));
     1158                    offline.size(), offline.stream().map(OnlineResource::getLocName).collect(Collectors.joining(", "))));
    11591159        }
    11601160    }
Note: See TracChangeset for help on using the changeset viewer.