[tor-commits] [orbot/master] new UI strings for tethering support

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Oct 28 15:28:25 UTC 2011


commit 422ba4bbcd66cceb51ed454f30be5882554fa570
Author: Nathan Freitas <nathan at freitas.net>
Date:   Thu Jun 2 16:21:38 2011 -0400

    new UI strings for tethering support
---
 res/values/strings.xml  |    4 ++++
 res/xml/preferences.xml |    7 +++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/res/values/strings.xml b/res/values/strings.xml
index bca3df9..1a5daf3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -131,4 +131,8 @@
     <string name="pref_start_boot_title">Start Orbot on Boot</string>
     <string name="pref_start_boot_summary">Automatically start Orbot and connect Tor when your Android device boots</string>
     
+    <string name="pref_transparent_tethering_title">Tor Tethering</string>
+	<string name="pref_transparent_tethering_summary">Enable Tor Transparent Proxying for Wifi and USB Tethered Devices</string>
+    
+    
 </resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 067cd74..e1aaad4 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -39,6 +39,13 @@ android:title="Select Apps"
 android:summary="Choose Apps to Route Through Tor"
 android:enabled="true"/>
 
+<CheckBoxPreference
+android:defaultValue="false" 
+android:key="pref_transparent_tethering"
+android:summary="@string/pref_transparent_tethering_summary"
+android:enabled="true" 
+android:title="@string/pref_transparent_tethering_title"/>
+
 
 </PreferenceCategory>
 





More information about the tor-commits mailing list