diff --git a/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings index 98afe0a2a6..8a60a1b8d1 100644 --- a/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "السماح بالمشغل المصغّر لكل فيديوهات يوتيوب"; "YT_MINIPLAYER_DESC" = "عند تصغير فيديوهات الأطفال مثلاً (قبل إغلاق المقطع)."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "استخدام مؤشر تغيير الصوت الخاص بالنظام"; "STOCK_VOLUME_HUD_DESC" = "إظهار مؤشر تغيير الصوت الرسمي الخاص بـ iOS بدلاً من مؤشر يوتيوب"; diff --git a/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings index 2cc27bf9b3..720b8a6cba 100644 --- a/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Povolit Minipřehrávač pro všechna videa"; "YT_MINIPLAYER_DESC" = "Například u videa pro děti"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings index 062223a64a..9b61019dd8 100755 --- a/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Miniplayer für alle YouTube-Videos aktivieren"; "YT_MINIPLAYER_DESC" = "z.B. bei Videos für Kinder."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Standard iOS Lautstärke HUD aktivieren"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings index 9e35b24d3b..90badf8574 100644 --- a/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Ενεργοποιήστε το miniplayer για όλα τα βίντεο του YouTube"; "YT_MINIPLAYER_DESC" = "Τα παιδικά βίντεο για παράδειγμα."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings index 7d2ab63943..1caf78edc6 100644 --- a/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Enable miniplayer for all videos"; "YT_MINIPLAYER_DESC" = "The miniplayer cannot be activated for certain videos (e.g., kids videos). This option bypasses that"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings index 42993ba5c9..a6cd45798b 100644 --- a/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Activar el minirreproductor para todos los vídeos de YouTube"; "YT_MINIPLAYER_DESC" = "Vídeos infantiles por ejemplo."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Utiliza el HUD de volumen de iOS"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings index bbf8c0bab7..84c7dffc9d 100644 --- a/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Activer le mini-lecteur pour toutes les vidéos YouTube"; "YT_MINIPLAYER_DESC" = "Vidéos pour enfants par exemple"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Utiliser l'affichage iOS du volume par défaut"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings index 408e6041ee..b4b557874c 100644 --- a/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "אפשר את הנגן הקטן עבור כל הסרטונים ב-YouTube"; "YT_MINIPLAYER_DESC" = "סרטוני ילדים לדוגמה."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings index bf67f56bc6..9f09fae10f 100644 --- a/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Engedélyezze a Minilejátszót az összes YouTube-videóhoz"; "YT_MINIPLAYER_DESC" = "Például gyermekvideók."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use iOS stock volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings index 805ed51815..1e97a3e543 100644 --- a/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Abilita il Miniplayer su tutti i video di YouTube"; "YT_MINIPLAYER_DESC" = "Video YouTube Kids per esempio."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use iOS stock volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/ja.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ja.lproj/Localizable.strings index 49c0cee78d..91cc384ce9 100644 --- a/Localizations/uYouPlus.bundle/ja.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ja.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "すべての動画でミニプレーヤーを有効にする"; "YT_MINIPLAYER_DESC" = "ミニプレーヤーが使えない動画(子ども向けの動画など)がありますが、このオプションでバイパスできます。"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "iOSのstockボリュームHUDを利用する"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings index f181ec9c84..46b6ea3705 100644 --- a/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "모든 YouTube 영상에서 미니 플레이어 활성화"; "YT_MINIPLAYER_DESC" = "유튜브 키즈의 영상 같은 경우."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "iOS 기본 음량 표시기 사용"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings index 2aec0f9534..6c51a9aea7 100644 --- a/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Schakel de Mini Speler in voor alle video's"; "YT_MINIPLAYER_DESC" = "Video's voor kinderen bijvoorbeeld."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings index acdd36c9d6..16476d201d 100644 --- a/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Włącz miniodtwarzach dla wszystkich filmów"; "YT_MINIPLAYER_DESC" = "Np. filmów dla dzieci."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings index 752ff1bc8b..6dda867f20 100644 --- a/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Ative o Miniplayer para todos os vídeos do YouTube"; "YT_MINIPLAYER_DESC" = "Vídeos infantis, por exemplo."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Usar o HUD de volume padrão do iOS"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings index 59907f1bf4..0feae9c274 100644 --- a/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Activare Miniplayer pentru toate videoclipurile YouTube"; "YT_MINIPLAYER_DESC" = "De exemplu, videoclipurile destinate pentri copii"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings index a4de90dade..b079ab40c2 100644 --- a/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Мини-плеер для всех видео"; "YT_MINIPLAYER_DESC" = "Принудительно активирует мини-плеер для всех видео, включая видео, предназначенное для детей."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Использовать стоковый слайдер грмкости iOS"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings index 40e02b7c35..9aa7f0640a 100644 --- a/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings @@ -63,6 +63,15 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap "YT_MINIPLAYER" = "Enable miniplayer for all videos"; "YT_MINIPLAYER_DESC" = "The miniplayer cannot be activated for certain videos (e.g., kids videos). This option bypasses that"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Use stock iOS volume HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/tr.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/tr.lproj/Localizable.strings index 0e6bc9c79f..108d98527c 100644 --- a/Localizations/uYouPlus.bundle/tr.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/tr.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Tüm YouTube videoları için Mini Oynatıcıyı etkinleştir"; "YT_MINIPLAYER_DESC" = "Örneğin çocuk videoları."; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Mevcut iOS baş yukarı göstergesi(HUD) alanını kullan"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings index b82dbd0d8d..a4bbcca789 100644 --- a/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "Cho phép sử dụng trình phát thu nhỏ với mọi video"; "YT_MINIPLAYER_DESC" = "Ví dụ: Video cho trẻ em."; +"HIDE_REMIX_BUTTON" = "Ẩn nút Phối lại"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Ẩn nút Tạo đoạn video"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Ẩn nút Tải xuống"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "Sử dụng thanh âm lượng mặc định của iOS"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings index ba039f074e..310f0cdb2f 100644 --- a/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "为所有 YouTube 视频启用迷你播放器"; "YT_MINIPLAYER_DESC" = "例如:面向儿童的视频。"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "使用 iOS 自带音量指示"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings index b13e9ebeee..7acdc6915e 100644 --- a/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings @@ -48,6 +48,15 @@ "YT_MINIPLAYER" = "為所有 YouTube 影片啟用迷你播放器"; "YT_MINIPLAYER_DESC" = "例如兒童影片"; +"HIDE_REMIX_BUTTON" = "Hides Remix button"; +"HIDE_REMIX_BUTTON_DESC" = ""; + +"HIDE_CLIP_BUTTON" = "Hide Clip button"; +"HIDE_CLIP_BUTTON_DESC" = ""; + +"HIDE_DOWNLOAD_BUTTON" = "Hide Download button"; +"HIDE_DOWNLOAD_BUTTON_DESC" = ""; + "STOCK_VOLUME_HUD" = "使用 iOS 內建的音量 HUD"; "STOCK_VOLUME_HUD_DESC" = ""; diff --git a/Sources/uYouPlus.h b/Sources/uYouPlus.h index 35927c2c3c..1a4e5bbf66 100644 --- a/Sources/uYouPlus.h +++ b/Sources/uYouPlus.h @@ -10,6 +10,11 @@ #import // Activate FLEX #import +// Hide buttons under the video player by @PoomSmart +#import +#import +#import + // #import // Hide search ads by @PoomSmart - https://github.com/PoomSmart/YouTube-X #define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil] diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 8dac51a82c..69464f8b71 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -26,14 +26,6 @@ NSBundle *tweakBundle = uYouPlusBundle(); } %end -// Disable double tap to seek -// Not needed anymore because uYou v3.0.3+ added this feature -// %hook YTDoubleTapToSeekController -// - (void)enableDoubleTapToSeek:(BOOL)arg1 { -// return IS_ENABLED(@"doubleTapToSeek_disabled") ? %orig(NO) : %orig; -// } -// %end - // Disable snap to chapter %hook YTSegmentableInlinePlayerBarView - (void)didMoveToWindow { @@ -51,6 +43,58 @@ NSBundle *tweakBundle = uYouPlusBundle(); } %end +// Hide useless buttons under the video player by @PoomSmart +static BOOL findCell(ASNodeController *nodeController, NSArray *identifiers) { + for (id child in [nodeController children]) { + if ([child isKindOfClass:%c(ELMNodeController)]) { + NSArray *elmChildren = [(ELMNodeController *)child children]; + for (ELMComponent *elmChild in elmChildren) { + for (NSString *identifier in identifiers) { + if ([[elmChild description] containsString:identifier]) + return YES; + } + } + } + + if ([child isKindOfClass:%c(ASNodeController)]) { + ASDisplayNode *childNode = ((ASNodeController *)child).node; // ELMContainerNode + NSArray *yogaChildren = childNode.yogaChildren; + for (ASDisplayNode *displayNode in yogaChildren) { + if ([identifiers containsObject:displayNode.accessibilityIdentifier]) + return YES; + } + + return findCell(child, identifiers); + } + + return NO; + } + return NO; +} + +%hook ASCollectionView + +- (CGSize)sizeForElement:(ASCollectionElement *)element { + if ([self.accessibilityIdentifier isEqualToString:@"id.video.scrollable_action_bar"]) { + ASCellNode *node = [element node]; + ASNodeController *nodeController = [node controller]; + if (IS_ENABLED(@"hideRemixButton_enabled") && findCell(nodeController, @[@"id.video.remix.button"])) { + return CGSizeZero; + } + + if (IS_ENABLED(@"hideClipButton_enabled") && findCell(nodeController, @[@"clip_button.eml"])) { + return CGSizeZero; + } + + if (IS_ENABLED(@"hideDownloadButton_enabled") && findCell(nodeController, @[@"id.ui.add_to.offline.button"])) { + return CGSizeZero; + } + } + return %orig; +} + +%end + // Enable miniplayer for all videos // See YTMiniPlayerEnabler.x @@ -99,24 +143,6 @@ NSBundle *tweakBundle = uYouPlusBundle(); } %end -// Hide next and previous buttons -// Not needed anymore because uYou v3.0.3+ added this feature -// %group gHidePreviousAndNextButton -// %hook YTColdConfig -// - (BOOL)removeNextPaddleForSingletonVideos { return YES; } -// - (BOOL)removePreviousPaddleForSingletonVideos { return YES; } -// %end -// %end - -// Replace next and previous buttons with fast forward and rewind -// Not needed anymore because uYou v3.0.2+ added this feature -// %group gReplacePreviousAndNextButton -// %hook YTColdConfig -// - (BOOL)replaceNextPaddleWithFastForwardButtonForSingletonVods { return YES; } -// - (BOOL)replacePreviousPaddleWithRewindButtonForSingletonVods { return YES; } -// %end -// %end - // Bring back the red progress bar - Broken?! %hook YTInlinePlayerBarContainerView - (id)quietProgressBarColor { @@ -159,14 +185,6 @@ NSBundle *tweakBundle = uYouPlusBundle(); } %end -// Disable resume to Shorts -// Not needed anymore because uYou v3.0.3+ added this feature -// %hook YTShortsStartupCoordinator -// - (id)evaluateResumeToShorts { -// return IS_ENABLED(@"disableResumeToShorts") ? nil : %orig; -// } -// %end - # pragma mark - Miscellaneous // Hide iSponsorBlock @@ -178,10 +196,6 @@ NSBundle *tweakBundle = uYouPlusBundle(); } %end -// YTCastConfirm -// See YTCastConfirm.xm -// Not needed anymore because uYou v3.0.2+ added this feature - // Disable hints - https://github.com/LillieH001/YouTube-Reborn/blob/v4/ %group gDisableHints %hook YTSettings @@ -332,12 +346,6 @@ NSBundle *tweakBundle = uYouPlusBundle(); // dlopen([[NSString stringWithFormat:@"%@/Frameworks/uYou.dylib", [[NSBundle mainBundle] bundlePath]] UTF8String], RTLD_LAZY); %init; - // if (IS_ENABLED(@"hidePreviousAndNextButton_enabled")) { - // %init(gHidePreviousAndNextButton); - // } - // if (IS_ENABLED(@"replacePreviousAndNextButton_enabled")) { - // %init(gReplacePreviousAndNextButton); - // } if (IS_ENABLED(@"disableHints_enabled")) { %init(gDisableHints); } diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index ac15f9471e..fb4236dbdf 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -164,11 +164,13 @@ extern NSBundle *uYouPlusBundle(); SECTION_HEADER(LOC(@"VIDEO_PLAYER_OPTIONS")); SWITCH_ITEM2(LOC(@"SLIDE_TO_SEEK"), LOC(@"SLIDE_TO_SEEK_DESC"), @"slideToSeek_enabled"); - // SWITCH_ITEM(LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK"), LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK_DESC"), @"doubleTapToSeek_disabled"); SWITCH_ITEM2(LOC(@"SNAP_TO_CHAPTER"), LOC(@"SNAP_TO_CHAPTER_DESC"), @"snapToChapter_enabled"); SWITCH_ITEM2(LOC(@"PINCH_TO_ZOOM"), LOC(@"PINCH_TO_ZOOM_DESC"), @"pinchToZoom_enabled"); SWITCH_ITEM(LOC(@"YT_MINIPLAYER"), LOC(@"YT_MINIPLAYER_DESC"), @"ytMiniPlayer_enabled"); - SWITCH_ITEM2(LOC(@"STOCK_VOLUME_HUD"), LOC(@"STOCK_VOLUME_HUD_DESC"), @"stockVolumeHUD_enabled"); + SWITCH_ITEM(LOC(@"HIDE_REMIX_BUTTON"), LOC(@"HIDE_REMIX_BUTTON_DESC"), @"hideRemixButton_enabled"); + SWITCH_ITEM(LOC(@"HIDE_CLIP_BUTTON"), LOC(@"HIDE_CLIP_BUTTON_DESC"), @"hideClipButton_enabled"); + SWITCH_ITEM(LOC(@"HIDE_DOWNLOAD_BUTTON"), LOC(@"HIDE_DOWNLOAD_BUTTON_DESC"), @"hideDownloadButton_enabled"); + SWITCH_ITEM(LOC(@"STOCK_VOLUME_HUD"), LOC(@"STOCK_VOLUME_HUD_DESC"), @"stockVolumeHUD_enabled"); # pragma mark - Video controls overlay options SECTION_HEADER(LOC(@"VIDEO_CONTROLS_OVERLAY_OPTIONS")); @@ -178,7 +180,6 @@ extern NSBundle *uYouPlusBundle(); SWITCH_ITEM(LOC(@"HIDE_HUD_MESSAGES"), LOC(@"HIDE_HUD_MESSAGES_DESC"), @"hideHUD_enabled"); SWITCH_ITEM(LOC(@"HIDE_PAID_PROMOTION_CARDS"), LOC(@"HIDE_PAID_PROMOTION_CARDS_DESC"), @"hidePaidPromotionCard_enabled"); SWITCH_ITEM2(LOC(@"HIDE_CHANNEL_WATERMARK"), LOC(@"HIDE_CHANNEL_WATERMARK_DESC"), @"hideChannelWatermark_enabled"); - // SWITCH_ITEM(LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON"), LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC"), @"hidePreviousAndNextButton_enabled"); SWITCH_ITEM2(LOC(@"RED_PROGRESS_BAR"), LOC(@"RED_PROGRESS_BAR_DESC"), @"redProgressBar_enabled"); SWITCH_ITEM(LOC(@"HIDE_HOVER_CARD"), LOC(@"HIDE_HOVER_CARD_DESC"), @"hideHoverCards_enabled"); SWITCH_ITEM2(LOC(@"HIDE_RIGHT_PANEL"), LOC(@"HIDE_RIGHT_PANEL_DESC"), @"hideRightPanel_enabled"); @@ -188,14 +189,13 @@ extern NSBundle *uYouPlusBundle(); SWITCH_ITEM(LOC(@"HIDE_SUPER_THANKS"), LOC(@"HIDE_SUPER_THANKS_DESC"), @"hideBuySuperThanks_enabled"); SWITCH_ITEM(LOC(@"HIDE_SUBCRIPTIONS"), LOC(@"HIDE_SUBCRIPTIONS_DESC"), @"hideSubcriptions_enabled"); - // SWITCH_ITEM(LOC(@"DISABLE_RESUME_TO_SHORTS"), LOC(@"DISABLE_RESUME_TO_SHORTS_DESC"), @"disableResumeToShorts"); # pragma mark - Miscellaneous SECTION_HEADER(LOC(@"MISCELLANEOUS")); - SWITCH_ITEM2(LOC(@"HIDE_ISPONSORBLOCK"), nil, @"hideiSponsorBlockButton_enabled"); + SWITCH_ITEM(LOC(@"HIDE_ISPONSORBLOCK"), nil, @"hideiSponsorBlockButton_enabled"); SWITCH_ITEM(LOC(@"DISABLE_HINTS"), LOC(@"DISABLE_HINTS_DESC"), @"disableHints_enabled"); - SWITCH_ITEM(LOC(@"ENABLE_YT_STARTUP_ANIMATION"), LOC(@"ENABLE_YT_STARTUP_ANIMATION_DESC"), @"ytStartupAnimation_enabled"); + SWITCH_ITEM2(LOC(@"ENABLE_YT_STARTUP_ANIMATION"), LOC(@"ENABLE_YT_STARTUP_ANIMATION_DESC"), @"ytStartupAnimation_enabled"); SWITCH_ITEM(LOC(@"HIDE_CHIP_BAR"), LOC(@"HIDE_CHIP_BAR_DESC"), @"hideChipBar_enabled"); SWITCH_ITEM(LOC(@"HIDE_PLAY_NEXT_IN_QUEUE"), LOC(@"HIDE_PLAY_NEXT_IN_QUEUE_DESC"), @"hidePlayNextInQueue_enabled"); SWITCH_ITEM2(LOC(@"IPHONE_LAYOUT"), LOC(@"IPHONE_LAYOUT_DESC"), @"iPhoneLayout_enabled");