Changeset 1059 in josm
- Timestamp:
- 2008-10-29T22:20:08+01:00 (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.classpath
r787 r1059 8 8 <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> 9 9 <classpathentry kind="lib" path="lib/jfcunit.jar"/> 10 <classpathentry kind="lib" path="lib/josm-translation.jar"/> 10 11 <classpathentry kind="output" path="bin"/> 11 12 </classpath> -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r1058 r1059 21 21 import java.util.Locale; 22 22 import java.util.Map; 23 import java.util.MissingResourceException; 23 24 24 25 import javax.swing.JFrame; … … 179 180 } 180 181 181 i18n = I18nFactory.getI18n(MainApplication.class); 182 try { 183 i18n = I18nFactory.getI18n(MainApplication.class); 184 } catch (MissingResourceException ex) { 185 System.out.println("Unable to find translation for the locale: " + Locale.getDefault().getDisplayName() + " reverting to English."); 186 } 182 187 183 188 SplashScreen splash = new SplashScreen(Main.pref.getBoolean("draw.splashscreen", true));
Note:
See TracChangeset
for help on using the changeset viewer.