renamed to "restricted mode"

This commit is contained in:
Vincent Nagel 2020-04-11 17:26:16 -05:00
parent 1adcaf6ac0
commit eed9fe2684
8 changed files with 38 additions and 31 deletions

View file

@ -170,6 +170,7 @@
<string name="peertube_instance_list_key" translatable="false">peertube_instance_list</string>
<string name="content_country_key" translatable="false">content_country</string>
<string name="show_age_restricted_content" translatable="false">show_age_restricted_content</string>
<string name="restricted_mode_enabled" translatable="false">restricted_mode_enabled</string>
<string name="use_tor_key" translatable="false">use_tor</string>
<string name="enable_search_history_key" translatable="false">enable_search_history</string>
<string name="enable_watch_history_key" translatable="false">enable_watch_history</string>

View file

@ -137,6 +137,7 @@
<string name="content">Content</string>
<string name="show_age_restricted_content_title">Age restricted content</string>
<string name="video_is_age_restricted">Show age restricted video. Future changes are possible from the settings.</string>
<string name="restricted_mode_enabled_title">Restricted mode</string>
<string name="restricted_video">This video is age restricted.\n\nIf you want to view it, enable \"Age restricted content\" in the settings.</string>
<string name="duration_live">Live</string>
<string name="downloads">Downloads</string>

View file

@ -51,6 +51,12 @@
android:key="@string/show_age_restricted_content"
android:title="@string/show_age_restricted_content_title"/>
<SwitchPreference
app:iconSpaceReserved="false"
android:defaultValue="false"
android:key="@string/restricted_mode_enabled"
android:title="@string/restricted_mode_enabled_title"/>
<SwitchPreference
app:iconSpaceReserved="false"
android:defaultValue="true"