From edb6cdf1546cc2b5e67a52fac09d320e5b3623b2 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 13 Oct 2019 19:19:04 +0200 Subject: [PATCH] add Serbian to Settings --- .../java/org/mian/gitnex/fragments/SettingsFragment.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java index 0e245c85..390ba48b 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java @@ -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;