Changeset 4220 in josm for trunk


Ignore:
Timestamp:
2011-07-09T23:41:28+02:00 (13 years ago)
Author:
stoecker
Message:

add language argument to applet

File:
1 edited

Legend:

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

    r3819 r4220  
    9696
    9797        Main.pref = new ServerSidePreferences(getCodeBase());
     98
     99        String lang = getParameter("language");
     100        I18n.set(lang != null ? lang : Main.pref.get("language", null));
     101
    98102        try
    99103        {
Note: See TracChangeset for help on using the changeset viewer.