Fix preferred locale

This commit is contained in:
Victor Shcherb 2014-09-01 09:19:53 +02:00
parent f81cfbf8df
commit c7e06037d5

View file

@ -725,7 +725,7 @@ public class OsmandSettings {
public final OsmandPreference<String> MAP_PREFERRED_LOCALE = new StringPreference("map_preferred_locale", "").makeGlobal();
public boolean usingEnglishNames() {
return MAP_PREFERRED_LOCALE.get().length() > 0;
return MAP_PREFERRED_LOCALE.get().equals("en");
}
// this value string is synchronized with settings_pref.xml preference name