add a title plus summary to "Use Tor" preference

This commit is contained in:
Hans-Christoph Steiner 2016-01-01 19:45:41 +01:00
parent 0265da4ae6
commit e63d43151b
2 changed files with 3 additions and 2 deletions

View File

@ -64,5 +64,5 @@
<string name="detailThumbsDownImgViewDescription">Dislikes</string> <string name="detailThumbsDownImgViewDescription">Dislikes</string>
<string name="detailThumbsUpImgViewDescription">Likes</string> <string name="detailThumbsUpImgViewDescription">Likes</string>
<string name="useTor">Use Tor</string> <string name="useTor">Use Tor</string>
<string name="useTorTitle">Proxy connections via The Onion Router</string> <string name="useTorSummary">Force download traffic through Tor for increased privacy (streaming videos not yet supported)</string>
</resources> </resources>

View File

@ -74,7 +74,8 @@
<CheckBoxPreference <CheckBoxPreference
android:key="@string/useTor" android:key="@string/useTor"
android:title="@string/useTorTitle" android:title="@string/useTor"
android:summary="@string/useTorSummary"
android:defaultValue="false"/> android:defaultValue="false"/>
</PreferenceCategory> </PreferenceCategory>