[tor-commits] [orbot/master] new preference value updates

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jul 18 02:44:32 UTC 2013


commit 2ab32fcccd415ce666593983c76494db58c66e72
Author: n8fr8 <nathan at freitas.net>
Date:   Wed Apr 3 15:48:16 2013 -0400

    new preference value updates
---
 res/values/strings.xml  |   23 ++++++++++++++++++-----
 res/xml/preferences.xml |   11 +++++++++++
 2 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/res/values/strings.xml b/res/values/strings.xml
index d49d8b3..9e07996 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -129,18 +129,31 @@
   <string name="pref_entrance_node">Entrance Nodes</string>
   <string name="pref_entrance_node_summary">Fingerprints, nicks, countries and addresses for the first hop</string>
   <string name="pref_entrance_node_dialog">Enter Entrance Nodes</string>
-  <!--<string name="pref_use_whispercore">Use WhisperCore</string>
-<string name="pref_use_whispercore_summary">Use the proprietary NetFilter APIs provided by WhisperSystems (required device with WhisperCore installed)</string>-->
-  <string name="pref_proxy_title">Outbound Network Proxy</string>
+  
+  <string name="pref_proxy_title">Outbound Network Proxy (Optional)</string>
+  
   <string name="pref_proxy_type_title">Outbound Proxy Type</string>
   <string name="pref_proxy_type_summary">Protocol to use for proxy server: HTTP, HTTPS, Socks4, Socks5</string>
   <string name="pref_proxy_type_dialog">Enter Proxy Type</string>
+  
   <string name="pref_proxy_host_title">Outbound Proxy Host</string>
-  <string name="pref_proxy_host_summary">Proxy server hostname</string>
+  <string name="pref_proxy_host_summary">Proxy Server hostname</string>
   <string name="pref_proxy_host_dialog">Enter Proxy Host</string>
+  
   <string name="pref_proxy_port_title">Outbound Proxy Port</string>
-  <string name="pref_proxy_port_summary">Proxy server port</string>
+  <string name="pref_proxy_port_summary">Proxy Server port</string>
   <string name="pref_proxy_port_dialog">Enter Proxy port</string>
+
+  <string name="pref_proxy_username_title">Outbound Proxy Username</string>
+  <string name="pref_proxy_username_summary">Proxy Username (Optional)</string>
+  <string name="pref_proxy_username_dialog">Enter Proxy Username</string>
+  
+  <string name="pref_proxy_password_title">Outbound Proxy Password</string>
+  <string name="pref_proxy_password_summary">Proxy Password (Optional)</string>
+  <string name="pref_proxy_password_dialog">Enter Proxy Password</string>
+  
+  
+  
   <string name="status">Status</string>
   <string name="setting_up_full_transparent_proxying_">Setting up full transparent proxying…</string>
   <string name="setting_up_app_based_transparent_proxying_">Setting up app-based transparent proxying…</string>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 96fe78f..2f92046 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -187,6 +187,17 @@ android:title="@string/pref_proxy_port_title"
 android:summary="@string/pref_proxy_port_summary"
 android:dialogTitle="@string/pref_proxy_port_dialog"
 />
+
+<EditTextPreference android:key="pref_proxy_username"
+android:title="@string/pref_proxy_username_title"
+android:summary="@string/pref_proxy_username_summary"
+android:dialogTitle="@string/pref_proxy_username_dialog"
+/>
+<EditTextPreference android:key="pref_proxy_password"
+android:title="@string/pref_proxy_password_title"
+android:summary="@string/pref_proxy_password_summary"
+android:dialogTitle="@string/pref_proxy_password_dialog"
+/>
 </PreferenceCategory>
 
 <PreferenceCategory android:title="Debug">





More information about the tor-commits mailing list