Changeset 1170 in josm


Ignore:
Timestamp:
Dec 23, 2008 10:35:13 PM (4 years ago)
Author:
stoecker
Message:

suppress useless warning

File:
1 edited

Legend:

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

    r1169 r1170  
    192192            i18n = I18nFactory.getI18n(MainApplication.class); 
    193193        } catch (MissingResourceException ex) { 
    194             System.out.println("Unable to find translation for the locale: " + Locale.getDefault().getDisplayName() + " reverting to English."); 
     194            if(!Locale.getDefault().getLanguage().equals("en")) 
     195            { 
     196                System.out.println("Unable to find translation for the locale: " 
     197                + Locale.getDefault().getDisplayName() + " reverting to English."); 
     198            } 
    195199        } 
    196200 
Note: See TracChangeset for help on using the changeset viewer.