added 2 languages, marked incomplete translations
Added Turkish and Welsh, marked languages with < 90% translation as incomplete
This commit is contained in:
parent
db5c846170
commit
a5a5946219
2 changed files with 11 additions and 7 deletions
|
@ -700,6 +700,7 @@
|
|||
<string name="system_locale">System</string>
|
||||
<string name="preferred_locale_descr">Select display language</string>
|
||||
<string name="preferred_locale">Display language</string>
|
||||
<string name="incomplete_locale">incomplete</string>
|
||||
<string name="tip_map_switch">Map Source</string>
|
||||
<string name="tip_map_switch_t_v2">\tThe map source and layers displayed are changed via \'Menu\' -> \'Define view\' in map view.
|
||||
\n\tUnder \'Map source…\' you can choose using the pre-loaded offline vector maps, predefined (online) tile sources (activate the \'Online and tile maps\' plugin for this), or maps manually created using e.g. OsmAndMapCreator on a PC.
|
||||
|
|
|
@ -314,6 +314,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
|||
}
|
||||
registerListPreference(osmandSettings.METRIC_SYSTEM, screen, entries, mvls);
|
||||
|
||||
String incompleteSuffix = " (" + getString(R.string.incomplete_locale) + ")";
|
||||
//getResources().getAssets().getLocales();
|
||||
entrieValues = new String[] { "",
|
||||
"en", "af", "hy", "eu", "bs", "bg",
|
||||
|
@ -321,14 +322,16 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
|||
"de", "el", "he", "hi", "hu", "id",
|
||||
"it", "ja", "ko", "lv", "lt", "mr",
|
||||
"no", "pl", "pt", "ro", "ru", "sk",
|
||||
"sl", "es", "sv", "uk", "vi" };
|
||||
"sl", "es", "sv", "tr", "uk", "vi",
|
||||
"cy" };
|
||||
entries = new String[] { getString(R.string.system_locale),
|
||||
"English", "Afrikaans", "Armenian", "Basque", "Bosnian", "Bulgarian",
|
||||
"Catalan", "Czech", "Dutch", "Finnish", "French", "Georgian",
|
||||
"German", "Greek", "Hebrew", "Hindi", "Hungarian", "Indonesian",
|
||||
"Italian", "Japanese", "Korean", "Latvian", "Lithuanian", "Marathi",
|
||||
"Norwegian", "Polish", "Portuguese", "Romanian", "Russian", "Slovak",
|
||||
"Slovenian", "Spanish", "Swedish", "Ukrainian", "Vietnamese" };
|
||||
"English", "Afrikaans", "Armenian" + incompleteSuffix, "Basque" + incompleteSuffix, "Bosnian" + incompleteSuffix, "Bulgarian" + incompleteSuffix,
|
||||
"Catalan", "Czech", "Dutch", "Finnish" + incompleteSuffix, "French", "Georgian",
|
||||
"German", "Greek", "Hebrew", "Hindi" + incompleteSuffix, "Hungarian", "Indonesian" + incompleteSuffix,
|
||||
"Italian", "Japanese" + incompleteSuffix, "Korean" + incompleteSuffix, "Latvian", "Lithuanian", "Marathi",
|
||||
"Norwegian" + incompleteSuffix, "Polish", "Portuguese", "Romanian", "Russian", "Slovak",
|
||||
"Slovenian" + incompleteSuffix, "Spanish", "Swedish" + incompleteSuffix, "Turkish" + incompleteSuffix, "Ukrainian" + incompleteSuffix, "Vietnamese"
|
||||
"Welsh" + incompleteSuffix };
|
||||
registerListPreference(osmandSettings.PREFERRED_LOCALE, screen, entries, entrieValues);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue