diff options
-rwxr-xr-x | main/misc/fetchtranslations.sh | 2 | ||||
-rwxr-xr-x | main/src/main/res/values-in/arrays.xml (renamed from main/src/main/res/values-id/arrays.xml) | 0 | ||||
-rwxr-xr-x | main/src/main/res/values-in/strings.xml (renamed from main/src/main/res/values-id/strings.xml) | 0 | ||||
-rw-r--r-- | vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java | 6 |
4 files changed, 5 insertions, 3 deletions
diff --git a/main/misc/fetchtranslations.sh b/main/misc/fetchtranslations.sh index d92c24b5..fc2f0672 100755 --- a/main/misc/fetchtranslations.sh +++ b/main/misc/fetchtranslations.sh @@ -26,7 +26,7 @@ do elif [ $lang = "zh-TW" ] ; then rlang="zh-rTW" elif [ $lang = "id" ] ; then - rlang="id" + rlang="in" fi echo "Fetch archive for $lang" diff --git a/main/src/main/res/values-id/arrays.xml b/main/src/main/res/values-in/arrays.xml index 1b30a740..1b30a740 100755 --- a/main/src/main/res/values-id/arrays.xml +++ b/main/src/main/res/values-in/arrays.xml diff --git a/main/src/main/res/values-id/strings.xml b/main/src/main/res/values-in/strings.xml index 0a7d32b0..0a7d32b0 100755 --- a/main/src/main/res/values-id/strings.xml +++ b/main/src/main/res/values-in/strings.xml diff --git a/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java b/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java index 199f23fb..638ca2ba 100644 --- a/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java +++ b/vpndialogxposed/src/main/java/de/blinkt/vpndialogxposed/AllowedVPNsChooser.java @@ -56,8 +56,10 @@ public class AllowedVPNsChooser extends ListActivity { private void saveAllowedApps(Set<String> allowedApps) { SharedPreferences prefs = getPreferences(MODE_WORLD_READABLE); - prefs.edit().putStringSet(ALLOWED_APPS,allowedApps) - .putInt("random",new Random().nextInt()).apply(); + SharedPreferences.Editor prefeditor = prefs.edit(); + prefeditor.putStringSet(ALLOWED_APPS,allowedApps); + prefeditor.putInt("random",new Random().nextInt()); + prefeditor.apply(); } |