Changeset 8241 in josm for trunk/src/org
- Timestamp:
- 2015-04-20T11:21:00+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r8228 r8241 663 663 if (!"en".equals(l.getLanguage())) { 664 664 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()))); 666 666 } else { 667 667 strings = null; -
trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java
r8233 r8241 138 138 */ 139 139 public static String getDisplayName(Locale locale) { 140 String full = locale.toString();140 /*String full = locale.toString(); 141 141 if ("ca__valencia".equals(full)) 142 return t rc("language", "Valencian");142 return t_r_c("language", "Valencian");*/ 143 143 144 144 return locale.getDisplayName();
Note:
See TracChangeset
for help on using the changeset viewer.