add Persian to settings

This commit is contained in:
6543 2019-10-07 12:41:27 +02:00
parent 8fcb05b0d2
commit 48fb0cf91c
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271

View File

@ -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;