Changeset 8241 in josm


Ignore:
Timestamp:
2015-04-20T11:21:00+02:00 (9 years ago)
Author:
stoecker
Message:

see #11148 - removed language display name workaround, but keep the function nevertheless

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

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

    r8228 r8241  
    663663                if (!"en".equals(l.getLanguage())) {
    664664                    Main.info(tr("Unable to find translation for the locale {0}. Reverting to {1}.",
    665                             l.getDisplayName(), Locale.getDefault().getDisplayName()));
     665                            LanguageInfo.getDisplayName(l), LanguageInfo.getDisplayName(Locale.getDefault())));
    666666                } else {
    667667                    strings = null;
  • trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java

    r8233 r8241  
    138138     */
    139139    public static String getDisplayName(Locale locale) {
    140         String full = locale.toString();
     140        /*String full = locale.toString();
    141141        if ("ca__valencia".equals(full))
    142             return trc("language", "Valencian");
     142            return t_r_c("language", "Valencian");*/
    143143
    144144        return locale.getDisplayName();
Note: See TracChangeset for help on using the changeset viewer.