mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-26 16:04:07 +08:00
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 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 int langSelectedChoice = 0;
|
||||||
|
|
||||||
private static String[] timeList = {"Pretty", "Normal"};
|
private static String[] timeList = {"Pretty", "Normal"};
|
||||||
@ -247,6 +247,9 @@ public class SettingsFragment extends Fragment {
|
|||||||
case "Arabic":
|
case "Arabic":
|
||||||
tinyDb.putString("locale", "ar");
|
tinyDb.putString("locale", "ar");
|
||||||
break;
|
break;
|
||||||
|
case "Chinese":
|
||||||
|
tinyDb.putString("locale", "zh");
|
||||||
|
break;
|
||||||
case "French":
|
case "French":
|
||||||
tinyDb.putString("locale", "fr");
|
tinyDb.putString("locale", "fr");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user