Settings: Languages: add Chinese and sort alphabetic
This commit is contained in:
parent
aadbcbd0c6
commit
8fe53dfd01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue