diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt index 66e025790e..1966c057e3 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt @@ -138,6 +138,7 @@ object HideLayoutComponentsPatch : BytecodePatch( SwitchPreference("revanced_hide_keyword_content_search"), TextPreference("revanced_hide_keyword_content_phrases", inputType = InputType.TEXT_MULTI_LINE), NonInteractivePreference("revanced_hide_keyword_content_about"), + NonInteractivePreference("revanced_hide_keyword_content_limitations"), ), ), ) diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml index fa9c6092ca..8747d410aa 100644 --- a/src/main/resources/addresources/values/strings.xml +++ b/src/main/resources/addresources/values/strings.xml @@ -243,13 +243,16 @@ This is because Crowdin requires temporarily flattening this file and removing t Search results are not filtered by keywords Keywords to hide - 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) + This is because keywords can be in any language, and showing an example in the localized script helps convey this. + Do not translate using 'fox' or 'foxes'. Instead use a localized pair of words where the first keyword is a substring of the second (and both words refer to the same thing/idea). If the language does not have any examples of this (such as some pictographic languages) then do not include that info in the translation. --> + 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)\n\nVideo with partial word matches are not hidden and some keywords may need additional variations (ie: if adding keyword \'fox\' then also add \'foxes\') About keyword filtering - Home/Subscription/Search 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 + Home/Subscription/Search results are filtered to hide content that matches keyword phrases\n\nKeywords can be a channel name or any text shown in video titles + Limitations + • Some Shorts may not be hidden\n• Some UI components may not be hidden\n• Searching for a keyword may show no results - Cannot use: \'%s\' as a keyword - Keyword \'%s\' will hide all videos + Cannot use keyword: \'%s\' + Keyword will hide all videos: \'%s\' Hide general ads