Changeset 2802 in josm


Ignore:
Timestamp:
2010-01-10T05:14:38+01:00 (10 years ago)
Author:
mjulius
Message:

don't try to load languages that are not included in I18n.languages

File:
1 edited

Legend:

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

    r2785 r2802  
    179179            return true;
    180180        }
     181        if (!languages.containsKey(l))
     182            return false;
    181183        URL en = Main.class.getResource("/data/en.lang");
    182184        if(en == null)
Note: See TracChangeset for help on using the changeset viewer.