From 52acf68ed4b3e73c6bf88c7f2e30d2423222982b Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Thu, 7 Jan 2016 01:06:43 -0500 Subject: [PATCH] move "World" string to resource --- res/values/strings.xml | 2 ++ src/org/torproject/android/OrbotMainActivity.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index dc0e880c..7f1d349f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -334,4 +334,6 @@ Standard Browser NOTE: Only standard Tor bridges work on Intel X86/ATOM devices + + World diff --git a/src/org/torproject/android/OrbotMainActivity.java b/src/org/torproject/android/OrbotMainActivity.java index e93cdd76..7b7ca07a 100644 --- a/src/org/torproject/android/OrbotMainActivity.java +++ b/src/org/torproject/android/OrbotMainActivity.java @@ -312,7 +312,7 @@ public class OrbotMainActivity extends Activity int selIdx = -1; ArrayList cList = new ArrayList(); - cList.add(0, "WORLD"); + cList.add(0, getString(R.string.vpn_default_world)); for (int i = 0; i < TorServiceConstants.COUNTRY_CODES.length; i++) {