Added missing Tor preference res files

Based on #2.
This commit is contained in:
luca0N! 2021-03-03 22:18:38 -03:00
parent e8c2504a33
commit f32a0a7a43
Signed by: luca0N
GPG Key ID: 2E7B4655CF16D7D6
3 changed files with 18 additions and 5 deletions

View File

@ -25,4 +25,5 @@ Contact us at <joguitos+pluck@luca0n.com>.
<resources>
<string name="pref_category_sound">pref_key_category_sound</string>
<string name="pref_sound_answer">pref_sound_answer</string>
<string name="pref_network_tor">pref_network_tor</string>
</resources>

View File

@ -83,11 +83,15 @@ Contact us at <joguitos+pluck@luca0n.com>.
<string name="ui_return_to_menu">Return To Menu</string>
<!-- Error Strings -->
<string name="error_network"><b>Network error!</b>\n Could not connect to a network.</string>
<string name="error_no_trivia_results"><b>No trivia results!</b>\n Was not able to find trivia questions that satisfied all options.</string>
<string name="error_network"><b>Network error!</b>\nCould not connect to a network.\n\nIf Tor is enabled in the game settings, check if Orbot is running and then try again.</string>
<string name="error_no_trivia_results"><b>No trivia results!</b>\nWas not able to find trivia questions that satisfied all options.</string>
<string name="title_activity_settings">Settings</string>
<!-- Setting Strings-->
<string name="pref_category_sound_title">Sound</string>
<string name="pref_sound_answer_title">Answer Sound Effect</string>
<string name="pref_category_network_title">Network</string>
<string name="pref_network_tor_title">Connect using Tor</string>
<string name="pref_network_tor_summary">Retrieves trivia data via the Tor network. Requires Orbot.</string>
</resources>

View File

@ -34,5 +34,13 @@ Contact us at <joguitos+pluck@luca0n.com>.
android:title="@string/pref_sound_answer_title" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_category_network_title">
<CheckBoxPreference
android:defaultValue="false"
android:key="@string/pref_network_tor"
android:title="@string/pref_network_tor_title"
android:summary="@string/pref_network_tor_summary" />
</PreferenceCategory>
</PreferenceScreen>