Changeset 13506 in josm


Ignore:
Timestamp:
2018-03-04T19:42:31+01:00 (6 months ago)
Author:
Don-vip
Message:

see #11392 - let Dirk enjoy his break

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java

    r13037 r13506  
    5959import org.openstreetmap.josm.io.CachedFile;
    6060import org.openstreetmap.josm.tools.CheckParameterUtil;
     61import org.openstreetmap.josm.tools.I18n;
    6162import org.openstreetmap.josm.tools.JosmRuntimeException;
    6263import org.openstreetmap.josm.tools.LanguageInfo;
     
    515516            zipFile = new ZipFile(file, StandardCharsets.UTF_8);
    516517            zipIcons = file;
     518            I18n.addTextsZip(zipIcons);
    517519            ZipEntry zipEntry = zipFile.getEntry(zipEntryPath);
    518520            return zipFile.getInputStream(zipEntry);
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java

    r13332 r13506  
    4343import org.openstreetmap.josm.io.CachedFile;
    4444import org.openstreetmap.josm.io.UTFInputStreamReader;
     45import org.openstreetmap.josm.tools.I18n;
    4546import org.openstreetmap.josm.tools.Logging;
    4647import org.openstreetmap.josm.tools.Utils;
     
    343344            if (zip != null) {
    344345                zipIcons = cf.getFile();
     346                I18n.addTextsZip(zipIcons);
    345347            }
    346348            try (InputStreamReader r = UTFInputStreamReader.create(zip == null ? cf.getInputStream() : zip)) {
Note: See TracChangeset for help on using the changeset viewer.