tra sort locales

This commit is contained in:
sonora 2016-05-30 10:21:54 +02:00
parent 322b7ddadb
commit 84f100a631

View file

@ -262,8 +262,9 @@ public class SettingsGeneralActivity extends SettingsBaseActivity implements OnR
getString(R.string.lang_uk),
getString(R.string.lang_vi) + incompleteSuffix,
getString(R.string.lang_cy) + incompleteSuffix,};
String[] idsPl = ConfigureMapMenu.getSortedMapNamesIds(this, entries, entrieValues);
registerListPreference(settings.PREFERRED_LOCALE, screen, idsPl.ids, idsPl.values);
String[] valuesPl = ConfigureMapMenu.getSortedMapNamesIds(this, entrievalues, entrieValues);
String[] idsPl = ConfigureMapMenu.getSortedMapNamesIds(this, entries, valuesPl);
registerListPreference(settings.PREFERRED_LOCALE, screen, idsPl, valuesPl);
// Display "Device language" in Latin for all non-en languages
if (!getResources().getString(R.string.preferred_locale).equals(getResources().getString(R.string.preferred_locale_no_translate))) {