add resources for airplane mode/network disable

This commit is contained in:
Nathan Freitas 2013-08-19 09:34:27 -04:00
parent 2c278f3d52
commit 0a3cc50ce4
2 changed files with 15 additions and 0 deletions

View File

@ -235,4 +235,10 @@
<string name="powered_by">powered by The Tor Project </string>
<string name="btn_save_settings">Save Settings</string>
<string name="no_internet_connection_tor">No internet connection; Tor is on standby...</string>
<string name="bandwidth_">Bandwidth:</string>
<string name="down">down</string>
<string name="up">up</string>
<string name="pref_disable_network_title">Network Auto-Sleep</string>
<string name="pref_disable_network_summary">Put Tor to sleep when there is no network connectivity</string>
</resources>

View File

@ -216,6 +216,15 @@ android:summary="@string/pref_use_sys_iptables_summary"
android:enabled="true"
android:title="@string/pref_use_sys_iptables_title"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_disable_network"
android:summary="@string/pref_disable_network_summary"
android:enabled="true"
android:title="@string/pref_disable_network_title"/>
<!--
<CheckBoxPreference
android:defaultValue="false"