Changeset 16430 in josm for trunk/src/org
- Timestamp:
- 2020-05-16T21:57:03+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r16429 r16430 652 652 "\t--debug "+tr("Print debugging messages to console")+"\n\n"+ 653 653 "\t--skip-plugins "+tr("Skip loading plugins")+"\n\n"+ 654 "\t--offline=<osm_api|josm_website|certificates|all> "+tr("Disable access to the given resource(s), separated by comma")+"\n\n"+ 654 "\t--offline=" + Arrays.stream(OnlineResource.values()).map(OnlineResource::name).collect( 655 Collectors.joining("|", "<", ">")) + "\n" + 656 "\t "+tr("Disable access to the given resource(s), separated by comma") + "\n" + 657 "\t "+Arrays.stream(OnlineResource.values()).map(OnlineResource::getLocName).collect( 658 Collectors.joining("|", "<", ">")) + "\n\n" + 655 659 tr("options provided as Java system properties")+":\n"+ 656 660 align("\t-Djosm.dir.name=JOSM") + tr("Change the JOSM directory name") + "\n\n" + -
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r16428 r16430 449 449 if (offline || age < maxAgeMillis) { 450 450 return localFile; 451 } else if (NetworkManager.isOffline(OnlineResource.CACHE_UPDATES)) { 452 Logging.warn(OfflineAccessException.forResource(tr("Cache update for {0}", urlStr)).getMessage()); 453 return localFile; 451 454 } 452 455 if (cachingStrategy == CachingStrategy.IfModifiedSince) { -
trunk/src/org/openstreetmap/josm/io/OnlineResource.java
r16427 r16430 19 19 /** The JOSM website, used for startup page, imagery/presets/styles/rules entries, help, etc. */ 20 20 JOSM_WEBSITE(tr("JOSM website")), 21 /** Updates of {@link CachedFile} */ 22 CACHE_UPDATES(tr("Cache updates")), 21 23 /** Various government certificates downloaded on Windows to make https imagery work in some countries */ 22 24 CERTIFICATES(tr("Certificates")),
Note:
See TracChangeset
for help on using the changeset viewer.