Skip to content

Commit bbc3217

Browse files
committed
feat(YouTube - Hide layout components): Add Subscriptions tab and Comments to Keyword filter
1 parent bd7cb77 commit bbc3217

File tree

2 files changed

+38
-21
lines changed

2 files changed

+38
-21
lines changed

src/main/resources/youtube/settings/host/values/strings.xml

+14-5
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,22 @@ Note: This feature hasn't been tested."</string>
9292
<string name="revanced_custom_filter_summary_off">Custom filter is disabled.</string>
9393
<string name="revanced_custom_filter_summary_on">Custom filter is enabled.</string>
9494
<string name="revanced_custom_filter_title">Enable custom filter</string>
95-
<string name="revanced_keyword_invalid_length" formatted="false">Invalid keyword length (must be at least %s characters): %s.</string>
95+
<string name="revanced_hide_keyword_content_comment_summary_off">Keyword filter for comments is disabled.</string>
96+
<string name="revanced_hide_keyword_content_comment_summary_on">Keyword filter for comments is enabled.</string>
97+
<string name="revanced_hide_keyword_content_comment_title">Enable comments keyword filter</string>
98+
<string name="revanced_hide_keyword_content_feed_summary_off">Keyword filter for feed and search is disabled.</string>
99+
<string name="revanced_hide_keyword_content_feed_summary_on">Keyword filter for feed and search is enabled.</string>
100+
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>
101+
<string name="revanced_hide_keyword_content_sub_summary_off">Keyword filter for subscriptions is disabled.</string>
102+
<string name="revanced_hide_keyword_content_sub_summary_on">Keyword filter for subscriptions is enabled.</string>
103+
<string name="revanced_hide_keyword_content_sub_title">Enable subscriptions keyword filter</string>
104+
<string name="revanced_hide_keyword_content_about_summary">Search/Home/Subscription results are filtered to hide content that matches keyword phrases\n\nLimitations\n• Some Shorts may not be hidden\n• Some UI components may not be hidden\n• Searching for a keyword may show no results</string>
105+
<string name="revanced_hide_keyword_toast_invalid_common" formatted="false">Invalid keyword. Cannot use: \'%s\' as a filter</string>
106+
<string name="revanced_hide_keyword_toast_invalid_length" formatted="false">Invalid keyword length (must be at least %s characters): %s.</string>
96107
<string name="revanced_keyword_filter_strings_summary">Configure keywords and phrases to hide, separated by new lines\n\nWords with uppercase letters in the middle must be entered with the casing (ie: iPhone, TikTok, LeBlanc).</string>
97108
<string name="revanced_keyword_filter_strings_title">Edit keyword filter</string>
98-
<string name="revanced_keyword_filter_summary_off">Keyword filter is disabled.</string>
99-
<string name="revanced_keyword_filter_summary_on">Keyword filter is enabled.</string>
100-
<string name="revanced_keyword_filter_summary">Hides feed and search result videos using keyword filters.</string>
101-
<string name="revanced_keyword_filter_title">Enable keyword filter</string>
109+
<string name="revanced_keyword_filter_summary">Hides videos using keyword filter.</string>
110+
<string name="revanced_keyword_filter_title">Keyword filter</string>
102111
<string name="revanced_custom_playback_speeds_invalid">Invalid custom playback speeds. Reset to default values.</string>
103112
<string name="revanced_custom_playback_speeds_summary">Add or change available playback speeds.</string>
104113
<string name="revanced_custom_playback_speeds_title">Edit custom playback speeds</string>

0 commit comments

Comments
 (0)