Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
092dd5ef9e | ||
|
|
69b6f81d34 | ||
|
|
886c40b15d | ||
|
|
b28fc7958f | ||
|
|
eb08caf6ea | ||
|
|
f17eeb54b5 | ||
|
|
0019a2e690 | ||
|
|
0a98d61920 | ||
|
|
4fa79b7f58 | ||
|
|
02253c2396 | ||
|
|
a10cb96afc | ||
|
|
0a506b266b | ||
|
|
75272395f6 |
@@ -5,7 +5,7 @@ endif
|
||||
DEBUG=0
|
||||
FINALPACKAGE=1
|
||||
ARCHS = arm64
|
||||
PACKAGE_VERSION = 2.0
|
||||
PACKAGE_VERSION = 2.2
|
||||
TARGET := iphone:clang:latest:11.0
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# YTLite
|
||||
Lightweight YouTube Enhancer
|
||||
|
||||
Advanced mode can be activated inside **Version cell**. Then simply reopen YTLite settings
|
||||
|
||||
# How to build it yourself
|
||||
Clone this repo and __[YouTubeHeader by PoomSmart](https://github.com/PoomSmart/YouTubeHeader/)__
|
||||
|
||||
cd YTLite folder and run
|
||||
|
||||
• '**make clean package**' to build deb for rootful device
|
||||
|
||||
• '**make clean package ROOTLESS=1**' to build deb for rootless device
|
||||
|
||||
|
||||
<p align="center">
|
||||
<img src=https://github-production-user-asset-6210df.s3.amazonaws.com/38832025/248051008-4cef3fb5-ab24-4d8c-bc7f-122b1df95996.png?raw=true) />
|
||||
</p>
|
||||
+28
-4
@@ -119,7 +119,8 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(LOC(@"RemoveCast"), LOC(@"RemoveCastDesc"), @"noCast", &kNoCast, selfObject),
|
||||
createSwitchItem(LOC(@"RemoveNotifications"), LOC(@"RemoveNotificationsDesc"), @"removeNotifsButton", &kNoNotifsButton, selfObject),
|
||||
createSwitchItem(LOC(@"RemoveSearch"), LOC(@"RemoveSearchDesc"), @"removeSearchButton", &kNoSearchButton, selfObject)
|
||||
createSwitchItem(LOC(@"RemoveSearch"), LOC(@"RemoveSearchDesc"), @"removeSearchButton", &kNoSearchButton, selfObject),
|
||||
createSwitchItem(LOC(@"RemoveVoiceSearch"), LOC(@"RemoveVoiceSearchDesc"), @"removeVoiceSearchButton", &kNoVoiceSearchButton, selfObject)
|
||||
];
|
||||
|
||||
if (kAdvancedMode) {
|
||||
@@ -153,7 +154,7 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
createSwitchItem(LOC(@"HidePrevNext"), LOC(@"HidePrevNextDesc"), @"hidePrevNext", &kHidePrevNext, selfObject),
|
||||
createSwitchItem(LOC(@"ReplacePrevNext"), LOC(@"ReplacePrevNextDesc"), @"replacePrevNext", &kReplacePrevNext, selfObject),
|
||||
createSwitchItem(LOC(@"NoDarkBg"), LOC(@"NoDarkBgDesc"), @"noDarkBg", &kNoDarkBg, selfObject),
|
||||
createSwitchItem(LOC(@"NoEndScreenCards"), LOC(@"NoEndScreenCardsDesc"), @"noEndScreenCards", &kEndScreenCards, selfObject),
|
||||
createSwitchItem(LOC(@"NoEndScreenCards"), LOC(@"NoEndScreenCardsDesc"), @"endScreenCards", &kEndScreenCards, selfObject),
|
||||
createSwitchItem(LOC(@"NoFullscreenActions"), LOC(@"NoFullscreenActionsDesc"), @"noFullscreenActions", &kNoFullscreenActions, selfObject),
|
||||
createSwitchItem(LOC(@"NoRelatedVids"), LOC(@"NoRelatedVidsDesc"), @"noRelatedVids", &kNoRelatedVids, selfObject),
|
||||
createSwitchItem(LOC(@"NoPromotionCards"), LOC(@"NoPromotionCardsDesc"), @"noPromotionCards", &kNoPromotionCards, selfObject),
|
||||
@@ -177,10 +178,12 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
createSwitchItem(LOC(@"DisableAutoplay"), LOC(@"DisableAutoplayDesc"), @"disableAutoplay", &kDisableAutoplay, selfObject),
|
||||
createSwitchItem(LOC(@"NoContentWarning"), LOC(@"NoContentWarningDesc"), @"noContentWarning", &kNoContentWarning, selfObject),
|
||||
createSwitchItem(LOC(@"ClassicQuality"), LOC(@"ClassicQualityDesc"), @"classicQuality", &kClassicQuality, selfObject),
|
||||
createSwitchItem(LOC(@"ExtraSpeedOptions"), LOC(@"ExtraSpeedOptionsDesc"), @"extraSpeedOptions", &kExtraSpeedOptions, selfObject),
|
||||
createSwitchItem(LOC(@"DontSnap2Chapter"), LOC(@"DontSnap2ChapterDesc"), @"dontSnapToChapter", &kDontSnapToChapter, selfObject),
|
||||
createSwitchItem(LOC(@"RedProgressBar"), LOC(@"RedProgressBarDesc"), @"redProgressBar", &kRedProgressBar, selfObject),
|
||||
createSwitchItem(LOC(@"NoHints"), LOC(@"NoHintsDesc"), @"noHints", &kNoHints, selfObject),
|
||||
createSwitchItem(LOC(@"NoFreeZoom"), LOC(@"NoFreeZoomDesc"), @"noFreeZoom", &kNoFreeZoom, selfObject),
|
||||
createSwitchItem(LOC(@"AutoFullscreen"), LOC(@"AutoFullscreenDesc"), @"autoFullscreen", &kAutoFullscreen, selfObject),
|
||||
createSwitchItem(LOC(@"ExitFullscreen"), LOC(@"ExitFullscreenDesc"), @"exitFullscreen", &kExitFullscreen, selfObject),
|
||||
createSwitchItem(LOC(@"NoDoubleTap2Seek"), LOC(@"NoDoubleTap2SeekDesc"), @"noDoubleTapToSeek", &kNoDoubleTapToSeek, selfObject)
|
||||
];
|
||||
@@ -246,6 +249,23 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
[sectionItems addObject:tabbar];
|
||||
|
||||
if (kAdvancedMode) {
|
||||
YTSettingsSectionItem *other = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Other")
|
||||
accessibilityIdentifier:nil
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(LOC(@"RemovePlayNext"), LOC(@"RemovePlayNextDesc"), @"removePlayNext", &kRemovePlayNext, selfObject),
|
||||
createSwitchItem(LOC(@"NoContinueWatching"), LOC(@"NoContinueWatchingDesc"), @"noContinueWatching", &kNoContinueWatching, selfObject)
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Other") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
[sectionItems addObject:other];
|
||||
|
||||
[sectionItems addObject:space];
|
||||
|
||||
YTSettingsSectionItem *startup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Startup")
|
||||
@@ -323,7 +343,7 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
|
||||
[sectionItems addObject:space];
|
||||
|
||||
YTSettingsSectionItem *ps = [%c(YTSettingsSectionItem) itemWithTitle:@"PoomSmart" titleDescription:@"YouTube-X, YTNoPremium, YTClassicVideoQuality, YTShortsProgress, YTReExplore, SkipContentWarning, YouTubeHeaders" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
YTSettingsSectionItem *ps = [%c(YTSettingsSectionItem) itemWithTitle:@"PoomSmart" titleDescription:@"YouTube-X, YTNoPremium, YTClassicVideoQuality, YTShortsProgress, YTReExplore, SkipContentWarning, YTAutoFullscreen, YouTubeHeaders" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/PoomSmart/"]];
|
||||
}];
|
||||
|
||||
@@ -331,6 +351,10 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/MiRO92/"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *lillie = [%c(YTSettingsSectionItem) itemWithTitle:@"Lillie" titleDescription:@"ExtraSpeedOptions" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/LillieH1000"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *dayanch96 = [%c(YTSettingsSectionItem) itemWithTitle:@"Dayanch96" titleDescription:LOC(@"Developer") accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/Dayanch96/"]];
|
||||
}];
|
||||
@@ -354,7 +378,7 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
|
||||
return @(OS_STRINGIFY(TWEAK_VERSION));
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[ps, miro, dayanch96, space, createSwitchItem(LOC(@"Advanced"), nil, @"advancedMode", &kAdvancedMode, selfObject), reset];
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[ps, miro, lillie, dayanch96, space, createSwitchItem(LOC(@"Advanced"), nil, @"advancedMode", &kAdvancedMode, selfObject), reset];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#import "../YouTubeHeader/YTQTMButton.h"
|
||||
#import "../YouTubeHeader/YTVideoQualitySwitchOriginalController.h"
|
||||
#import "../YouTubeHeader/YTPlayerViewController.h"
|
||||
#import "../YouTubeHeader/YTWatchController.h"
|
||||
#import "../YouTubeHeader/YTPlayerOverlay.h"
|
||||
#import "../YouTubeHeader/YTPlayerOverlayProvider.h"
|
||||
#import "../YouTubeHeader/YTSettingsViewController.h"
|
||||
@@ -17,6 +18,7 @@
|
||||
#import "../YouTubeHeader/YTSettingsSectionItemManager.h"
|
||||
#import "../YouTubeHeader/YTSettingsPickerViewController.h"
|
||||
#import "../YouTubeHeader/YTUIUtils.h"
|
||||
#import "../YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h"
|
||||
|
||||
extern NSBundle *YTLiteBundle();
|
||||
|
||||
@@ -30,6 +32,7 @@ BOOL kBackgroundPlayback;
|
||||
BOOL kNoCast;
|
||||
BOOL kNoNotifsButton;
|
||||
BOOL kNoSearchButton;
|
||||
BOOL kNoVoiceSearchButton;
|
||||
BOOL kStickyNavbar;
|
||||
BOOL kNoSubbar;
|
||||
BOOL kNoYTLogo;
|
||||
@@ -48,10 +51,12 @@ BOOL kMiniplayer;
|
||||
BOOL kDisableAutoplay;
|
||||
BOOL kNoContentWarning;
|
||||
BOOL kClassicQuality;
|
||||
BOOL kExtraSpeedOptions;
|
||||
BOOL kDontSnapToChapter;
|
||||
BOOL kRedProgressBar;
|
||||
BOOL kNoHints;
|
||||
BOOL kNoFreeZoom;
|
||||
BOOL kAutoFullscreen;
|
||||
BOOL kExitFullscreen;
|
||||
BOOL kNoDoubleTapToSeek;
|
||||
BOOL kHideShorts;
|
||||
@@ -78,6 +83,8 @@ BOOL kRemoveShorts;
|
||||
BOOL kRemoveSubscriptions;
|
||||
BOOL kRemoveUploads;
|
||||
BOOL kRemoveLibrary;
|
||||
BOOL kRemovePlayNext;
|
||||
BOOL kNoContinueWatching;
|
||||
BOOL kAdvancedMode;
|
||||
int kPivotIndex;
|
||||
|
||||
@@ -106,6 +113,13 @@ int kPivotIndex;
|
||||
@interface YTNavigationBarTitleView : UIView
|
||||
@end
|
||||
|
||||
@interface YTChipCloudCell : UICollectionViewCell
|
||||
@end
|
||||
|
||||
@interface YTPlayerViewController (YTAFS)
|
||||
- (void)autoFullscreen;
|
||||
@end
|
||||
|
||||
@interface YTSegmentableInlinePlayerBarView
|
||||
@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter;
|
||||
@end
|
||||
@@ -125,7 +139,7 @@ int kPivotIndex;
|
||||
@end
|
||||
|
||||
@interface YTAsyncCollectionView : UICollectionView
|
||||
- (void)removeShortsCellAtIndexPath:(NSIndexPath *)indexPath;
|
||||
- (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath;
|
||||
@end
|
||||
|
||||
@interface YTReelWatchPlaybackOverlayView : UIView
|
||||
@@ -137,6 +151,23 @@ int kPivotIndex;
|
||||
@interface YTReelWatchHeaderView : UIView
|
||||
@end
|
||||
|
||||
@interface MLHAMQueuePlayer : NSObject
|
||||
@property id playerEventCenter;
|
||||
-(void)setRate:(float)rate;
|
||||
@end
|
||||
|
||||
@interface YTVarispeedSwitchControllerOption : NSObject
|
||||
- (id)initWithTitle:(id)title rate:(float)rate;
|
||||
@end
|
||||
|
||||
@interface HAMPlayerInternal : NSObject
|
||||
- (void)setRate:(float)rate;
|
||||
@end
|
||||
|
||||
@interface MLPlayerEventCenter : NSObject
|
||||
- (void)broadcastRateChange:(float)rate;
|
||||
@end
|
||||
|
||||
@interface YTAlertView : UIView
|
||||
@property (nonatomic, copy, readwrite) NSString *title;
|
||||
@property (nonatomic, copy, readwrite) NSString *subtitle;
|
||||
|
||||
@@ -28,17 +28,19 @@
|
||||
- (void)decorateContext:(id)context { if (!kNoAds) %orig; }
|
||||
%end
|
||||
|
||||
BOOL isAd(YTIElementRenderer *self) {
|
||||
if (self == nil) return NO;
|
||||
if (self.hasCompatibilityOptions && self.compatibilityOptions.hasAdLoggingData) return YES;
|
||||
%hook YTIElementRenderer
|
||||
- (NSData *)elementData {
|
||||
if (self.hasCompatibilityOptions && self.compatibilityOptions.hasAdLoggingData && kNoAds)
|
||||
return nil;
|
||||
NSString *description = [self description];
|
||||
if (([description containsString:@"brand_promo"]
|
||||
|| [description containsString:@"product_carousel"]
|
||||
|| [description containsString:@"product_engagement_panel"]
|
||||
|| [description containsString:@"product_item"]) && kNoAds)
|
||||
return YES;
|
||||
return NO;
|
||||
return [NSData data];
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
%hook YTSectionListViewController
|
||||
- (void)loadWithModel:(YTISectionListRenderer *)model {
|
||||
@@ -47,7 +49,7 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
NSIndexSet *removeIndexes = [contentsArray indexesOfObjectsPassingTest:^BOOL(YTISectionListSupportedRenderers *renderers, NSUInteger idx, BOOL *stop) {
|
||||
YTIItemSectionRenderer *sectionRenderer = renderers.itemSectionRenderer;
|
||||
YTIItemSectionSupportedRenderers *firstObject = [sectionRenderer.contentsArray firstObject];
|
||||
return firstObject.hasPromotedVideoRenderer || firstObject.hasCompactPromotedVideoRenderer || firstObject.hasPromotedVideoInlineMutedRenderer || isAd(firstObject.elementRenderer);
|
||||
return firstObject.hasPromotedVideoRenderer || firstObject.hasCompactPromotedVideoRenderer || firstObject.hasPromotedVideoInlineMutedRenderer;
|
||||
}];
|
||||
[contentsArray removeObjectsAtIndexes:removeIndexes];
|
||||
} %orig;
|
||||
@@ -89,15 +91,6 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
|
||||
%end
|
||||
|
||||
// Statement banner
|
||||
%hook YTPremiumSeasonCardCellController
|
||||
- (void)setCell:(id)arg1 { arg1 = NULL; %orig; }
|
||||
%end
|
||||
|
||||
%hook YTPremiumSeasonCardView
|
||||
- (long long)accessibilityElementCount { return 0; }
|
||||
%end
|
||||
|
||||
// Navbar Stuff
|
||||
// Disable Cast
|
||||
%hook MDXPlaybackRouteButtonController
|
||||
@@ -117,6 +110,7 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
if (kNoCast && self.subviews.count > 1 && [self.subviews[1].accessibilityIdentifier isEqualToString:@"id.mdx.playbackroute.button"]) self.subviews[1].hidden = YES; // Hide icon immediately
|
||||
if (kNoNotifsButton) self.notificationButton.hidden = YES;
|
||||
if (kNoSearchButton) self.searchButton.hidden = YES;
|
||||
if (kNoVoiceSearchButton && self.subviews.count >= 4 && [self.subviews[2].accessibilityIdentifier isEqualToString:@"id.settings.overflow.button"]) self.subviews[3].hidden = YES;
|
||||
}
|
||||
%end
|
||||
|
||||
@@ -137,10 +131,15 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
|
||||
%hook YTHeaderContentComboView
|
||||
- (void)enableSubheaderBarWithView:(id)arg1 { if (!kNoSubbar) %orig; }
|
||||
- (void)setFeedHeaderScrollMode:(int)arg1 { kNoSubbar ? %orig(0) : %orig; }
|
||||
%end
|
||||
|
||||
%hook YTHeaderContentComboView
|
||||
- (void)setFeedHeaderScrollMode:(int)arg1 { kNoSubbar ? %orig(0) : %orig; }
|
||||
%hook YTChipCloudCell
|
||||
- (void)layoutSubviews {
|
||||
if (self.superview && kNoSubbar) {
|
||||
[self removeFromSuperview];
|
||||
} %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Hide Autoplay Switch and Subs Button
|
||||
@@ -230,9 +229,59 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
%hook YTVideoQualitySwitchControllerFactory
|
||||
- (id)videoQualitySwitchControllerWithParentResponder:(id)responder {
|
||||
Class originalClass = %c(YTVideoQualitySwitchOriginalController);
|
||||
if (kClassicQuality) {
|
||||
return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig;
|
||||
} return %orig;
|
||||
if (kClassicQuality) return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig;
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Extra Speed Options (https://github.com/LillieH1000/YouTube-Reborn/blob/v4/Tweak.xm#L853) - Same code but for .x
|
||||
%hook YTVarispeedSwitchController
|
||||
- (void *)init {
|
||||
void *ret = (void *)%orig;
|
||||
if (kExtraSpeedOptions) {
|
||||
NSArray *speedOptions = @[@"0.1x", @"0.25x", @"0.5x", @"0.75x", @"1x", @"1.25x", @"1.5x", @"1.75x", @"2x", @"2.5x", @"3x", @"3.5x", @"4x", @"5x"];
|
||||
NSMutableArray *speedOptionsCopy = [NSMutableArray new];
|
||||
|
||||
for (NSString *title in speedOptions) {
|
||||
float rate = [title floatValue];
|
||||
[speedOptionsCopy addObject:[[objc_lookUpClass("YTVarispeedSwitchControllerOption") alloc] initWithTitle:title rate:rate]];
|
||||
}
|
||||
|
||||
Ivar optionsIvar = class_getInstanceVariable(object_getClass(self), "_options");
|
||||
object_setIvar(self, optionsIvar, [speedOptionsCopy copy]);
|
||||
|
||||
} return ret;
|
||||
}
|
||||
%end
|
||||
|
||||
%hook MLHAMQueuePlayer
|
||||
- (void)setRate:(float)rate {
|
||||
if (kExtraSpeedOptions) {
|
||||
Ivar rateIvar = class_getInstanceVariable([self class], "_rate");
|
||||
if (rateIvar) {
|
||||
float* ratePtr = (float *)((__bridge void *)self + ivar_getOffset(rateIvar));
|
||||
*ratePtr = rate;
|
||||
}
|
||||
|
||||
id ytPlayer = object_getIvar(self, class_getInstanceVariable([self class], "_player"));
|
||||
if ([ytPlayer respondsToSelector:@selector(setRate:)]) {
|
||||
[ytPlayer setRate:rate];
|
||||
}
|
||||
|
||||
[self.playerEventCenter broadcastRateChange:rate];
|
||||
} else {
|
||||
%orig(rate);
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
// Temprorary Fix For 'Classic Video Quality' and 'Extra Speed Options'
|
||||
%hook YTVersionUtils
|
||||
+ (NSString *)appVersion {
|
||||
NSString *originalVersion = %orig;
|
||||
NSString *fakeVersion = @"18.18.2";
|
||||
|
||||
return (!kClassicQuality && !kExtraSpeedOptions && [originalVersion compare:fakeVersion options:NSNumericSearch] == NSOrderedDescending) ? originalVersion : fakeVersion;
|
||||
}
|
||||
%end
|
||||
|
||||
@@ -247,7 +296,7 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
%end
|
||||
|
||||
%hook YTSegmentableInlinePlayerBarView
|
||||
- (void)setBufferedProgressBarColor:(id)arg1 { if (kNoRelatedVids) %orig([UIColor colorWithRed:0.65 green:0.65 blue:0.65 alpha:0.60]); }
|
||||
- (void)setBufferedProgressBarColor:(id)arg1 { if (kRedProgressBar) %orig([UIColor colorWithRed:0.65 green:0.65 blue:0.65 alpha:0.60]); }
|
||||
%end
|
||||
|
||||
// Disable Hints
|
||||
@@ -261,37 +310,79 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||
- (void)setHintsDisabled:(BOOL)arg1 { kNoHints ? %orig(YES) : %orig; }
|
||||
%end
|
||||
|
||||
// Enter Fullscreen on Start (https://github.com/PoomSmart/YTAutoFullScreen)
|
||||
%hook YTPlayerViewController
|
||||
- (void)loadWithPlayerTransition:(id)arg1 playbackConfig:(id)arg2 {
|
||||
%orig;
|
||||
if (kAutoFullscreen) [NSTimer scheduledTimerWithTimeInterval:0.75 target:self selector:@selector(autoFullscreen) userInfo:nil repeats:NO];
|
||||
}
|
||||
|
||||
%new
|
||||
- (void)autoFullscreen {
|
||||
YTWatchController *watchController = [self valueForKey:@"_UIDelegate"];
|
||||
[watchController showFullScreen];
|
||||
}
|
||||
%end
|
||||
|
||||
// Exit Fullscreen on Finish
|
||||
%hook YTWatchFlowController
|
||||
- (BOOL)shouldExitFullScreenOnFinish { return kExitFullscreen ? YES : NO; }
|
||||
%end
|
||||
|
||||
// Disable Double Tap To Seek
|
||||
%hook YTDoubleTapToSeekController
|
||||
- (void)enableDoubleTapToSeek:(BOOL)arg1 { kNoDoubleTapToSeek ? %orig(NO) : %orig; }
|
||||
%hook YTMainAppVideoPlayerOverlayViewController
|
||||
- (BOOL)allowDoubleTapToSeekGestureRecognizer { return kNoDoubleTapToSeek ? NO : %orig; }
|
||||
%end
|
||||
|
||||
// Remove Shorts (https://github.com/MiRO92/YTNoShorts)
|
||||
// Fit 'Play All' Buttons Text For Localizations
|
||||
%hook YTQTMButton
|
||||
- (void)layoutSubviews {
|
||||
if ([self.accessibilityIdentifier isEqualToString:@"id.playlist.playall.button"]) {
|
||||
self.titleLabel.adjustsFontSizeToFitWidth = YES;
|
||||
} %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Fix Playlist Mini-bar Height For Small Screens
|
||||
%hook YTPlaylistMiniBarView
|
||||
- (void)setFrame:(CGRect)frame {
|
||||
if (frame.size.height < 54.0) frame.size.height = 54.0;
|
||||
%orig(frame);
|
||||
}
|
||||
%end
|
||||
|
||||
// Remove "Play next in queue" from the menu @PoomSmart (https://github.com/qnblackcat/uYouPlus/issues/1138#issuecomment-1606415080)
|
||||
%hook YTMenuItemVisibilityHandler
|
||||
- (BOOL)shouldShowServiceItemRenderer:(YTIMenuConditionalServiceItemRenderer *)renderer {
|
||||
if (kRemovePlayNext && renderer.icon.iconType == 251) {
|
||||
return NO;
|
||||
} return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Remove Premium Pop-up, Horizontal Video Carousel and Shorts (https://github.com/MiRO92/YTNoShorts)
|
||||
%hook YTAsyncCollectionView
|
||||
- (id)cellForItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||
if (kHideShorts) {
|
||||
UICollectionViewCell *cell = %orig;
|
||||
if ([cell isKindOfClass:NSClassFromString(@"_ASCollectionViewCell")]) {
|
||||
|
||||
if ([cell isKindOfClass:objc_lookUpClass("_ASCollectionViewCell")]) {
|
||||
_ASCollectionViewCell *cell = %orig;
|
||||
if ([cell respondsToSelector:@selector(node)]) {
|
||||
if ([[[cell node] accessibilityIdentifier] isEqualToString:@"eml.shorts-shelf"]) {
|
||||
[self removeShortsCellAtIndexPath:indexPath];
|
||||
NSString *idToRemove = [[cell node] accessibilityIdentifier];
|
||||
if ([idToRemove isEqualToString:@"statement_banner.view"] ||
|
||||
(([idToRemove isEqualToString:@"eml.shorts-grid"] || [idToRemove isEqualToString:@"eml.shorts-shelf"] || [idToRemove isEqualToString:@"eml.inline_shorts"]) && kHideShorts)) {
|
||||
[self removeCellsAtIndexPath:indexPath];
|
||||
}
|
||||
}
|
||||
} else if ([cell isKindOfClass:NSClassFromString(@"YTReelShelfCell")]) {
|
||||
[self removeShortsCellAtIndexPath:indexPath];
|
||||
} return %orig;
|
||||
} else if (([cell isKindOfClass:objc_lookUpClass("YTReelShelfCell")] && kHideShorts) ||
|
||||
([cell isKindOfClass:objc_lookUpClass("YTHorizontalCardListCell")] && kNoContinueWatching)) {
|
||||
[self removeCellsAtIndexPath:indexPath];
|
||||
} return %orig;
|
||||
}
|
||||
|
||||
%new
|
||||
- (void)removeShortsCellAtIndexPath:(NSIndexPath *)indexPath {
|
||||
[self deleteItemsAtIndexPaths:[NSArray arrayWithObject:indexPath]];
|
||||
- (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath {
|
||||
[self deleteItemsAtIndexPaths:@[indexPath]];
|
||||
}
|
||||
%end
|
||||
|
||||
@@ -544,6 +635,7 @@ static void reloadPrefs() {
|
||||
kNoCast = [prefs[@"noCast"] boolValue] ?: NO;
|
||||
kNoNotifsButton = [prefs[@"removeNotifsButton"] boolValue] ?: NO;
|
||||
kNoSearchButton = [prefs[@"removeSearchButton"] boolValue] ?: NO;
|
||||
kNoVoiceSearchButton = [prefs[@"removeVoiceSearchButton"] boolValue] ?: NO;
|
||||
kStickyNavbar = [prefs[@"stickyNavbar"] boolValue] ?: NO;
|
||||
kNoSubbar = [prefs[@"noSubbar"] boolValue] ?: NO;
|
||||
kNoYTLogo = [prefs[@"noYTLogo"] boolValue] ?: NO;
|
||||
@@ -562,10 +654,12 @@ static void reloadPrefs() {
|
||||
kDisableAutoplay = [prefs[@"disableAutoplay"] boolValue] ?: NO;
|
||||
kNoContentWarning = [prefs[@"noContentWarning"] boolValue] ?: NO;
|
||||
kClassicQuality = [prefs[@"classicQuality"] boolValue] ?: NO;
|
||||
kExtraSpeedOptions = [prefs[@"extraSpeedOptions"] boolValue] ?: NO;
|
||||
kDontSnapToChapter = [prefs[@"dontSnapToChapter"] boolValue] ?: NO;
|
||||
kRedProgressBar = [prefs[@"redProgressBar"] boolValue] ?: NO;
|
||||
kNoHints = [prefs[@"noHints"] boolValue] ?: NO;
|
||||
kNoFreeZoom = [prefs[@"noFreeZoom"] boolValue] ?: NO;
|
||||
kAutoFullscreen = [prefs[@"autoFullscreen"] boolValue] ?: NO;
|
||||
kExitFullscreen = [prefs[@"exitFullscreen"] boolValue] ?: NO;
|
||||
kNoDoubleTapToSeek = [prefs[@"noDoubleTapToSeek"] boolValue] ?: NO;
|
||||
kHideShorts = [prefs[@"hideShorts"] boolValue] ?: NO;
|
||||
@@ -592,6 +686,8 @@ static void reloadPrefs() {
|
||||
kRemoveSubscriptions = [prefs[@"removeSubscriptions"] boolValue] ?: NO;
|
||||
kRemoveUploads = (prefs[@"removeUploads"] != nil) ? [prefs[@"removeUploads"] boolValue] : YES;
|
||||
kRemoveLibrary = [prefs[@"removeLibrary"] boolValue] ?: NO;
|
||||
kRemovePlayNext = [prefs[@"removePlayNext"] boolValue] ?: NO;
|
||||
kNoContinueWatching = [prefs[@"noContinueWatching"] boolValue] ?: NO;
|
||||
kPivotIndex = (prefs[@"pivotIndex"] != nil) ? [prefs[@"pivotIndex"] intValue] : 0;
|
||||
kAdvancedMode = [prefs[@"advancedMode"] boolValue] ?: NO;
|
||||
|
||||
@@ -601,6 +697,7 @@ static void reloadPrefs() {
|
||||
@"noCast" : @(kNoCast),
|
||||
@"removeNotifsButton" : @(kNoNotifsButton),
|
||||
@"removeSearchButton" : @(kNoSearchButton),
|
||||
@"removeVoiceSearchButton" : @(kNoVoiceSearchButton),
|
||||
@"stickyNavbar" : @(kStickyNavbar),
|
||||
@"noSubbar" : @(kNoSubbar),
|
||||
@"noYTLogo" : @(kNoYTLogo),
|
||||
@@ -619,10 +716,12 @@ static void reloadPrefs() {
|
||||
@"disableAutoplay" : @(kDisableAutoplay),
|
||||
@"noContentWarning" : @(kNoContentWarning),
|
||||
@"classicQuality" : @(kClassicQuality),
|
||||
@"extraSpeedOptions" : @(kExtraSpeedOptions),
|
||||
@"dontSnapToChapter" : @(kDontSnapToChapter),
|
||||
@"redProgressBar" : @(kRedProgressBar),
|
||||
@"noHints" : @(kNoHints),
|
||||
@"noFreeZoom" : @(kNoFreeZoom),
|
||||
@"autoFullscreen" : @(kAutoFullscreen),
|
||||
@"exitFullscreen" : @(kExitFullscreen),
|
||||
@"noDoubleTapToSeek" : @(kNoDoubleTapToSeek),
|
||||
@"hideShorts" : @(kHideShorts),
|
||||
@@ -649,6 +748,8 @@ static void reloadPrefs() {
|
||||
@"removeSubscriptions" : @(kRemoveSubscriptions),
|
||||
@"removeUploads" : @(kRemoveUploads),
|
||||
@"removeLibrary" : @(kRemoveLibrary),
|
||||
@"removePlayNext" : @(kRemovePlayNext),
|
||||
@"noContinueWatching" : @(kNoContinueWatching),
|
||||
@"pivotIndex" : @(kPivotIndex),
|
||||
@"advancedMode" : @(kAdvancedMode)
|
||||
};
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
"RemoveNotificationsDesc" = "Hides Notifications button from the Navigation bar.";
|
||||
"RemoveSearch" = "Hide Search button";
|
||||
"RemoveSearchDesc" = "Hides Search button from the Navigation bar.";
|
||||
"RemoveVoiceSearch" = "Hide Voice search button";
|
||||
"RemoveVoiceSearchDesc" = "Hides Voice search button from the Navigation bar.";
|
||||
"StickyNavbar" = "Sticky Navigation bar";
|
||||
"StickyNavbarDesc" = "Pins the Navigation bar so that it remains visible when scrolling down.";
|
||||
"NoSubbar" = "Hide Subbar";
|
||||
@@ -51,6 +53,8 @@
|
||||
"NoContentWarningDesc" = "Skips sensitive content warning message.";
|
||||
"ClassicQuality" = "Classic video quality";
|
||||
"ClassicQualityDesc" = "Brings back classic video quality selection menu.";
|
||||
"ExtraSpeedOptions" = "Extra speed options";
|
||||
"ExtraSpeedOptionsDesc" = "Adds more video playback speed options to the player menu.";
|
||||
"DontSnap2Chapter" = "Disable snap to chapter";
|
||||
"DontSnap2ChapterDesc" = "Disables skipping to the next episode by double-tap gesture.";
|
||||
"RedProgressBar" = "Red progress bar";
|
||||
@@ -59,6 +63,8 @@
|
||||
"NoHintsDesc" = "Disables hints by author which appears at the top-right corner during playback.";
|
||||
"NoFreeZoom" = "Disable free zoom gesture";
|
||||
"NoFreeZoomDesc" = "Disables new free zoom gestures.";
|
||||
"AutoFullscreen" = "Play videos in fullscreen";
|
||||
"AutoFullscreenDesc" = "Automatically plays videos in fullscreen mode.";
|
||||
"ExitFullscreen" = "Exit fullscreen mode on finish";
|
||||
"ExitFullscreenDesc" = "Exits fullscreen mode at the end of video playback.";
|
||||
"NoDoubleTap2Seek" = "Disable double tap to seek";
|
||||
@@ -116,6 +122,12 @@
|
||||
"HideShortsAudioTrack" = "Hide AudioTrack";
|
||||
"HideShortsAudioTrackDesc" = "Hides AudioTrack under Shorts description.";
|
||||
|
||||
"Other" = "Other";
|
||||
"RemovePlayNext" = "Remove \"Play next in queue\"";
|
||||
"RemovePlayNextDesc" = "Removes \"Play next in queue\" option from menu.";
|
||||
"NoContinueWatching" = "Remove \"Continue watching\"";
|
||||
"NoContinueWatchingDesc" = "Removes the \"Continue watching\" section containing unfinished videos from the Home page.";
|
||||
|
||||
"Startup" = "Startup page";
|
||||
"Home" = "Home";
|
||||
"Explore" = "Explore";
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
"RemoveNotifications" = "Скрыть «Уведомления»";
|
||||
"RemoveNotificationsDesc" = "Скрывает кнопку уведомлений с панели навигации.";
|
||||
"RemoveSearch" = "Скрыть «Поиск»";
|
||||
"RemoveSearchDesc" = "Скрвыает кнопку поиска с панели навигации.";
|
||||
"RemoveSearchDesc" = "Скрывает кнопку поиска с панели навигации.";
|
||||
"RemoveVoiceSearch" = "Скрыть «Голосовой поиск»";
|
||||
"RemoveVoiceSearchDesc" = "Скрывает кнопку голосового поиска с панели навигации.";
|
||||
"StickyNavbar" = "Закрепить панель навигации";
|
||||
"StickyNavbarDesc" = "Закрепляет панель навигации в верхней части экрана, запрещая ему скрываться во время скролла страницы вниз.";
|
||||
"NoSubbar" = "Скрыть наклейки";
|
||||
@@ -51,6 +53,8 @@
|
||||
"NoContentWarningDesc" = "Пропускает предупреждения, всплывающие перед воспроизведением некоторого контента.";
|
||||
"ClassicQuality" = "Классический выбор качества";
|
||||
"ClassicQualityDesc" = "Возвращает классическое меню выбора качества в меню плеера.";
|
||||
"ExtraSpeedOptions" = "Больше скоростей воспроизведения";
|
||||
"ExtraSpeedOptionsDesc" = "Добавляет больше опций скорости воспроизведения в выпадающее меню плеера.";
|
||||
"DontSnap2Chapter" = "Не перематывать эпизоды";
|
||||
"DontSnap2ChapterDesc" = "Отключает жест перемотки к следующему эпизоду двойным нажатием.";
|
||||
"RedProgressBar" = "Красный прогресс-бар";
|
||||
@@ -59,6 +63,8 @@
|
||||
"NoHintsDesc" = "Скрывает подсказки от авторов видео, появляющиеся в правом верхнем углу.";
|
||||
"NoFreeZoom" = "Отключить жесты для зума";
|
||||
"NoFreeZoomDesc" = "Отключает жесты приближения для нового зума.";
|
||||
"AutoFullscreen" = "Воспроизводить в полноэкранном режиме";
|
||||
"AutoFullscreenDesc" = "Автоматически воспроизводит ролики в полноэкранном режиме.";
|
||||
"ExitFullscreen" = "Автовыход из полноэкранного режима";
|
||||
"ExitFullscreenDesc" = "Выходит из полноэкранного режима по окончанию воспроизведения.";
|
||||
"NoDoubleTap2Seek" = "Отключить перемотку двойным тапом";
|
||||
@@ -116,6 +122,12 @@
|
||||
"HideShortsAudioTrack" = "Скрыть аудиодорожку";
|
||||
"HideShortsAudioTrackDesc" = "Скрывает информацию об аудиодорожке в нижней части плеера.";
|
||||
|
||||
"Other" = "Другие настройки";
|
||||
"RemovePlayNext" = "Убрать «Добавить в начало очереди»";
|
||||
"RemovePlayNextDesc" = "Убирает опцию «Добавить в начало очереди» из меню видео.";
|
||||
"NoContinueWatching" = "Отключить «Продолжить просмотр»";
|
||||
"NoContinueWatchingDesc" = "Удаляет блок «Продолжить просмотр» содержащий недосмотренные видео с Главной страницы.";
|
||||
|
||||
"Startup" = "Начальная страница";
|
||||
"Home" = "Главная";
|
||||
"Explore" = "Навигация";
|
||||
|
||||
+124
-112
@@ -1,136 +1,148 @@
|
||||
"General" = "常规";
|
||||
"RemoveAds" = "移除广告";
|
||||
"RemoveAdsDesc" = "删除程序内的广告";
|
||||
"RemoveAdsDesc" = "删除程序内的广告。";
|
||||
"BackgroundPlayback" = "后台播放";
|
||||
"BackgroundPlaybackDesc" = "启用后台播放";
|
||||
"BackgroundPlaybackDesc" = "启用后台播放。";
|
||||
|
||||
"Navbar" = "导航栏";
|
||||
"RemoveCast" = "隐藏投射按钮";
|
||||
"RemoveCastDesc" = "从导航栏中隐藏投射按钮";
|
||||
"RemoveCastDesc" = "从导航栏中隐藏投射按钮。";
|
||||
"RemoveNotifications" = "隐藏通知按钮";
|
||||
"RemoveNotificationsDesc" = "从导航栏中隐藏通知按钮";
|
||||
"RemoveNotificationsDesc" = "从导航栏中隐藏通知按钮。";
|
||||
"RemoveSearch" = "隐藏搜索按钮";
|
||||
"RemoveSearchDesc" = "从导航栏中隐藏搜索按钮";
|
||||
"StickyNavbar" = "Sticky Navigation bar";
|
||||
"StickyNavbarDesc" = "Pins the Navigation bar so that it remains visible when scrolling down.";
|
||||
"NoSubbar" = "Hide Subbar";
|
||||
"NoSubbarDesc" = "Hides Subbar (All, New to you, Live etc.) under the Navigation bar.";
|
||||
"NoYTLogo" = "Remove YouTube logo";
|
||||
"NoYTLogoDesc" = "Removes YouTube logo in the Navigation bar.";
|
||||
"RemoveSearchDesc" = "从导航栏中隐藏搜索按钮。";
|
||||
"RemoveVoiceSearch" = "隐藏语音搜索按钮";
|
||||
"RemoveVoiceSearchDesc" = "从导航栏中隐藏语音搜索按钮。";
|
||||
"StickyNavbar" = "固定导航栏";
|
||||
"StickyNavbarDesc" = "固定导航栏,使其在向下滚动时保持可见。";
|
||||
"NoSubbar" = "隐藏子栏";
|
||||
"NoSubbarDesc" = "隐藏导航栏下的子栏(全部、新内容、实时等)。";
|
||||
"NoYTLogo" = "删除 YouTube Logo";
|
||||
"NoYTLogoDesc" = "删除导航栏中的 YouTube Logo。";
|
||||
|
||||
"Overlay" = "Overlay";
|
||||
"HideAutoplay" = "Hide Autoplay switch";
|
||||
"HideAutoplayDesc" = "Hides Autoplay switch from the overlay.";
|
||||
"HideSubs" = "Hide Subtitles button";
|
||||
"HideSubsDesc" = "Hides Subtitles button from the overlay.";
|
||||
"NoHUDMsgs" = "Hide HUD Messages";
|
||||
"NoHUDMsgsDesc" = "Hides all feature messages from the player. Example: CC is turned on/off, Video loop is on, etc.";
|
||||
"HidePrevNext" = "Hide Previous and Next buttons";
|
||||
"HidePrevNextDesc" = "Hides Previous and Next video buttons from overlay.";
|
||||
"ReplacePrevNext" = "Fast forward and Rewind buttons";
|
||||
"ReplacePrevNextDesc" = "Replaces Previous and Next video buttons to Fast forward and Rewind buttons in overlay.";
|
||||
"NoDarkBg" = "Remove dark background";
|
||||
"NoDarkBgDesc" = "Removes overlay dark background.";
|
||||
"NoEndScreenCards" = "Hide End screens hover cards";
|
||||
"NoEndScreenCardsDesc" = "Hides End screens (thumbnails) at the end of videos.";
|
||||
"NoFullscreenActions" = "Disable fullscreen actions";
|
||||
"NoFullscreenActionsDesc" = "Disables actions panel in fullscreen mode.";
|
||||
"NoRelatedVids" = "No related videos in overlay";
|
||||
"NoRelatedVidsDesc" = "Removes related videos displayed in the overlay by swiping up.";
|
||||
"NoPromotionCards" = "Hide Paid Promotion cards";
|
||||
"NoPromotionCardsDesc" = "Hides \"Includes Paid Promotions\" card in promotions included videos.";
|
||||
"NoWatermarks" = "Hide Watermarks";
|
||||
"NoWatermarksDesc" = "Hides channel watermarks from the player.";
|
||||
"Overlay" = "播放界面";
|
||||
"HideAutoplay" = "隐藏自动播放开关";
|
||||
"HideAutoplayDesc" = "从播放界面隐藏自动播放开关。";
|
||||
"HideSubs" = "隐藏字幕按钮";
|
||||
"HideSubsDesc" = "从播放界面隐藏字幕按钮。";
|
||||
"NoHUDMsgs" = "隐藏屏显信息";
|
||||
"NoHUDMsgsDesc" = "隐藏播放界面的所有功能信息。示例:CC按钮打开/关闭、视频循环等。";
|
||||
"HidePrevNext" = "隐藏上一个和下一个按钮";
|
||||
"HidePrevNextDesc" = "从播放界面中隐藏上一个和下一个视频按钮。";
|
||||
"ReplacePrevNext" = "快进和快退按钮";
|
||||
"ReplacePrevNextDesc" = "将上一个和下一个视频按钮替换为快进和快退按钮。";
|
||||
"NoDarkBg" = "删除深色背景";
|
||||
"NoDarkBgDesc" = "删除播放界面的深色背景。";
|
||||
"NoEndScreenCards" = "隐藏片尾画面";
|
||||
"NoEndScreenCardsDesc" = "隐藏视频结尾处的片尾屏幕(缩略图)。";
|
||||
"NoFullscreenActions" = "禁用全屏操作";
|
||||
"NoFullscreenActionsDesc" = "在全屏模式下禁用操作面板。";
|
||||
"NoRelatedVids" = "没有相关视频";
|
||||
"NoRelatedVidsDesc" = "通过向上滑动删除播放界面中显示的相关视频。";
|
||||
"NoPromotionCards" = "隐藏付费";
|
||||
"NoPromotionCardsDesc" = "在付费视频中隐藏“付费内容”。";
|
||||
"NoWatermarks" = "隐藏水印";
|
||||
"NoWatermarksDesc" = "隐藏播放器的频道水印。";
|
||||
|
||||
"Player" = "Player";
|
||||
"Miniplayer" = "Enable mini player";
|
||||
"MiniplayerDesc" = "Enables the mini player for videos that were not originally designed for it, such as videos targeted for children.";
|
||||
"DisableAutoplay" = "Disable Autoplay videos";
|
||||
"DisableAutoplayDesc" = "Prevents video playback after opening.";
|
||||
"NoContentWarning" = "Skip content warning";
|
||||
"NoContentWarningDesc" = "Skips sensitive content warning message.";
|
||||
"ClassicQuality" = "Classic video quality";
|
||||
"ClassicQualityDesc" = "Brings back classic video quality selection menu.";
|
||||
"DontSnap2Chapter" = "Disable snap to chapter";
|
||||
"DontSnap2ChapterDesc" = "Disables skipping to the next episode by double-tap gesture.";
|
||||
"RedProgressBar" = "Red progress bar";
|
||||
"RedProgressBarDesc" = "Brings back red progress bar.";
|
||||
"NoHints" = "Disable hints";
|
||||
"NoHintsDesc" = "Disables hints by author which appears at the top-right corner during playback.";
|
||||
"NoFreeZoom" = "Disable free zoom gesture";
|
||||
"NoFreeZoomDesc" = "Disables new free zoom gestures.";
|
||||
"ExitFullscreen" = "Exit fullscreen mode on finish";
|
||||
"ExitFullscreenDesc" = "Exits fullscreen mode at the end of video playback.";
|
||||
"NoDoubleTap2Seek" = "Disable double tap to seek";
|
||||
"NoDoubleTap2SeekDesc" = "Disables double tap to seek gesture.";
|
||||
"Player" = "播放器";
|
||||
"Miniplayer" = "启用迷你播放器";
|
||||
"MiniplayerDesc" = "启用迷你播放器来播放最初不是为其设计的视频,例如针对儿童的视频。";
|
||||
"DisableAutoplay" = "禁用自动播放视频";
|
||||
"DisableAutoplayDesc" = "打开后防止视频自动播放。";
|
||||
"NoContentWarning" = "跳过内容警告";
|
||||
"NoContentWarningDesc" = "跳过敏感内容警告消息。";
|
||||
"ClassicQuality" = "经典视频质量";
|
||||
"ClassicQualityDesc" = "加回经典的视频质量选择菜单。";
|
||||
"ExtraSpeedOptions" = "Extra speed options";
|
||||
"ExtraSpeedOptionsDesc" = "Adds more video playback speed options to the player menu.";
|
||||
"DontSnap2Chapter" = "禁用双击跳转";
|
||||
"DontSnap2ChapterDesc" = "禁用通过双击手势跳到下一集。";
|
||||
"RedProgressBar" = "红色进度条";
|
||||
"RedProgressBarDesc" = "加回红色进度条。";
|
||||
"NoHints" = "禁用提示";
|
||||
"NoHintsDesc" = "禁用播放期间出现在右上角的作者提示。";
|
||||
"NoFreeZoom" = "禁用自由缩放手势";
|
||||
"NoFreeZoomDesc" = "禁用新的自由缩放手势。";
|
||||
"AutoFullscreen" = "Play videos in fullscreen";
|
||||
"AutoFullscreenDesc" = "Automatically plays videos in fullscreen mode.";
|
||||
"ExitFullscreen" = "完成后退出全屏模式";
|
||||
"ExitFullscreenDesc" = "在视频播放结束时退出全屏模式。";
|
||||
"NoDoubleTap2Seek" = "禁用双击搜索";
|
||||
"NoDoubleTap2SeekDesc" = "禁用双击搜索手势。";
|
||||
|
||||
"Tabbar" = "选项卡栏";
|
||||
"RemoveLabels" = "移除标签";
|
||||
"RemoveLabelsDesc" = "删除选项卡标签";
|
||||
"ReExplore" = "Replace Shorts tab with Explore tab";
|
||||
"ReExploreDesc" = "Shows Explore tab instead of Shorts tab as on old YouTube versions.";
|
||||
"RemoveLabelsDesc" = "删除选项卡标签。";
|
||||
"ReExplore" = "“短视频”替换为“探索”";
|
||||
"ReExploreDesc" = "在旧版本 YouTube 中将“短视频”选项卡替换为“探索”。";
|
||||
"HideShortsTab" = "隐藏短视频";
|
||||
"HideShortsTabDesc" = "从选项卡栏中隐藏短视频";
|
||||
"HideShortsTabDesc" = "从选项卡栏中隐藏短视频。";
|
||||
"HideSubscriptionsTab" = "隐藏订阅内容";
|
||||
"HideSubscriptionsTabDesc" = "从选项卡栏中隐藏订阅内容";
|
||||
"HideSubscriptionsTabDesc" = "从选项卡栏中隐藏订阅内容。";
|
||||
"HideUploadButton" = "隐藏上传按钮";
|
||||
"HideUploadButtonDesc" = "从选项卡栏中隐藏上传按钮";
|
||||
"HideUploadButtonDesc" = "从选项卡栏中隐藏上传按钮。";
|
||||
"HideLibraryTab" = "隐藏媒体库";
|
||||
"HideLibraryTabDesc" = "从选项卡栏中隐藏媒体库";
|
||||
"HideLibraryTabDesc" = "从选项卡栏中隐藏媒体库。";
|
||||
|
||||
"Shorts" = "Shorts";
|
||||
"HideShorts" = "Hide Shorts videos";
|
||||
"HideShortsDesc" = "Hides Shorts videos from Homepage, Recommended etc. (Not applied to Watch history)";
|
||||
"ShortsProgress" = "Enable progress bar";
|
||||
"ShortsProgressDesc" = "Displays progress bar in the Shorts overlay.";
|
||||
"ResumeShorts" = "Don't start from Shorts tab";
|
||||
"ResumeShortsDesc" = "Prevents starting from Shorts videos at the opening app, which happens if YouTube was closed while watching Shorts.";
|
||||
"HideShortsLogo" = "Hide Shorts logo";
|
||||
"HideShortsLogoDesc" = "Hides Shorts logo in the top left corner.";
|
||||
"HideShortsSearch" = "Hide Search button";
|
||||
"HideShortsSearchDesc" = "Hides Search button from the Shorts overlay.";
|
||||
"HideShortsCamera" = "Hide Camera button";
|
||||
"HideShortsCameraDesc" = "Hides Camera button from the Shorts overlay.";
|
||||
"HideShortsMore" = "Hide More (⋮) button";
|
||||
"HideShortsMoreDesc" = "Hides More (⋮) button from the Shorts overlay. It's also accessible by long-pressing the screen.";
|
||||
"HideShortsSubscriptions" = "Hide Subscriptions button";
|
||||
"HideShortsSubscriptionsDesc" = "Hides Subscriptions button which appears when Shorts paused.";
|
||||
"HideShortsLike" = "Hide Like button";
|
||||
"HideShortsLikeDesc" = "Hides Like button from the Shorts overlay.";
|
||||
"HideShortsDislike" = "Hide Dislike button";
|
||||
"HideShortsDislikeDesc" = "Hides Dislike button from the Shorts overlay.";
|
||||
"HideShortsComments" = "Hide Comments button";
|
||||
"HideShortsCommentsDesc" = "Hides Comments button from the Shorts overlay.";
|
||||
"HideShortsRemix" = "Hide Remix button";
|
||||
"HideShortsRemixDesc" = "Hides Remix button from the Shorts overlay.";
|
||||
"HideShortsShare" = "Hide Share button";
|
||||
"HideShortsShareDesc" = "Hides Share button from the Shorts overlay.";
|
||||
"HideShortsAvatars" = "Hide channels avatar";
|
||||
"HideShortsAvatarsDesc" = "Hides profile picture in the bottom right corner.";
|
||||
"HideShortsThanks" = "Hide Superthanks button";
|
||||
"HideShortsThanksDesc" = "Hides Superthanks (Donate) button from the Shorts overlay.";
|
||||
"HideShortsChannelName" = "Hide Channel name";
|
||||
"HideShortsChannelNameDesc" = "Hides Channel name and Subscribe button from the Shorts overlay.";
|
||||
"HideShortsDescription" = "Hide Description";
|
||||
"HideShortsDescriptionDesc" = "Hides Shorts description under channel name.";
|
||||
"HideShortsAudioTrack" = "Hide AudioTrack";
|
||||
"HideShortsAudioTrackDesc" = "Hides AudioTrack under Shorts description.";
|
||||
"Shorts" = "短视频";
|
||||
"HideShorts" = "隐藏短视频";
|
||||
"HideShortsDesc" = "从首页、推荐等隐藏短视频(不适用于观看历史记录)。";
|
||||
"ShortsProgress" = "启用进度条";
|
||||
"ShortsProgressDesc" = "在短视频播放器中显示进度条。";
|
||||
"ResumeShorts" = "不要从短视频开始";
|
||||
"ResumeShortsDesc" = "防止在打开应用程序时首先启动短视频,如果在观看短视频时关闭,就会发生这种情况。";
|
||||
"HideShortsLogo" = "隐藏短视频Logo";
|
||||
"HideShortsLogoDesc" = "隐藏左上角的短视频Logo。";
|
||||
"HideShortsSearch" = "隐藏搜索按钮";
|
||||
"HideShortsSearchDesc" = "从短视频播放器中隐藏搜索按钮。";
|
||||
"HideShortsCamera" = "隐藏相机按钮";
|
||||
"HideShortsCameraDesc" = "从短视频播放器中隐藏相机按钮。";
|
||||
"HideShortsMore" = "隐藏更多 (⋮) 按钮";
|
||||
"HideShortsMoreDesc" = "从短视频播放器中隐藏更多 (⋮) 按钮 。也可以通过长按屏幕来访问它。";
|
||||
"HideShortsSubscriptions" = "隐藏订阅按钮";
|
||||
"HideShortsSubscriptionsDesc" = "隐藏短视频暂停时显示的订阅按钮。";
|
||||
"HideShortsLike" = "隐藏喜欢按钮";
|
||||
"HideShortsLikeDesc" = "从短视频播放器中隐藏喜欢按钮。";
|
||||
"HideShortsDislike" = "隐藏不喜欢按钮";
|
||||
"HideShortsDislikeDesc" = "从短视频播放器中隐藏不喜欢按钮。";
|
||||
"HideShortsComments" = "隐藏评论按钮";
|
||||
"HideShortsCommentsDesc" = "从短视频播放器中隐藏评论按钮。";
|
||||
"HideShortsRemix" = "隐藏混剪按钮";
|
||||
"HideShortsRemixDesc" = "从短视频播放器中隐藏混剪按钮。";
|
||||
"HideShortsShare" = "隐藏分享按钮";
|
||||
"HideShortsShareDesc" = "从短视频播放器中隐藏分享按钮。";
|
||||
"HideShortsAvatars" = "隐藏发布者头像";
|
||||
"HideShortsAvatarsDesc" = "隐藏右下角的发布者个人资料头像。";
|
||||
"HideShortsThanks" = "隐藏捐赠按钮";
|
||||
"HideShortsThanksDesc" = "从短视频播放器中隐藏捐赠按钮。";
|
||||
"HideShortsChannelName" = "隐藏发布者名称";
|
||||
"HideShortsChannelNameDesc" = "从短视频播放器中隐藏发布者名称和订阅按钮。";
|
||||
"HideShortsDescription" = "隐藏说明";
|
||||
"HideShortsDescriptionDesc" = "在频道名称下隐藏短视频描述。";
|
||||
"HideShortsAudioTrack" = "隐藏音频音轨";
|
||||
"HideShortsAudioTrackDesc" = "从短视频描述下隐藏音频音轨。";
|
||||
|
||||
"Startup" = "Startup page";
|
||||
"Home" = "Home";
|
||||
"Explore" = "Explore";
|
||||
"ShortsTab" = "Shorts";
|
||||
"Subscriptions" = "Subscriptions";
|
||||
"Library" = "Library";
|
||||
"Warning" = "Warning";
|
||||
"TabIsHidden" = "Hidden tab cannot be selected as startup page";
|
||||
"Other" = "其他";
|
||||
"RemovePlayNext" = "删除“播放队列中的下一个”";
|
||||
"RemovePlayNextDesc" = "从菜单中删除“播放队列中的下一个”选项。";
|
||||
"NoContinueWatching" = "删除“继续观看”";
|
||||
"NoContinueWatchingDesc" = "从首页中删除包含未完成视频的“继续观看”部分。";
|
||||
|
||||
"Startup" = "启动页";
|
||||
"Home" = "首页";
|
||||
"Explore" = "探索";
|
||||
"ShortsTab" = "短视频";
|
||||
"Subscriptions" = "订阅";
|
||||
"Library" = "媒体库";
|
||||
"Warning" = "警告";
|
||||
"TabIsHidden" = "无法选择隐藏选项卡作为启动页。";
|
||||
|
||||
"Version" = "版本";
|
||||
"About" = "关于";
|
||||
"Credits" = "信息";
|
||||
"Developer" = "YTLite开发者";
|
||||
"Advanced" = "Advanced mode";
|
||||
"ResetSettings" = "Reset YTLite settings";
|
||||
"ResetMessage" = "This option will reset YTLite settings to default and close YouTube.\n\nAre you sure you want to continue?";
|
||||
"Yes" = "Yes";
|
||||
"No" = "No";
|
||||
"Advanced" = "高级模式";
|
||||
"ResetSettings" = "重置YTLite设置";
|
||||
"ResetMessage" = "此选项会将YTLite设置重置为默认值并关闭YouTube。\n\n确定要继续吗?";
|
||||
"Yes" = "是";
|
||||
"No" = "不";
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user