Settings: Languages: add Chinese and sort alphabetic

This commit is contained in:
6543 2019-10-06 06:01:48 +02:00
parent aadbcbd0c6
commit 8fe53dfd01
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class SettingsFragment extends Fragment {
private Context ctx = null;
private static String[] langList = {"English", "French", "German", "Russian", "Arabic"};
private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Russian"};
private static int langSelectedChoice = 0;
private static String[] timeList = {"Pretty", "Normal"};
@ -247,6 +247,9 @@ public class SettingsFragment extends Fragment {
case "Arabic":
tinyDb.putString("locale", "ar");
break;
case "Chinese":
tinyDb.putString("locale", "zh");
break;
case "French":
tinyDb.putString("locale", "fr");
break;