Skip to content

Commit

Permalink
feat(YouTube/Shorts components): clarify the description of some sett…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 1, 2024
1 parent 3ca97f9 commit de0ccbf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,9 @@ Side effect: Official headers in search results will be hidden."</string>
<string name="revanced_hide_shorts_paid_promotion_label_title">Hide paid promotion label</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_on">Paid promotion label is hidden.</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_off">Paid promotion label is shown.</string>
<string name="revanced_hide_shorts_shopping_button_title">Hide Shopping button</string>
<string name="revanced_hide_shorts_shopping_button_summary_on">Shopping button is hidden.</string>
<string name="revanced_hide_shorts_shopping_button_summary_off">Shopping button is shown.</string>
<string name="revanced_hide_shorts_shop_button_title">Hide Shop button</string>
<string name="revanced_hide_shorts_shop_button_summary_on">Shop button is hidden.</string>
<string name="revanced_hide_shorts_shop_button_summary_off">Shop button is shown.</string>
Expand All @@ -1080,15 +1083,15 @@ Side effect: Official headers in search results will be hidden."</string>
<string name="revanced_hide_shorts_tagged_products_title">Hide tagged products</string>
<string name="revanced_hide_shorts_tagged_products_summary_on">Tagged products are hidden.</string>
<string name="revanced_hide_shorts_tagged_products_summary_off">Tagged products are shown.</string>
<string name="revanced_hide_shorts_location_label_title">Hide location label</string>
<string name="revanced_hide_shorts_location_label_summary_on">Location label is hidden.</string>
<string name="revanced_hide_shorts_location_label_summary_off">Location label is shown.</string>
<string name="revanced_hide_shorts_location_button_title">Hide location button</string>
<string name="revanced_hide_shorts_location_button_summary_on">Location button is hidden.</string>
<string name="revanced_hide_shorts_location_button_summary_off">Location button is shown.</string>
<string name="revanced_hide_shorts_save_sound_button_title">Hide save sound to playlist button</string>
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save sound to playlist button is hidden.</string>
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save sound to playlist button is shown.</string>
<string name="revanced_hide_shorts_search_suggestions_title">Hide search suggestions</string>
<string name="revanced_hide_shorts_search_suggestions_summary_on">Search suggestions are hidden.</string>
<string name="revanced_hide_shorts_search_suggestions_summary_off">Search suggestions are shown.</string>
<string name="revanced_hide_shorts_search_suggestions_button_title">Hide search suggestions button</string>
<string name="revanced_hide_shorts_search_suggestions_button_summary_on">Search suggestions button is hidden.</string>
<string name="revanced_hide_shorts_search_suggestions_button_summary_off">Search suggestions button is shown.</string>
<string name="revanced_hide_shorts_use_this_sound_button_title">Hide Use this sound button</string>
<string name="revanced_hide_shorts_use_this_sound_button_summary_on">Use this sound button is hidden.</string>
<string name="revanced_hide_shorts_use_this_sound_button_summary_off">Use this sound button is shown.</string>
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -476,12 +476,13 @@
<SwitchPreference android:title="@string/revanced_hide_shorts_paused_header_title" android:key="revanced_hide_shorts_paused_header" android:summaryOn="@string/revanced_hide_shorts_paused_header_summary_on" android:summaryOff="@string/revanced_hide_shorts_paused_header_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_paused_overlay_buttons_title" android:key="revanced_hide_shorts_paused_overlay_buttons" android:summaryOn="@string/revanced_hide_shorts_paused_overlay_buttons_summary_on" android:summaryOff="@string/revanced_hide_shorts_paused_overlay_buttons_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_paid_promotion_label_title" android:key="revanced_hide_shorts_paid_promotion_label" android:summaryOn="@string/revanced_hide_shorts_paid_promotion_label_summary_on" android:summaryOff="@string/revanced_hide_shorts_paid_promotion_label_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shopping_button_title" android:key="revanced_hide_shorts_shopping_button" android:summaryOn="@string/revanced_hide_shorts_shopping_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_shopping_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shop_button_title" android:key="revanced_hide_shorts_shop_button" android:summaryOn="@string/revanced_hide_shorts_shop_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_shop_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_super_thanks_button_title" android:key="revanced_hide_shorts_super_thanks_button" android:summaryOn="@string/revanced_hide_shorts_super_thanks_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_super_thanks_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_tagged_products_title" android:key="revanced_hide_shorts_tagged_products" android:summaryOn="@string/revanced_hide_shorts_tagged_products_summary_on" android:summaryOff="@string/revanced_hide_shorts_tagged_products_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_location_label_title" android:key="revanced_hide_shorts_location_label" android:summaryOn="@string/revanced_hide_shorts_location_label_summary_on" android:summaryOff="@string/revanced_hide_shorts_location_label_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_location_button_title" android:key="revanced_hide_shorts_location_button" android:summaryOn="@string/revanced_hide_shorts_location_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_location_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_save_sound_button_title" android:key="revanced_hide_shorts_save_sound_button" android:summaryOn="@string/revanced_hide_shorts_save_sound_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_save_sound_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_search_suggestions_title" android:key="revanced_hide_shorts_search_suggestions" android:summaryOn="@string/revanced_hide_shorts_search_suggestions_summary_on" android:summaryOff="@string/revanced_hide_shorts_search_suggestions_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_search_suggestions_button_title" android:key="revanced_hide_shorts_search_suggestions_button" android:summaryOn="@string/revanced_hide_shorts_search_suggestions_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_search_suggestions_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_use_this_sound_button_title" android:key="revanced_hide_shorts_use_this_sound_button" android:summaryOn="@string/revanced_hide_shorts_use_this_sound_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_use_this_sound_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_info_panel_title" android:key="revanced_hide_shorts_info_panel" android:summaryOn="@string/revanced_hide_shorts_info_panel_summary_on" android:summaryOff="@string/revanced_hide_shorts_info_panel_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_live_header_title" android:key="revanced_hide_shorts_live_header" android:summaryOn="@string/revanced_hide_shorts_live_header_summary_on" android:summaryOff="@string/revanced_hide_shorts_live_header_summary_off" />
Expand Down

0 comments on commit de0ccbf

Please sign in to comment.