Changeset 17182 in josm


Ignore:
Timestamp:
2020-10-13T09:19:05+02:00 (9 days ago)
Author:
stoecker
Message:

see #18235 - fix loading of sr@latin and ca@valencia from external sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r16913 r17182  
    421421            return;
    422422        final ZipEntry enfile = new ZipEntry(PLUGIN_TRANS_DIRECTORY + "en.lang");
    423         final ZipEntry langfile = new ZipEntry(PLUGIN_TRANS_DIRECTORY + loadedCode + ".lang");
     423        final ZipEntry langfile = new ZipEntry(PLUGIN_TRANS_DIRECTORY + loadedCode.replace('@', '-') + ".lang");
    424424        try (
    425425            ZipFile zipFile = new ZipFile(source, StandardCharsets.UTF_8);
Note: See TracChangeset for help on using the changeset viewer.