From 36b1ed4333cd2ed623eaa1666b7138d37048a9e3 Mon Sep 17 00:00:00 2001
From: Aaron Veil <70171475+anddea@users.noreply.github.com>
Date: Mon, 25 Mar 2024 18:35:09 +0300
Subject: [PATCH] fix(YouTube - Translations): Update translations info
ar - 19 missing strings, 8 updated strings.
bg-rBG - 64 missing strings, 8 updated strings.
bn - 255 missing strings, 8 updated strings.
de-rDE - 317 missing strings, 8 updated strings.
el-rGR - 32 missing strings, 8 updated strings.
es-rES - 0 missing strings, 8 updated strings.
fi-rFI - 256 missing strings, 8 updated strings.
fr-rFR - 12 missing strings, 8 updated strings.
hu-rHU - 32 missing strings, 8 updated strings.
id-rID - 188 missing strings, 8 updated strings.
in - 188 missing strings, 8 updated strings.
it-rIT - 0 missing strings, 1 updated strings.
ja-rJP - 0 missing strings, 1 updated strings.
ko-rKR - 0 missing strings, 1 updated strings.
pl-rPL - 0 missing strings, 1 updated strings.
pt-rBR - 9 missing strings, 4 updated strings.
ru-rRU - 9 missing strings, 4 updated strings.
tr-rTR - 32 missing strings, 8 updated strings.
uk-rUA - 9 missing strings, 4 updated strings.
vi-rVN - 32 missing strings, 8 updated strings.
zh-rCN - 215 missing strings, 8 updated strings.
zh-rTW - 37 missing strings, 8 updated strings.
---
search_for_missing_strings.py | 154 +++++++++++-------
.../youtube/settings/host/values/strings.xml | 4 +-
.../youtube/settings/xml/revanced_prefs.xml | 2 +-
.../translations/ar/missing_strings.xml | 2 +-
.../translations/ar/updated-strings.xml | 2 +
.../translations/bg-rBG/missing_strings.xml | 2 +-
.../translations/bg-rBG/updated-strings.xml | 2 +
.../translations/bn/missing_strings.xml | 4 +-
.../translations/bn/updated-strings.xml | 2 +
.../translations/de-rDE/missing_strings.xml | 4 +-
.../translations/de-rDE/updated-strings.xml | 2 +
.../translations/el-rGR/missing_strings.xml | 2 +-
.../translations/el-rGR/updated-strings.xml | 2 +
.../translations/es-rES/updated-strings.xml | 2 +
.../translations/fi-rFI/missing_strings.xml | 4 +-
.../translations/fi-rFI/updated-strings.xml | 2 +
.../translations/fr-rFR/missing_strings.xml | 2 +-
.../translations/fr-rFR/updated-strings.xml | 2 +
.../translations/hu-rHU/missing_strings.xml | 2 +-
.../translations/hu-rHU/updated-strings.xml | 2 +
.../translations/id-rID/missing_strings.xml | 4 +-
.../translations/id-rID/updated-strings.xml | 2 +
.../translations/in/missing_strings.xml | 4 +-
.../translations/in/updated-strings.xml | 2 +
.../translations/it-rIT/updated-strings.xml | 2 +
.../translations/ja-rJP/updated-strings.xml | 1 +
.../translations/ko-rKR/updated-strings.xml | 2 +
.../translations/pl-rPL/missing_strings.xml | 9 -
.../youtube/translations/pl-rPL/strings.xml | 2 +-
.../translations/pl-rPL/updated-strings.xml | 4 +-
.../translations/pt-rBR/missing_strings.xml | 2 +-
.../translations/pt-rBR/updated-strings.xml | 2 +
.../translations/ru-rRU/missing_strings.xml | 2 +-
.../translations/ru-rRU/updated-strings.xml | 2 +
.../translations/tr-rTR/missing_strings.xml | 2 +-
.../translations/tr-rTR/updated-strings.xml | 2 +
.../translations/uk-rUA/missing_strings.xml | 2 +-
.../translations/uk-rUA/updated-strings.xml | 2 +
.../translations/vi-rVN/missing_strings.xml | 2 +-
.../translations/vi-rVN/updated-strings.xml | 2 +
.../translations/zh-rCN/missing_strings.xml | 4 +-
.../translations/zh-rCN/updated-strings.xml | 2 +
.../translations/zh-rTW/missing_strings.xml | 2 +-
.../translations/zh-rTW/updated-strings.xml | 2 +
44 files changed, 165 insertions(+), 97 deletions(-)
create mode 100644 src/main/resources/youtube/translations/it-rIT/updated-strings.xml
create mode 100644 src/main/resources/youtube/translations/ja-rJP/updated-strings.xml
create mode 100644 src/main/resources/youtube/translations/ko-rKR/updated-strings.xml
delete mode 100644 src/main/resources/youtube/translations/pl-rPL/missing_strings.xml
diff --git a/search_for_missing_strings.py b/search_for_missing_strings.py
index a392e74d38..454cc82b9f 100644
--- a/search_for_missing_strings.py
+++ b/search_for_missing_strings.py
@@ -18,64 +18,102 @@ def extract_strings(file_path):
# Extract strings from source file
source_strings = extract_strings(source_file)
-# Loop through destination folders
-# If you want to search only one language folder add +"/your_lang" to destination_directory
-# like this => for root, dirs, files in os.walk(destination_directory+"/ar"):
-for root, dirs, files in os.walk(destination_directory):
- if "strings.xml" in files:
- # Get destination file path
- destination_file = os.path.join(root, "strings.xml")
-
- # Get destination folder name (language code)
- destination_folder = os.path.dirname(destination_file)
- language_code = os.path.basename(destination_folder)
-
- # Output file path
- output_file = os.path.join(destination_folder, "missing_strings.xml")
-
- # Check if source and destination files exist
- if not os.path.isfile(source_file):
- print(f"Error: {source_file} not found.")
- exit(1)
-
- if not os.path.isfile(destination_file):
- print(f"Error: {destination_file} not found.")
- exit(1)
-
- # Extract strings from destination file
- destination_strings = extract_strings(destination_file)
-
- # Find missing strings
- missing_strings = []
-
- for name, attributes, content in source_strings:
- if name not in {name for name, _, _ in destination_strings}:
- string_tag = f'{content}\n'
- missing_strings.append(string_tag)
-
- # Sort missing strings by name attribute
- missing_strings.sort(key=lambda x: re.search(r'name="([^"]*)"', x).group(1))
-
- # Check if missing strings exist
- if not missing_strings:
- # Delete output file if exists
- if os.path.isfile(output_file):
- os.remove(output_file)
-
- print(f"No missing strings for {language_code}")
- else:
- # Save missing strings to output file
- with open(output_file, 'w') as file:
- for string_tag in missing_strings:
- file.write(string_tag)
-
- num_missing = len(missing_strings)
- print(f"{language_code} - {num_missing} missing strings.")
+def add_string_to_files(string):
+ for root, dirs, files in os.walk(destination_directory):
+ if "strings.xml" in files:
+ # Get destination file path
+ destination_file = os.path.join(root, "updated-strings.xml")
+ with open(destination_file, 'a') as f:
+ # Split the multiline string into lines, strip leading whitespace from each line, and join them back
+ stripped_lines = '\n'.join(line.strip() for line in string.split('\n'))
+ f.write(stripped_lines + '\n')
+
+# Function to find missing strings
+def find_missing_strings():
+ num_missing = 0 # Initialize num_missing to 0
+ num_updated = 0 # Initialize num_updated to 0
+
+ for root, dirs, files in os.walk(destination_directory):
+ if "strings.xml" in files:
+ # Get destination file path
+ destination_file = os.path.join(root, "strings.xml")
+
+ # Get destination folder name (language code)
+ destination_folder = os.path.dirname(destination_file)
+ language_code = os.path.basename(destination_folder)
+
+ # Output file path
+ output_file = os.path.join(destination_folder, "missing_strings.xml")
+
+ # Locate updated-strings.xml file
+ updated_strings_file = os.path.join(destination_folder, "updated-strings.xml")
+
+ # Check if source and destination files exist
+ if not os.path.isfile(source_file):
+ print(f"Error: {source_file} not found.")
+ return
+
+ if not os.path.isfile(destination_file):
+ print(f"Error: {destination_file} not found.")
+ return
+
+ # Extract strings from destination file
+ destination_strings = extract_strings(destination_file)
+
+ # Extract strings from updated-strings.xml if exists
+ if os.path.isfile(updated_strings_file):
+ updated_strings = extract_strings(updated_strings_file)
+ # Count name attributes in updated strings
+ num_updated = sum(1 for name, _, _ in updated_strings)
+
+ # Find missing strings
+ missing_strings = []
+
+ for name, attributes, content in source_strings:
+ if name not in {name for name, _, _ in destination_strings}:
+ string_tag = f'{content}\n'
+ missing_strings.append(string_tag)
+
+ # Sort missing strings by name attribute
+ missing_strings.sort(key=lambda x: re.search(r'name="([^"]*)"', x).group(1))
+
+ # Check if missing strings exist
+ if not missing_strings:
+ # Delete output file if exists
+ if os.path.isfile(output_file):
+ os.remove(output_file)
+
+ num_missing = 0
+ else:
+ # Save missing strings to output file
+ with open(output_file, 'w') as file:
+ for string_tag in missing_strings:
+ file.write(string_tag)
+
+ num_missing = len(missing_strings)
+
+ # Print the result
+ print(f"{language_code} - {num_missing} missing strings, {num_updated} updated strings.")
+
+# If there are no arguments, call the original script
+if len(sys.argv) == 1:
+ find_missing_strings()
+
+# If the argument is -n, call the string addition function
+elif len(sys.argv) == 3 and sys.argv[1] == '-n':
+ string = sys.argv[2]
+ add_string_to_files(string)
+
+# If neither condition is met, print a warning
+else:
+ print("Invalid arguments. Usage:")
+ print("To run original script: script.py")
+ print("To add a string to files: script.py -n 'string'")
# Prompt the user to press a key before closing the terminal window
input("\nPress Enter to exit...")
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index 4133dbe2a7..b23cebefda 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -101,7 +101,7 @@ Note: This feature hasn't been tested."
Keyword filter for subscriptions is disabled.
Keyword filter for subscriptions is enabled.
Enable subscriptions keyword filter
- 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
+ Search, Home, Subscription and Comments 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
Invalid keyword. Cannot use: \'%s\' as a filter
Invalid keyword length (must be at least %s characters): %s.
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).
@@ -746,7 +746,7 @@ Some videos, including those from channels you subscribe to, may not be hidden e
"Replace download button with external download button."
Hook download button
Inform
- Keeps landscape mode when turning the screen off and on in fullscreen.
+ Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index 4694233934..01f6d894b7 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -645,7 +645,7 @@
-
+
diff --git a/src/main/resources/youtube/translations/ar/missing_strings.xml b/src/main/resources/youtube/translations/ar/missing_strings.xml
index c73d98ce61..d693849de8 100644
--- a/src/main/resources/youtube/translations/ar/missing_strings.xml
+++ b/src/main/resources/youtube/translations/ar/missing_strings.xml
@@ -1,5 +1,5 @@
"The URL of the DeArrow thumbnail cache endpoint. Do not change this unless you know what you're doing."
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/ar/updated-strings.xml b/src/main/resources/youtube/translations/ar/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/ar/updated-strings.xml
+++ b/src/main/resources/youtube/translations/ar/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/bg-rBG/missing_strings.xml b/src/main/resources/youtube/translations/bg-rBG/missing_strings.xml
index 5796b4769c..784046f84d 100644
--- a/src/main/resources/youtube/translations/bg-rBG/missing_strings.xml
+++ b/src/main/resources/youtube/translations/bg-rBG/missing_strings.xml
@@ -13,7 +13,7 @@
Hide community posts in related video
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/bg-rBG/updated-strings.xml b/src/main/resources/youtube/translations/bg-rBG/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/bg-rBG/updated-strings.xml
+++ b/src/main/resources/youtube/translations/bg-rBG/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/bn/missing_strings.xml b/src/main/resources/youtube/translations/bn/missing_strings.xml
index 346b78100c..4ba3019dda 100644
--- a/src/main/resources/youtube/translations/bn/missing_strings.xml
+++ b/src/main/resources/youtube/translations/bn/missing_strings.xml
@@ -132,7 +132,7 @@ Some components may not be hidden."
"Hide 'For You' shelf"
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -187,7 +187,7 @@ Videos with a gray description include videos that are not related to search ter
Some videos, including those from channels you subscribe to, may not be hidden even if they have fewer than 1,000 views."
Hide videos with low views
Inform
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/bn/updated-strings.xml b/src/main/resources/youtube/translations/bn/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/bn/updated-strings.xml
+++ b/src/main/resources/youtube/translations/bn/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/de-rDE/missing_strings.xml b/src/main/resources/youtube/translations/de-rDE/missing_strings.xml
index 0522a017f1..0bd95c48e9 100644
--- a/src/main/resources/youtube/translations/de-rDE/missing_strings.xml
+++ b/src/main/resources/youtube/translations/de-rDE/missing_strings.xml
@@ -52,7 +52,7 @@ Some components may not be hidden."
Hide handle
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -145,7 +145,7 @@ Some videos, including those from channels you subscribe to, may not be hidden e
Hide web search results
Hook download button
Inform
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/de-rDE/updated-strings.xml b/src/main/resources/youtube/translations/de-rDE/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/de-rDE/updated-strings.xml
+++ b/src/main/resources/youtube/translations/de-rDE/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/el-rGR/missing_strings.xml b/src/main/resources/youtube/translations/el-rGR/missing_strings.xml
index 86dcc41982..53402b3792 100644
--- a/src/main/resources/youtube/translations/el-rGR/missing_strings.xml
+++ b/src/main/resources/youtube/translations/el-rGR/missing_strings.xml
@@ -5,7 +5,7 @@
Music
Sports
Watch later
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/el-rGR/updated-strings.xml b/src/main/resources/youtube/translations/el-rGR/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/el-rGR/updated-strings.xml
+++ b/src/main/resources/youtube/translations/el-rGR/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/es-rES/updated-strings.xml b/src/main/resources/youtube/translations/es-rES/updated-strings.xml
index 3c14e57840..83d446e439 100644
--- a/src/main/resources/youtube/translations/es-rES/updated-strings.xml
+++ b/src/main/resources/youtube/translations/es-rES/updated-strings.xml
@@ -14,3 +14,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/fi-rFI/missing_strings.xml b/src/main/resources/youtube/translations/fi-rFI/missing_strings.xml
index 8b9d68ccf1..5735e91338 100644
--- a/src/main/resources/youtube/translations/fi-rFI/missing_strings.xml
+++ b/src/main/resources/youtube/translations/fi-rFI/missing_strings.xml
@@ -133,7 +133,7 @@ Some components may not be hidden."
"Hide 'For You' shelf"
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -188,7 +188,7 @@ Videos with a gray description include videos that are not related to search ter
Some videos, including those from channels you subscribe to, may not be hidden even if they have fewer than 1,000 views."
Hide videos with low views
Inform
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/fi-rFI/updated-strings.xml b/src/main/resources/youtube/translations/fi-rFI/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/fi-rFI/updated-strings.xml
+++ b/src/main/resources/youtube/translations/fi-rFI/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/fr-rFR/missing_strings.xml b/src/main/resources/youtube/translations/fr-rFR/missing_strings.xml
index 731daa96a6..5ce4271971 100644
--- a/src/main/resources/youtube/translations/fr-rFR/missing_strings.xml
+++ b/src/main/resources/youtube/translations/fr-rFR/missing_strings.xml
@@ -1,4 +1,4 @@
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/fr-rFR/updated-strings.xml b/src/main/resources/youtube/translations/fr-rFR/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/fr-rFR/updated-strings.xml
+++ b/src/main/resources/youtube/translations/fr-rFR/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/hu-rHU/missing_strings.xml b/src/main/resources/youtube/translations/hu-rHU/missing_strings.xml
index 86dcc41982..53402b3792 100644
--- a/src/main/resources/youtube/translations/hu-rHU/missing_strings.xml
+++ b/src/main/resources/youtube/translations/hu-rHU/missing_strings.xml
@@ -5,7 +5,7 @@
Music
Sports
Watch later
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/hu-rHU/updated-strings.xml b/src/main/resources/youtube/translations/hu-rHU/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/hu-rHU/updated-strings.xml
+++ b/src/main/resources/youtube/translations/hu-rHU/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/id-rID/missing_strings.xml b/src/main/resources/youtube/translations/id-rID/missing_strings.xml
index 8c62340a7b..08be770b3a 100644
--- a/src/main/resources/youtube/translations/id-rID/missing_strings.xml
+++ b/src/main/resources/youtube/translations/id-rID/missing_strings.xml
@@ -87,7 +87,7 @@ Note: This feature hasn't been tested."
Hide create shorts button
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -126,7 +126,7 @@ Known issues:
"Hide videos with gray description from search results.
Videos with a gray description include videos that are not related to search terms."
Hide videos with gray description
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/id-rID/updated-strings.xml b/src/main/resources/youtube/translations/id-rID/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/id-rID/updated-strings.xml
+++ b/src/main/resources/youtube/translations/id-rID/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/in/missing_strings.xml b/src/main/resources/youtube/translations/in/missing_strings.xml
index 8c62340a7b..08be770b3a 100644
--- a/src/main/resources/youtube/translations/in/missing_strings.xml
+++ b/src/main/resources/youtube/translations/in/missing_strings.xml
@@ -87,7 +87,7 @@ Note: This feature hasn't been tested."
Hide create shorts button
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -126,7 +126,7 @@ Known issues:
"Hide videos with gray description from search results.
Videos with a gray description include videos that are not related to search terms."
Hide videos with gray description
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/in/updated-strings.xml b/src/main/resources/youtube/translations/in/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/in/updated-strings.xml
+++ b/src/main/resources/youtube/translations/in/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/it-rIT/updated-strings.xml b/src/main/resources/youtube/translations/it-rIT/updated-strings.xml
new file mode 100644
index 0000000000..ea1a80fe35
--- /dev/null
+++ b/src/main/resources/youtube/translations/it-rIT/updated-strings.xml
@@ -0,0 +1,2 @@
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/ja-rJP/updated-strings.xml b/src/main/resources/youtube/translations/ja-rJP/updated-strings.xml
new file mode 100644
index 0000000000..9ea819977c
--- /dev/null
+++ b/src/main/resources/youtube/translations/ja-rJP/updated-strings.xml
@@ -0,0 +1 @@
+Search, Home, Subscription and Comments 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
diff --git a/src/main/resources/youtube/translations/ko-rKR/updated-strings.xml b/src/main/resources/youtube/translations/ko-rKR/updated-strings.xml
new file mode 100644
index 0000000000..ea1a80fe35
--- /dev/null
+++ b/src/main/resources/youtube/translations/ko-rKR/updated-strings.xml
@@ -0,0 +1,2 @@
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/pl-rPL/missing_strings.xml b/src/main/resources/youtube/translations/pl-rPL/missing_strings.xml
deleted file mode 100644
index 07ffba2b2e..0000000000
--- a/src/main/resources/youtube/translations/pl-rPL/missing_strings.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-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
-Keyword filter for comments is disabled.
-Keyword filter for comments is enabled.
-Enable comments keyword filter
-Keyword filter for subscriptions is disabled.
-Keyword filter for subscriptions is enabled.
-Enable subscriptions keyword filter
-Invalid keyword. Cannot use: \'%s\' as a filter
-Keyword filter
diff --git a/src/main/resources/youtube/translations/pl-rPL/strings.xml b/src/main/resources/youtube/translations/pl-rPL/strings.xml
index 97d8dfc858..9b4690f78d 100644
--- a/src/main/resources/youtube/translations/pl-rPL/strings.xml
+++ b/src/main/resources/youtube/translations/pl-rPL/strings.xml
@@ -102,7 +102,7 @@ Notka: jest to funkcja, która nie została przetestowana."
Wyłączony
Włączony
Filtr słów kluczowych dla subskrypcji
- Wyniki wyszukiwania/strona główna/subskrypcje są filtrowane w celu ukrycia zawartości pasującej do słów kluczowych\n\nOgraniczenia\n• Niektóre Shortsy mogą nie być ukryte\n• Niektóre elementy interfejsu użytkownika mogą nie być ukryte\n• Wyszukiwanie słowa kluczowego może nie dać żadnych wyników.
+ Wyniki wyszukiwania/strona główna/subskrypcje są filtrowane w celu ukrycia zawartości pasującej do słów kluczowych\n\nOgraniczenia\n• Niektóre Shortsy mogą nie być ukryte\n• Niektóre elementy interfejsu użytkownika mogą nie być ukryte\n• Wyszukiwanie słowa kluczowego może nie dać żadnych wyników
Nieprawidłowe słowo kluczowe. Nie można użyć: \'%s\' jako filtra
Nieprawidłowa długość słowa kluczowego (musi mieć co najmniej %s znaków): %s.
Skonfiguruj słowa kluczowe i frazy do ukrycia według nazw oddzielonych liniami\n\Słowa z wielkimi literami w środku muszą być wprowadzane z zachowaniem wielkości liter (np. iPhone, TikTok, LeBlanc).
diff --git a/src/main/resources/youtube/translations/pl-rPL/updated-strings.xml b/src/main/resources/youtube/translations/pl-rPL/updated-strings.xml
index 6d82a5e331..9ea819977c 100644
--- a/src/main/resources/youtube/translations/pl-rPL/updated-strings.xml
+++ b/src/main/resources/youtube/translations/pl-rPL/updated-strings.xml
@@ -1,3 +1 @@
-Keyword filter for feed and search is disabled.
-Keyword filter for feed and search is enabled.
-Hides videos using keyword filter.
+Search, Home, Subscription and Comments 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
diff --git a/src/main/resources/youtube/translations/pt-rBR/missing_strings.xml b/src/main/resources/youtube/translations/pt-rBR/missing_strings.xml
index 07ffba2b2e..80f6d55f22 100644
--- a/src/main/resources/youtube/translations/pt-rBR/missing_strings.xml
+++ b/src/main/resources/youtube/translations/pt-rBR/missing_strings.xml
@@ -1,4 +1,4 @@
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/pt-rBR/updated-strings.xml b/src/main/resources/youtube/translations/pt-rBR/updated-strings.xml
index 6d82a5e331..72f34d13e9 100644
--- a/src/main/resources/youtube/translations/pt-rBR/updated-strings.xml
+++ b/src/main/resources/youtube/translations/pt-rBR/updated-strings.xml
@@ -1,3 +1,5 @@
Keyword filter for feed and search is disabled.
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/ru-rRU/missing_strings.xml b/src/main/resources/youtube/translations/ru-rRU/missing_strings.xml
index 07ffba2b2e..80f6d55f22 100644
--- a/src/main/resources/youtube/translations/ru-rRU/missing_strings.xml
+++ b/src/main/resources/youtube/translations/ru-rRU/missing_strings.xml
@@ -1,4 +1,4 @@
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/ru-rRU/updated-strings.xml b/src/main/resources/youtube/translations/ru-rRU/updated-strings.xml
index 6d82a5e331..72f34d13e9 100644
--- a/src/main/resources/youtube/translations/ru-rRU/updated-strings.xml
+++ b/src/main/resources/youtube/translations/ru-rRU/updated-strings.xml
@@ -1,3 +1,5 @@
Keyword filter for feed and search is disabled.
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/tr-rTR/missing_strings.xml b/src/main/resources/youtube/translations/tr-rTR/missing_strings.xml
index 86dcc41982..53402b3792 100644
--- a/src/main/resources/youtube/translations/tr-rTR/missing_strings.xml
+++ b/src/main/resources/youtube/translations/tr-rTR/missing_strings.xml
@@ -5,7 +5,7 @@
Music
Sports
Watch later
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/tr-rTR/updated-strings.xml b/src/main/resources/youtube/translations/tr-rTR/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/tr-rTR/updated-strings.xml
+++ b/src/main/resources/youtube/translations/tr-rTR/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/uk-rUA/missing_strings.xml b/src/main/resources/youtube/translations/uk-rUA/missing_strings.xml
index 07ffba2b2e..80f6d55f22 100644
--- a/src/main/resources/youtube/translations/uk-rUA/missing_strings.xml
+++ b/src/main/resources/youtube/translations/uk-rUA/missing_strings.xml
@@ -1,4 +1,4 @@
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/uk-rUA/updated-strings.xml b/src/main/resources/youtube/translations/uk-rUA/updated-strings.xml
index 6d82a5e331..72f34d13e9 100644
--- a/src/main/resources/youtube/translations/uk-rUA/updated-strings.xml
+++ b/src/main/resources/youtube/translations/uk-rUA/updated-strings.xml
@@ -1,3 +1,5 @@
Keyword filter for feed and search is disabled.
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/vi-rVN/missing_strings.xml b/src/main/resources/youtube/translations/vi-rVN/missing_strings.xml
index 86dcc41982..53402b3792 100644
--- a/src/main/resources/youtube/translations/vi-rVN/missing_strings.xml
+++ b/src/main/resources/youtube/translations/vi-rVN/missing_strings.xml
@@ -5,7 +5,7 @@
Music
Sports
Watch later
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/vi-rVN/updated-strings.xml b/src/main/resources/youtube/translations/vi-rVN/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/vi-rVN/updated-strings.xml
+++ b/src/main/resources/youtube/translations/vi-rVN/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/zh-rCN/missing_strings.xml b/src/main/resources/youtube/translations/zh-rCN/missing_strings.xml
index 616d58a599..f3b5f877ec 100644
--- a/src/main/resources/youtube/translations/zh-rCN/missing_strings.xml
+++ b/src/main/resources/youtube/translations/zh-rCN/missing_strings.xml
@@ -75,7 +75,7 @@ Note: Disabling the speed overlay restores the 'Slide to seek' behavior of the o
Hide community posts in related video
Hide videos with \"Only for Membership\" tag in Home Feed
Hide membership videos in Home Feed
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
@@ -148,7 +148,7 @@ Videos with a gray description include videos that are not related to search ter
Some videos, including those from channels you subscribe to, may not be hidden even if they have fewer than 1,000 views."
Hide videos with low views
Inform
-Keeps landscape mode when turning the screen off and on in fullscreen.
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
The amount of milliseconds the landscape mode is forced.
Keep landscape mode timeout
Keep landscape mode
diff --git a/src/main/resources/youtube/translations/zh-rCN/updated-strings.xml b/src/main/resources/youtube/translations/zh-rCN/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/zh-rCN/updated-strings.xml
+++ b/src/main/resources/youtube/translations/zh-rCN/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).
diff --git a/src/main/resources/youtube/translations/zh-rTW/missing_strings.xml b/src/main/resources/youtube/translations/zh-rTW/missing_strings.xml
index 35699b5cd7..77b2e92d7c 100644
--- a/src/main/resources/youtube/translations/zh-rTW/missing_strings.xml
+++ b/src/main/resources/youtube/translations/zh-rTW/missing_strings.xml
@@ -8,7 +8,7 @@
Community posts in related video are shown.
Community posts in related video are hidden.
Hide community posts in related video
-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
+Search, Home, Subscription and Comments 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
Keyword filter for comments is disabled.
Keyword filter for comments is enabled.
Enable comments keyword filter
diff --git a/src/main/resources/youtube/translations/zh-rTW/updated-strings.xml b/src/main/resources/youtube/translations/zh-rTW/updated-strings.xml
index 79370a3421..e7ec59d44d 100644
--- a/src/main/resources/youtube/translations/zh-rTW/updated-strings.xml
+++ b/src/main/resources/youtube/translations/zh-rTW/updated-strings.xml
@@ -13,3 +13,5 @@
Keyword filter for feed and search is enabled.
Hides videos using keyword filter.
+
+Keeps landscape mode when turning the screen off and on in fullscreen.\n\nKnown issue: It can break Picture-in-Picture (PIP).