add Serbian to Settings

This commit is contained in:
6543 2019-10-13 19:19:04 +02:00
parent 687b66751f
commit edb6cdf154
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 static String[] langList = {"Arabic", "Chinese", "English", "Finnish", "French", "German", "Italian", "Persian", "Russian"};
private static String[] langList = {"Arabic", "Chinese", "English", "Finnish", "French", "German", "Italian", "Persian", "Russian", "Serbian"};
private static int langSelectedChoice = 0;
private static String[] timeList = {"Pretty", "Normal"};
@ -268,6 +268,9 @@ public class SettingsFragment extends Fragment {
case "Russian":
tinyDb.putString("locale", "ru");
break;
case "Serbian":
tinyDb.putString("locale", "sr");
break;
default:
tinyDb.putString("locale", "en");
break;