mirror of https://codeberg.org/gitnex/GitNex.git
add Serbian to Settings
This commit is contained in:
parent
687b66751f
commit
edb6cdf154
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue