Changeset 1170 in josm for trunk/src


Ignore:
Timestamp:
2008-12-23T22:35:13+01:00 (15 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.