From 48fb0cf91ce33830bb211beb1e9cb75da395562b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 7 Oct 2019 12:41:27 +0200 Subject: [PATCH] add Persian 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 27955e0e..ea25fca0 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", "French", "German", "Russian"}; + private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Persian", "Russian"}; private static int langSelectedChoice = 0; private static String[] timeList = {"Pretty", "Normal"}; @@ -256,6 +256,9 @@ public class SettingsFragment extends Fragment { case "German": tinyDb.putString("locale", "de"); break; + case "Persian": + tinyDb.putString("locale", "fa"); + break; case "Russian": tinyDb.putString("locale", "ru"); break;