mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
add Persian to settings
This commit is contained in:
parent
8fcb05b0d2
commit
48fb0cf91c
@ -30,7 +30,7 @@ public class SettingsFragment extends Fragment {
|
|||||||
|
|
||||||
private Context ctx = null;
|
private Context ctx = null;
|
||||||
|
|
||||||
private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Russian"};
|
private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Persian", "Russian"};
|
||||||
private static int langSelectedChoice = 0;
|
private static int langSelectedChoice = 0;
|
||||||
|
|
||||||
private static String[] timeList = {"Pretty", "Normal"};
|
private static String[] timeList = {"Pretty", "Normal"};
|
||||||
@ -256,6 +256,9 @@ public class SettingsFragment extends Fragment {
|
|||||||
case "German":
|
case "German":
|
||||||
tinyDb.putString("locale", "de");
|
tinyDb.putString("locale", "de");
|
||||||
break;
|
break;
|
||||||
|
case "Persian":
|
||||||
|
tinyDb.putString("locale", "fa");
|
||||||
|
break;
|
||||||
case "Russian":
|
case "Russian":
|
||||||
tinyDb.putString("locale", "ru");
|
tinyDb.putString("locale", "ru");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user