- Timestamp:
- 2019-03-25T09:33:03+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java
r12846 r14929 7 7 import java.util.ArrayList; 8 8 import java.util.Arrays; 9 import java.util.Comparator; 9 10 import java.util.List; 10 11 import java.util.Locale; … … 84 85 LanguageComboBoxModel() { 85 86 data.add(0, null); 86 data.addAll(Arrays.asList(I18n.getAvailableTranslations())); 87 List<Locale> locales = Arrays.asList(I18n.getAvailableTranslations()); 88 locales.sort(Comparator.comparing(Locale::getDisplayLanguage)); 89 data.addAll(locales); 87 90 } 88 91
Note:
See TracChangeset
for help on using the changeset viewer.