Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc130bdf6b | ||
|
|
a95b16cb71 | ||
|
|
1214db95dc | ||
|
|
0ab9d5fa7e | ||
|
|
d2989b3f90 | ||
|
|
91a8a79cc8 | ||
|
|
cc4b8eb42c | ||
|
|
ddf6094c62 | ||
|
|
5bce5a7e33 | ||
|
|
2f601de852 | ||
|
|
bde14ad82b | ||
|
|
970c566046 | ||
|
|
d7c5e540a4 | ||
|
|
86b5688eae | ||
|
|
341b1cde9d | ||
|
|
e27e0fa8cf | ||
|
|
e0c7f92288 | ||
|
|
9cf2ca008c | ||
|
|
1265e80d15 | ||
|
|
56a5e906f3 | ||
|
|
154ea37acd | ||
|
|
0d83236666 |
@@ -0,0 +1,2 @@
|
||||
github: dayanch96
|
||||
ko_fi: dayanch96
|
||||
@@ -5,7 +5,7 @@ endif
|
||||
DEBUG=0
|
||||
FINALPACKAGE=1
|
||||
ARCHS = arm64
|
||||
PACKAGE_VERSION = 2.7
|
||||
PACKAGE_VERSION = 3.0
|
||||
TARGET := iphone:clang:latest:13.0
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
@@ -13,6 +13,6 @@ include $(THEOS)/makefiles/common.mk
|
||||
TWEAK_NAME = YTLite
|
||||
$(TWEAK_NAME)_FRAMEWORKS = UIKit Foundation SystemConfiguration
|
||||
$(TWEAK_NAME)_CFLAGS = -fobjc-arc -DTWEAK_VERSION=$(PACKAGE_VERSION)
|
||||
$(TWEAK_NAME)_FILES = $(wildcard *.x *.m)
|
||||
$(TWEAK_NAME)_FILES = $(wildcard *.x Utils/*.m)
|
||||
|
||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||
|
||||
@@ -4,7 +4,11 @@ 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/)__
|
||||
Clone this repo
|
||||
|
||||
Clone __[YouTubeHeader by PoomSmart](https://github.com/PoomSmart/YouTubeHeader/)__
|
||||
|
||||
Clone __[protobuf by Protocol Buffers](https://github.com/protocolbuffers/protobuf)__
|
||||
|
||||
cd YTLite folder and run
|
||||
|
||||
|
||||
+385
-328
@@ -58,62 +58,54 @@ static NSString *GetCacheSize() {
|
||||
|
||||
%hook YTSettingsSectionItemManager
|
||||
%new
|
||||
- (void)updatePrefsForKey:(NSString *)key enabled:(BOOL)enabled {
|
||||
NSString *prefsPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"YTLite.plist"];
|
||||
NSMutableDictionary *prefs = [NSMutableDictionary dictionaryWithContentsOfFile:prefsPath];
|
||||
- (YTSettingsSectionItem *)switchWithTitle:(NSString *)title key:(NSString *)key {
|
||||
Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem);
|
||||
Class YTAlertViewClass = %c(YTAlertView);
|
||||
NSString *titleDesc = [NSString stringWithFormat:@"%@Desc", title];
|
||||
|
||||
if (!prefs) prefs = [NSMutableDictionary dictionary];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass switchItemWithTitle:LOC(title)
|
||||
titleDescription:LOC(titleDesc)
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
switchOn:ytlBool(key)
|
||||
switchBlock:^BOOL(YTSettingsCell *cell, BOOL enabled) {
|
||||
if ([key isEqualToString:@"shortsOnlyMode"]) {
|
||||
YTAlertView *alertView = [YTAlertViewClass confirmationDialogWithAction:^{
|
||||
ytlSetBool(enabled, @"shortsOnlyMode");
|
||||
}
|
||||
actionTitle:LOC(@"Yes")
|
||||
cancelAction:^{
|
||||
[cell setSwitchOn:!enabled animated:YES];
|
||||
}
|
||||
cancelTitle:LOC(@"No")];
|
||||
alertView.title = LOC(@"Warning");
|
||||
alertView.subtitle = LOC(@"ShortsOnlyWarning");
|
||||
[alertView show];
|
||||
}
|
||||
|
||||
[prefs setObject:@(enabled) forKey:key];
|
||||
[prefs writeToFile:prefsPath atomically:NO];
|
||||
else {
|
||||
ytlSetBool(enabled, key);
|
||||
|
||||
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.dvntm.ytlite.prefschanged"), NULL, NULL, YES);
|
||||
if (ytlBool(@"removeLabels") || ytlBool(@"reExplore") || ytlBool(@"addExplore") || ytlBool(@"removeShorts") || ytlBool(@"removeSubscriptions") || ytlBool(@"removeUploads") || ytlBool(@"removeLibrary")) {
|
||||
[[[%c(YTHeaderContentComboViewController) alloc] init] refreshPivotBar];
|
||||
}
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0];
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
%new
|
||||
- (void)updateIntegerPrefsForKey:(NSString *)key intValue:(NSInteger)intValue {
|
||||
NSString *prefsPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"YTLite.plist"];
|
||||
NSMutableDictionary *prefs = [NSMutableDictionary dictionaryWithContentsOfFile:prefsPath];
|
||||
|
||||
if (!prefs) prefs = [NSMutableDictionary dictionary];
|
||||
|
||||
[prefs setObject:@(intValue) forKey:key];
|
||||
[prefs writeToFile:prefsPath atomically:NO];
|
||||
|
||||
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.dvntm.ytlite.prefschanged"), NULL, NULL, YES);
|
||||
}
|
||||
|
||||
static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, BOOL *value, id selfObject) {
|
||||
Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem);
|
||||
Class YTAlertViewClass = %c(YTAlertView);
|
||||
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass switchItemWithTitle:LOC(title)
|
||||
titleDescription:LOC([NSString stringWithFormat:@"%@Desc", title])
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
switchOn:*value
|
||||
switchBlock:^BOOL(YTSettingsCell *cell, BOOL enabled) {
|
||||
if ([key isEqualToString:@"shortsOnlyMode"]) {
|
||||
YTAlertView *alertView = [YTAlertViewClass confirmationDialogWithAction:^{
|
||||
[selfObject updatePrefsForKey:@"shortsOnlyMode" enabled:enabled];
|
||||
}
|
||||
actionTitle:LOC(@"Yes")
|
||||
cancelAction:^{
|
||||
[cell setSwitchOn:!enabled animated:YES];
|
||||
}
|
||||
cancelTitle:LOC(@"No")];
|
||||
alertView.title = LOC(@"Warning");
|
||||
alertView.subtitle = LOC(@"ShortsOnlyWarning");
|
||||
[alertView show];
|
||||
}
|
||||
|
||||
else {
|
||||
[selfObject updatePrefsForKey:key enabled:enabled];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0];
|
||||
return item;
|
||||
- (YTSettingsSectionItem *)linkWithTitle:(NSString *)title description:(NSString *)description link:(NSString *)link {
|
||||
return [%c(YTSettingsSectionItem) itemWithTitle:title
|
||||
titleDescription:description
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:nil
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:link]];
|
||||
}];
|
||||
}
|
||||
|
||||
%new(v@:@)
|
||||
@@ -121,7 +113,6 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, B
|
||||
NSMutableArray *sectionItems = [NSMutableArray array];
|
||||
Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem);
|
||||
YTSettingsViewController *settingsViewController = [self valueForKey:@"_settingsViewControllerDelegate"];
|
||||
id selfObject = self;
|
||||
|
||||
YTSettingsSectionItem *space = [%c(YTSettingsSectionItem) itemWithTitle:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:nil];
|
||||
|
||||
@@ -132,370 +123,372 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, B
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"RemoveAds", @"noAds", &kNoAds, selfObject),
|
||||
createSwitchItem(@"BackgroundPlayback", @"backgroundPlayback", &kBackgroundPlayback, selfObject)
|
||||
[self switchWithTitle:@"RemoveAds" key:@"noAds"],
|
||||
[self switchWithTitle:@"BackgroundPlayback" key:@"backgroundPlayback"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"General") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:general];
|
||||
|
||||
YTSettingsSectionItem *navbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Navbar")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"RemoveCast", @"noCast", &kNoCast, selfObject),
|
||||
createSwitchItem(@"RemoveNotifications", @"removeNotifsButton", &kNoNotifsButton, selfObject),
|
||||
createSwitchItem(@"RemoveSearch", @"removeSearchButton", &kNoSearchButton, selfObject),
|
||||
createSwitchItem(@"RemoveVoiceSearch", @"removeVoiceSearchButton", &kNoVoiceSearchButton, selfObject)
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"RemoveCast" key:@"noCast"],
|
||||
[self switchWithTitle:@"RemoveNotifications" key:@"noNotifsButton"],
|
||||
[self switchWithTitle:@"RemoveSearch" key:@"noSearchButton"],
|
||||
[self switchWithTitle:@"RemoveVoiceSearch" key:@"noVoiceSearchButton"]
|
||||
];
|
||||
|
||||
if (kAdvancedMode) {
|
||||
YTSettingsSectionItem *addStickyNavbar = createSwitchItem(@"StickyNavbar", @"stickyNavbar", &kStickyNavbar, selfObject);
|
||||
rows = [rows arrayByAddingObject:addStickyNavbar];
|
||||
|
||||
YTSettingsSectionItem *addNoSubbar = createSwitchItem(@"NoSubbar", @"noSubbar", &kNoSubbar, selfObject);
|
||||
rows = [rows arrayByAddingObject:addNoSubbar];
|
||||
|
||||
YTSettingsSectionItem *addNoYTLogo = createSwitchItem(@"NoYTLogo", @"noYTLogo", &kNoYTLogo, selfObject);
|
||||
rows = [rows arrayByAddingObject:addNoYTLogo];
|
||||
if (ytlBool(@"advancedMode")) {
|
||||
rows = [rows arrayByAddingObjectsFromArray:@[
|
||||
[self switchWithTitle:@"StickyNavbar" key:@"stickyNavbar"],
|
||||
[self switchWithTitle:@"NoSubbar" key:@"noSubbar"],
|
||||
[self switchWithTitle:@"NoYTLogo" key:@"noYTLogo"],
|
||||
[self switchWithTitle:@"PremiumYTLogo" key:@"premiumYTLogo"]
|
||||
]];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Navbar") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:navbar];
|
||||
|
||||
if (kAdvancedMode) {
|
||||
if (ytlBool(@"advancedMode")) {
|
||||
YTSettingsSectionItem *overlay = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Overlay")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"HideAutoplay", @"hideAutoplay", &kHideAutoplay, selfObject),
|
||||
createSwitchItem(@"HideSubs", @"hideSubs", &kHideSubs, selfObject),
|
||||
createSwitchItem(@"NoHUDMsgs", @"noHUDMsgs", &kNoHUDMsgs, selfObject),
|
||||
createSwitchItem(@"HidePrevNext", @"hidePrevNext", &kHidePrevNext, selfObject),
|
||||
createSwitchItem(@"ReplacePrevNext", @"replacePrevNext", &kReplacePrevNext, selfObject),
|
||||
createSwitchItem(@"NoDarkBg", @"noDarkBg", &kNoDarkBg, selfObject),
|
||||
createSwitchItem(@"NoEndScreenCards", @"endScreenCards", &kEndScreenCards, selfObject),
|
||||
createSwitchItem(@"NoFullscreenActions", @"noFullscreenActions", &kNoFullscreenActions, selfObject),
|
||||
createSwitchItem(@"PersistentProgressBar", @"persistentProgressBar", &kPersistentProgressBar, selfObject),
|
||||
createSwitchItem(@"NoRelatedVids", @"noRelatedVids", &kNoRelatedVids, selfObject),
|
||||
createSwitchItem(@"NoPromotionCards", @"noPromotionCards", &kNoPromotionCards, selfObject),
|
||||
createSwitchItem(@"NoWatermarks", @"noWatermarks", &kNoWatermarks, selfObject)
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Overlay") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
[sectionItems addObject:overlay];
|
||||
|
||||
YTSettingsSectionItem *player = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Player")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"Miniplayer", @"miniplayer", &kMiniplayer, selfObject),
|
||||
createSwitchItem(@"PortraitFullscreen", @"portraitFullscreen", &kPortraitFullscreen, selfObject),
|
||||
createSwitchItem(@"CopyWithTimestamp", @"copyWithTimestamp", &kCopyWithTimestamp, selfObject),
|
||||
createSwitchItem(@"DisableAutoplay", @"disableAutoplay", &kDisableAutoplay, selfObject),
|
||||
createSwitchItem(@"DisableAutoCaptions", @"disableAutoCaptions", &kDisableAutoCaptions, selfObject),
|
||||
createSwitchItem(@"NoContentWarning", @"noContentWarning", &kNoContentWarning, selfObject),
|
||||
createSwitchItem(@"ClassicQuality", @"classicQuality", &kClassicQuality, selfObject),
|
||||
createSwitchItem(@"ExtraSpeedOptions", @"extraSpeedOptions", &kExtraSpeedOptions, selfObject),
|
||||
createSwitchItem(@"DontSnap2Chapter", @"dontSnapToChapter", &kDontSnapToChapter, selfObject),
|
||||
createSwitchItem(@"RedProgressBar", @"redProgressBar", &kRedProgressBar, selfObject),
|
||||
createSwitchItem(@"NoPlayerRemixButton", @"noPlayerRemixButton", &kNoPlayerRemixButton, selfObject),
|
||||
createSwitchItem(@"NoPlayerClipButton", @"noPlayerClipButton", &kNoPlayerClipButton, selfObject),
|
||||
createSwitchItem(@"NoPlayerDownloadButton", @"noPlayerDownloadButton", &kNoPlayerDownloadButton, selfObject),
|
||||
createSwitchItem(@"NoHints", @"noHints", &kNoHints, selfObject),
|
||||
createSwitchItem(@"NoFreeZoom", @"noFreeZoom", &kNoFreeZoom, selfObject),
|
||||
createSwitchItem(@"AutoFullscreen", @"autoFullscreen", &kAutoFullscreen, selfObject),
|
||||
createSwitchItem(@"ExitFullscreen", @"exitFullscreen", &kExitFullscreen, selfObject),
|
||||
createSwitchItem(@"NoDoubleTap2Seek", @"noDoubleTapToSeek", &kNoDoubleTapToSeek, selfObject)
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Player") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
[sectionItems addObject:player];
|
||||
|
||||
YTSettingsSectionItem *shorts = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Shorts")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"ShortsOnlyMode", @"shortsOnlyMode", &kShortsOnlyMode, selfObject),
|
||||
createSwitchItem(@"HideShorts", @"hideShorts", &kHideShorts, selfObject),
|
||||
createSwitchItem(@"ShortsProgress", @"shortsProgress", &kShortsProgress, selfObject),
|
||||
createSwitchItem(@"PinchToFullscreenShorts", @"pinchToFullscreenShorts", &kPinchToFullscreenShorts, selfObject),
|
||||
createSwitchItem(@"ShortsToRegular", @"shortsToRegular", &kShortsToRegular, selfObject),
|
||||
createSwitchItem(@"ResumeShorts", @"resumeShorts", &kResumeShorts, selfObject),
|
||||
createSwitchItem(@"HideShortsLogo", @"hideShortsLogo", &kHideShortsLogo, selfObject),
|
||||
createSwitchItem(@"HideShortsSearch", @"hideShortsSearch", &kHideShortsSearch, selfObject),
|
||||
createSwitchItem(@"HideShortsCamera", @"hideShortsCamera", &kHideShortsCamera, selfObject),
|
||||
createSwitchItem(@"HideShortsMore", @"hideShortsMore", &kHideShortsMore, selfObject),
|
||||
createSwitchItem(@"HideShortsSubscriptions", @"hideShortsSubscriptions", &kHideShortsSubscriptions, selfObject),
|
||||
createSwitchItem(@"HideShortsLike", @"hideShortsLike", &kHideShortsLike, selfObject),
|
||||
createSwitchItem(@"HideShortsDislike", @"hideShortsDislike", &kHideShortsDislike, selfObject),
|
||||
createSwitchItem(@"HideShortsComments", @"hideShortsComments", &kHideShortsComments, selfObject),
|
||||
createSwitchItem(@"HideShortsRemix", @"hideShortsRemix", &kHideShortsRemix, selfObject),
|
||||
createSwitchItem(@"HideShortsShare", @"hideShortsShare", &kHideShortsShare, selfObject),
|
||||
createSwitchItem(@"HideShortsAvatars", @"hideShortsAvatars", &kHideShortsAvatars, selfObject),
|
||||
createSwitchItem(@"HideShortsThanks", @"hideShortsThanks", &kHideShortsThanks, selfObject),
|
||||
createSwitchItem(@"HideShortsSource", @"hideShortsSource", &kHideShortsSource, selfObject),
|
||||
createSwitchItem(@"HideShortsChannelName", @"hideShortsChannelName", &kHideShortsChannelName, selfObject),
|
||||
createSwitchItem(@"HideShortsDescription", @"hideShortsDescription", &kHideShortsDescription, selfObject),
|
||||
createSwitchItem(@"HideShortsAudioTrack", @"hideShortsAudioTrack", &kHideShortsAudioTrack, selfObject),
|
||||
createSwitchItem(@"NoPromotionCards", @"hideShortsPromoCards", &kHideShortsPromoCards, selfObject)
|
||||
];
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Shorts") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
[sectionItems addObject:shorts];
|
||||
}
|
||||
|
||||
YTSettingsSectionItem *tabbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Tabbar")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"RemoveLabels", @"removeLabels", &kRemoveLabels, selfObject),
|
||||
createSwitchItem(@"RemoveIndicators", @"removeIndicators", &kRemoveIndicators, selfObject),
|
||||
createSwitchItem(@"ReExplore", @"reExplore", &kReExplore, selfObject),
|
||||
createSwitchItem(@"AddExplore", @"addExplore", &kAddExplore, selfObject),
|
||||
createSwitchItem(@"HideShortsTab", @"removeShorts", &kRemoveShorts, selfObject),
|
||||
createSwitchItem(@"HideSubscriptionsTab", @"removeSubscriptions", &kRemoveSubscriptions, selfObject),
|
||||
createSwitchItem(@"HideUploadButton", @"removeUploads", &kRemoveUploads, selfObject),
|
||||
createSwitchItem(@"HideLibraryTab", @"removeLibrary", &kRemoveLibrary, selfObject)
|
||||
[self switchWithTitle:@"HideAutoplay" key:@"hideAutoplay"],
|
||||
[self switchWithTitle:@"HideSubs" key:@"hideSubs"],
|
||||
[self switchWithTitle:@"NoHUDMsgs" key:@"noHUDMsgs"],
|
||||
[self switchWithTitle:@"HidePrevNext" key:@"hidePrevNext"],
|
||||
[self switchWithTitle:@"ReplacePrevNext" key:@"replacePrevNext"],
|
||||
[self switchWithTitle:@"NoDarkBg" key:@"noDarkBg"],
|
||||
[self switchWithTitle:@"NoEndScreenCards" key:@"endScreenCards"],
|
||||
[self switchWithTitle:@"NoFullscreenActions" key:@"noFullscreenActions"],
|
||||
[self switchWithTitle:@"PersistentProgressBar" key:@"persistentProgressBar"],
|
||||
[self switchWithTitle:@"StockVolumeHUD" key:@"stockVolumeHUD"],
|
||||
[self switchWithTitle:@"NoRelatedVids" key:@"noRelatedVids"],
|
||||
[self switchWithTitle:@"NoPromotionCards" key:@"noPromotionCards"],
|
||||
[self switchWithTitle:@"NoWatermarks" key:@"noWatermarks"],
|
||||
[self switchWithTitle:@"VideoEndTime" key:@"videoEndTime"],
|
||||
[self switchWithTitle:@"24hrFormat" key:@"24hrFormat"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Overlay") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:overlay];
|
||||
|
||||
YTSettingsSectionItem *player = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Player")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"Miniplayer" key:@"miniplayer"],
|
||||
[self switchWithTitle:@"PortraitFullscreen" key:@"portraitFullscreen"],
|
||||
[self switchWithTitle:@"CopyWithTimestamp" key:@"copyWithTimestamp"],
|
||||
[self switchWithTitle:@"DisableAutoplay" key:@"disableAutoplay"],
|
||||
[self switchWithTitle:@"DisableAutoCaptions" key:@"disableAutoCaptions"],
|
||||
[self switchWithTitle:@"NoContentWarning" key:@"noContentWarning"],
|
||||
[self switchWithTitle:@"ClassicQuality" key:@"classicQuality"],
|
||||
[self switchWithTitle:@"ExtraSpeedOptions" key:@"extraSpeedOptions"],
|
||||
[self switchWithTitle:@"DontSnap2Chapter" key:@"dontSnapToChapter"],
|
||||
[self switchWithTitle:@"NoTwoFingerSnapToChapter" key:@"noTwoFingerSnapToChapter"],
|
||||
[self switchWithTitle:@"PauseOnOverlay" key:@"pauseOnOverlay"],
|
||||
[self switchWithTitle:@"RedProgressBar" key:@"redProgressBar"],
|
||||
[self switchWithTitle:@"NoPlayerRemixButton" key:@"noPlayerRemixButton"],
|
||||
[self switchWithTitle:@"NoPlayerClipButton" key:@"noPlayerClipButton"],
|
||||
[self switchWithTitle:@"NoPlayerDownloadButton" key:@"noPlayerDownloadButton"],
|
||||
[self switchWithTitle:@"NoHints" key:@"noHints"],
|
||||
[self switchWithTitle:@"NoFreeZoom" key:@"noFreeZoom"],
|
||||
[self switchWithTitle:@"AutoFullscreen" key:@"autoFullscreen"],
|
||||
[self switchWithTitle:@"ExitFullscreen" key:@"exitFullscreen"],
|
||||
[self switchWithTitle:@"NoDoubleTap2Seek" key:@"noDoubleTapToSeek"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Player") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:player];
|
||||
|
||||
YTSettingsSectionItem *shorts = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Shorts")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"ShortsOnlyMode" key:@"shortsOnlyMode"],
|
||||
[self switchWithTitle:@"AutoSkipShorts" key:@"autoSkipShorts"],
|
||||
[self switchWithTitle:@"HideShorts" key:@"hideShorts"],
|
||||
[self switchWithTitle:@"ShortsProgress" key:@"shortsProgress"],
|
||||
[self switchWithTitle:@"PinchToFullscreenShorts" key:@"pinchToFullscreenShorts"],
|
||||
[self switchWithTitle:@"ShortsToRegular" key:@"shortsToRegular"],
|
||||
[self switchWithTitle:@"ResumeShorts" key:@"resumeShorts"],
|
||||
[self switchWithTitle:@"HideShortsLogo" key:@"hideShortsLogo"],
|
||||
[self switchWithTitle:@"HideShortsSearch" key:@"hideShortsSearch"],
|
||||
[self switchWithTitle:@"HideShortsCamera" key:@"hideShortsCamera"],
|
||||
[self switchWithTitle:@"HideShortsMore" key:@"hideShortsMore"],
|
||||
[self switchWithTitle:@"HideShortsSubscriptions" key:@"hideShortsSubscriptions"],
|
||||
[self switchWithTitle:@"HideShortsLike" key:@"hideShortsLike"],
|
||||
[self switchWithTitle:@"HideShortsDislike" key:@"hideShortsDislike"],
|
||||
[self switchWithTitle:@"HideShortsComments" key:@"hideShortsComments"],
|
||||
[self switchWithTitle:@"HideShortsRemix" key:@"hideShortsRemix"],
|
||||
[self switchWithTitle:@"HideShortsShare" key:@"hideShortsShare"],
|
||||
[self switchWithTitle:@"HideShortsAvatars" key:@"hideShortsAvatars"],
|
||||
[self switchWithTitle:@"HideShortsThanks" key:@"hideShortsThanks"],
|
||||
[self switchWithTitle:@"HideShortsSource" key:@"hideShortsSource"],
|
||||
[self switchWithTitle:@"HideShortsChannelName" key:@"hideShortsChannelName"],
|
||||
[self switchWithTitle:@"HideShortsDescription" key:@"hideShortsDescription"],
|
||||
[self switchWithTitle:@"HideShortsAudioTrack" key:@"hideShortsAudioTrack"],
|
||||
[self switchWithTitle:@"NoPromotionCards" key:@"hideShortsPromoCards"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Shorts") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:shorts];
|
||||
}
|
||||
|
||||
YTSettingsSectionItem *tabbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Tabbar")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"RemoveLabels" key:@"removeLabels"],
|
||||
[self switchWithTitle:@"RemoveIndicators" key:@"removeIndicators"],
|
||||
[self switchWithTitle:@"ReExplore" key:@"reExplore"],
|
||||
[self switchWithTitle:@"AddExplore" key:@"addExplore"],
|
||||
[self switchWithTitle:@"HideShortsTab" key:@"removeShorts"],
|
||||
[self switchWithTitle:@"HideSubscriptionsTab" key:@"removeSubscriptions"],
|
||||
[self switchWithTitle:@"HideUploadButton" key:@"removeUploads"],
|
||||
[self switchWithTitle:@"HideLibraryTab" key:@"removeLibrary"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Tabbar") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:tabbar];
|
||||
|
||||
if (kAdvancedMode) {
|
||||
if (ytlBool(@"advancedMode")) {
|
||||
YTSettingsSectionItem *other = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Other")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
createSwitchItem(@"CopyVideoInfo", @"copyVideoInfo", &kCopyVideoInfo, selfObject),
|
||||
createSwitchItem(@"PostManager", @"postManager", &kPostManager, selfObject),
|
||||
createSwitchItem(@"SaveProfilePhoto", @"saveProfilePhoto", &kSaveProfilePhoto, selfObject),
|
||||
createSwitchItem(@"CommentManager", @"commentManager", &kCommentManager, selfObject),
|
||||
createSwitchItem(@"FixAlbums", @"fixAlbums", &kFixAlbums, selfObject),
|
||||
createSwitchItem(@"RemovePlayNext", @"removePlayNext", &kRemovePlayNext, selfObject),
|
||||
createSwitchItem(@"RemoveDownloadMenu", @"removeDownloadMenu", &kRemoveDownloadMenu, selfObject),
|
||||
createSwitchItem(@"RemoveWatchLaterMenu", @"removeWatchLaterMenu", &kRemoveWatchLaterMenu, selfObject),
|
||||
createSwitchItem(@"RemoveSaveToPlaylistMenu", @"removeSaveToPlaylistMenu", &kRemoveSaveToPlaylistMenu, selfObject),
|
||||
createSwitchItem(@"RemoveShareMenu", @"removeShareMenu", &kRemoveShareMenu, selfObject),
|
||||
createSwitchItem(@"RemoveNotInterestedMenu", @"removeNotInterestedMenu", &kRemoveNotInterestedMenu, selfObject),
|
||||
createSwitchItem(@"RemoveDontRecommendMenu", @"removeDontRecommendMenu", &kRemoveDontRecommendMenu, selfObject),
|
||||
createSwitchItem(@"RemoveReportMenu", @"removeReportMenu", &kRemoveReportMenu, selfObject),
|
||||
createSwitchItem(@"NoContinueWatching", @"noContinueWatching", &kNoContinueWatching, selfObject),
|
||||
createSwitchItem(@"NoSearchHistory", @"noSearchHistory", &kNoSearchHistory, selfObject),
|
||||
createSwitchItem(@"NoRelatedWatchNexts", @"noRelatedWatchNexts", &kNoRelatedWatchNexts, selfObject),
|
||||
createSwitchItem(@"StickSortComments", @"stickSortComments", &kStickSortComments, selfObject),
|
||||
createSwitchItem(@"HideSortComments", @"hideSortComments", &kHideSortComments, selfObject),
|
||||
createSwitchItem(@"PlaylistOldMinibar", @"playlistOldMinibar", &kPlaylistOldMinibar, selfObject),
|
||||
createSwitchItem(@"DisableRTL", @"disableRTL", &kDisableRTL, selfObject)
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"CopyVideoInfo" key:@"copyVideoInfo"],
|
||||
[self switchWithTitle:@"PostManager" key:@"postManager"],
|
||||
[self switchWithTitle:@"SaveProfilePhoto" key:@"saveProfilePhoto"],
|
||||
[self switchWithTitle:@"CommentManager" key:@"commentManager"],
|
||||
[self switchWithTitle:@"FixAlbums" key:@"fixAlbums"],
|
||||
[self switchWithTitle:@"NativeShare" key:@"nativeShare"],
|
||||
[self switchWithTitle:@"RemovePlayNext" key:@"removePlayNext"],
|
||||
[self switchWithTitle:@"RemoveDownloadMenu" key:@"removeDownloadMenu"],
|
||||
[self switchWithTitle:@"RemoveWatchLaterMenu" key:@"removeWatchLaterMenu"],
|
||||
[self switchWithTitle:@"RemoveSaveToPlaylistMenu" key:@"removeSaveToPlaylistMenu"],
|
||||
[self switchWithTitle:@"RemoveShareMenu" key:@"removeShareMenu"],
|
||||
[self switchWithTitle:@"RemoveNotInterestedMenu" key:@"removeNotInterestedMenu"],
|
||||
[self switchWithTitle:@"RemoveDontRecommendMenu" key:@"removeDontRecommendMenu"],
|
||||
[self switchWithTitle:@"RemoveReportMenu" key:@"removeReportMenu"],
|
||||
[self switchWithTitle:@"NoContinueWatching" key:@"noContinueWatching"],
|
||||
[self switchWithTitle:@"NoSearchHistory" key:@"noSearchHistory"],
|
||||
[self switchWithTitle:@"NoRelatedWatchNexts" key:@"noRelatedWatchNexts"],
|
||||
[self switchWithTitle:@"StickSortComments" key:@"stickSortComments"],
|
||||
[self switchWithTitle:@"HideSortComments" key:@"hideSortComments"],
|
||||
[self switchWithTitle:@"PlaylistOldMinibar" key:@"playlistOldMinibar"],
|
||||
[self switchWithTitle:@"DisableRTL" key:@"disableRTL"]
|
||||
];
|
||||
|
||||
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 *wifiQuality = [YTSettingsSectionItemClass itemWithTitle:LOC(@"PlaybackQualityOnWiFi")
|
||||
YTSettingsSectionItem *speed = [YTSettingsSectionItemClass itemWithTitle:LOC(@"HoldToSpeed")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
NSString *qualityLabel = kWiFiQualityIndex == 1 ? LOC(@"Best") :
|
||||
kWiFiQualityIndex == 2 ? @"2160p60" :
|
||||
kWiFiQualityIndex == 3 ? @"2160p" :
|
||||
kWiFiQualityIndex == 4 ? @"1440p60" :
|
||||
kWiFiQualityIndex == 5 ? @"1440p" :
|
||||
kWiFiQualityIndex == 6 ? @"1080p60" :
|
||||
kWiFiQualityIndex == 7 ? @"1080p" :
|
||||
kWiFiQualityIndex == 8 ? @"720p60" :
|
||||
kWiFiQualityIndex == 9 ? @"720p" :
|
||||
kWiFiQualityIndex == 10 ? @"480p" :
|
||||
kWiFiQualityIndex == 11 ? @"360p" :
|
||||
LOC(@"Default");
|
||||
|
||||
return qualityLabel;
|
||||
NSArray *speedLabels = @[LOC(@"Disabled"), LOC(@"Default"), @"0.25×", @"0.5×", @"0.75×", @"1.0×", @"1.25×", @"1.5×", @"1.75×", @"2.0×", @"3.0×", @"4.0×", @"5.0×"];
|
||||
return speedLabels[ytlInt(@"speedIndex")];
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
|
||||
NSArray *qualityTitles = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
NSArray *speedLabels = @[LOC(@"Disable"), LOC(@"Default"), @"0.25×", @"0.5×", @"0.75×", @"1.0×", @"1.25×", @"1.5×", @"1.75×", @"2.0×", @"3.0×", @"4.0×", @"5.0×"];
|
||||
|
||||
for (NSUInteger i = 0; i < qualityTitles.count; i++) {
|
||||
NSString *title = qualityTitles[i];
|
||||
for (NSUInteger i = 0; i < speedLabels.count; i++) {
|
||||
NSString *title = speedLabels[i];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass checkmarkItemWithTitle:title titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
kWiFiQualityIndex = (int)arg1;
|
||||
[settingsViewController reloadData];
|
||||
[self updateIntegerPrefsForKey:@"wifiQualityIndex" intValue:kWiFiQualityIndex];
|
||||
ytlSetInt((int)arg1, @"speedIndex");
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[rows addObject:item];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"HoldToSpeed") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"speedIndex") parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:speed];
|
||||
|
||||
YTSettingsSectionItem *autoSpeed = [YTSettingsSectionItemClass itemWithTitle:LOC(@"DefaultPlaybackRate")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
NSArray *speedLabels = @[@"0.25×", @"0.5×", @"0.75×", @"1.0×", @"1.25×", @"1.5×", @"1.75×", @"2.0×", @"3.0×", @"4.0×", @"5.0×"];
|
||||
return speedLabels[ytlInt(@"autoSpeedIndex")];
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
|
||||
NSArray *speedLabels = @[@"0.25×", @"0.5×", @"0.75×", @"1.0×", @"1.25×", @"1.5×", @"1.75×", @"2.0×", @"3.0×", @"4.0×", @"5.0×"];
|
||||
|
||||
for (NSUInteger i = 0; i < speedLabels.count; i++) {
|
||||
NSString *title = speedLabels[i];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass checkmarkItemWithTitle:title titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
[settingsViewController reloadData];
|
||||
ytlSetInt((int)arg1, @"autoSpeedIndex");
|
||||
return YES;
|
||||
}];
|
||||
[rows addObject:item];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"SelectQuality") pickerSectionTitle:nil rows:rows selectedItemIndex:kWiFiQualityIndex parentResponder:[self parentResponder]];
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"DefaultPlaybackRate") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"autoSpeedIndex") parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:autoSpeed];
|
||||
|
||||
YTSettingsSectionItem *wifiQuality = [YTSettingsSectionItemClass itemWithTitle:LOC(@"PlaybackQualityOnWiFi")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
NSArray *qualityLabels = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
return qualityLabels[ytlInt(@"wiFiQualityIndex")];
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
|
||||
NSArray *qualityLabels = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
|
||||
for (NSUInteger i = 0; i < qualityLabels.count; i++) {
|
||||
NSString *title = qualityLabels[i];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass checkmarkItemWithTitle:title titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
[settingsViewController reloadData];
|
||||
ytlSetInt((int)arg1, @"wiFiQualityIndex");
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[rows addObject:item];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"SelectQuality") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"wiFiQualityIndex") parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:wifiQuality];
|
||||
|
||||
YTSettingsSectionItem *cellQuality = [YTSettingsSectionItemClass itemWithTitle:LOC(@"PlaybackQualityOnCellular")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
NSString *qualityLabel = kCellQualityIndex == 1 ? LOC(@"Best") :
|
||||
kCellQualityIndex == 2 ? @"2160p60" :
|
||||
kCellQualityIndex == 3 ? @"2160p" :
|
||||
kCellQualityIndex == 4 ? @"1440p60" :
|
||||
kCellQualityIndex == 5 ? @"1440p" :
|
||||
kCellQualityIndex == 6 ? @"1080p60" :
|
||||
kCellQualityIndex == 7 ? @"1080p" :
|
||||
kCellQualityIndex == 8 ? @"720p60" :
|
||||
kCellQualityIndex == 9 ? @"720p" :
|
||||
kCellQualityIndex == 10 ? @"480p" :
|
||||
kCellQualityIndex == 11 ? @"360p" :
|
||||
LOC(@"Default");
|
||||
|
||||
return qualityLabel;
|
||||
NSArray *qualityLabels = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
return qualityLabels[ytlInt(@"cellQualityIndex")];
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
|
||||
NSArray *qualityTitles = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
NSArray *qualityLabels = @[LOC(@"Default"), LOC(@"Best"), @"2160p60", @"2160p", @"1440p60", @"1440p", @"1080p60", @"1080p", @"720p60", @"720p", @"480p", @"360p"];
|
||||
|
||||
for (NSUInteger i = 0; i < qualityTitles.count; i++) {
|
||||
NSString *title = qualityTitles[i];
|
||||
for (NSUInteger i = 0; i < qualityLabels.count; i++) {
|
||||
NSString *title = qualityLabels[i];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass checkmarkItemWithTitle:title titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
kCellQualityIndex = (int)arg1;
|
||||
[settingsViewController reloadData];
|
||||
[self updateIntegerPrefsForKey:@"cellQualityIndex" intValue:kCellQualityIndex];
|
||||
ytlSetInt((int)arg1, @"cellQualityIndex");
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[rows addObject:item];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"SelectQuality") pickerSectionTitle:nil rows:rows selectedItemIndex:kCellQualityIndex parentResponder:[self parentResponder]];
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"SelectQuality") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"cellQualityIndex") parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:cellQuality];
|
||||
|
||||
YTSettingsSectionItem *startup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Startup")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
NSString *tabLabel = kPivotIndex == 1 ? LOC(@"Explore") :
|
||||
kPivotIndex == 2 ? LOC(@"ShortsTab") :
|
||||
kPivotIndex == 3 ? LOC(@"Subscriptions") :
|
||||
kPivotIndex == 4 ? LOC(@"Library") :
|
||||
LOC(@"Home");
|
||||
|
||||
return tabLabel;
|
||||
NSArray *tabLabels = @[LOC(@"Home"), LOC(@"Explore"), LOC(@"ShortsTab"), LOC(@"Subscriptions"), LOC(@"Library")];
|
||||
return tabLabels[ytlInt(@"pivotIndex")];
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
|
||||
NSArray *tabTitles = @[LOC(@"Home"), LOC(@"Explore"), LOC(@"ShortsTab"), LOC(@"Subscriptions"), LOC(@"Library")];
|
||||
NSArray *tabLabels = @[LOC(@"Home"), LOC(@"Explore"), LOC(@"ShortsTab"), LOC(@"Subscriptions"), LOC(@"Library")];
|
||||
|
||||
for (NSUInteger i = 0; i < tabTitles.count; i++) {
|
||||
NSString *title = tabTitles[i];
|
||||
for (NSUInteger i = 0; i < tabLabels.count; i++) {
|
||||
NSString *title = tabLabels[i];
|
||||
YTSettingsSectionItem *item = [YTSettingsSectionItemClass checkmarkItemWithTitle:title titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
if (([title isEqualToString:LOC(@"Explore")] && !kReExplore && !kAddExplore) ||
|
||||
([title isEqualToString:LOC(@"ShortsTab")] && kRemoveShorts) ||
|
||||
([title isEqualToString:LOC(@"Subscriptions")] && kRemoveSubscriptions) ||
|
||||
([title isEqualToString:LOC(@"Library")] && kRemoveLibrary)) {
|
||||
if (([title isEqualToString:LOC(@"Explore")] && !ytlBool(@"reExplore") && !ytlBool(@"addExplore")) ||
|
||||
([title isEqualToString:LOC(@"ShortsTab")] && ytlBool(@"removeShorts")) ||
|
||||
([title isEqualToString:LOC(@"Subscriptions")] && ytlBool(@"removeSubscriptions")) ||
|
||||
([title isEqualToString:LOC(@"Library")] && ytlBool(@"removeLibrary"))) {
|
||||
YTAlertView *alertView = [%c(YTAlertView) infoDialog];
|
||||
alertView.title = LOC(@"Warning");
|
||||
alertView.subtitle = LOC(@"TabIsHidden");
|
||||
[alertView show];
|
||||
return NO;
|
||||
} else {
|
||||
kPivotIndex = (int)arg1;
|
||||
[settingsViewController reloadData];
|
||||
[self updateIntegerPrefsForKey:@"pivotIndex" intValue:kPivotIndex];
|
||||
ytlSetInt((int)arg1, @"pivotIndex");
|
||||
return YES;
|
||||
}
|
||||
}];
|
||||
|
||||
[rows addObject:item];
|
||||
}
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Startup") pickerSectionTitle:nil rows:rows selectedItemIndex:kPivotIndex parentResponder:[self parentResponder]];
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Startup") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"pivotIndex") parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:startup];
|
||||
}
|
||||
|
||||
[sectionItems addObject:space];
|
||||
|
||||
YTSettingsSectionItem *ps = [%c(YTSettingsSectionItem) itemWithTitle:@"PoomSmart" titleDescription:@"YouTube-X, YTNoPremium, YTClassicVideoQuality, YTShortsProgress, YTReExplore, SkipContentWarning, YTAutoFullscreen, YouTubeHeaders" accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/PoomSmart/"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *miro = [%c(YTSettingsSectionItem) itemWithTitle:@"MiRO92" titleDescription:@"YTNoShorts" accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/MiRO92/"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *tonymillion = [%c(YTSettingsSectionItem) itemWithTitle:@"Tony Million" titleDescription:@"Reachability" accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/tonymillion/Reachability"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *stalker = [%c(YTSettingsSectionItem) itemWithTitle:@"Stalker" titleDescription:LOC(@"ChineseSimplified") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/xiangfeidexiaohuo"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *clement = [%c(YTSettingsSectionItem) itemWithTitle:@"Clement" titleDescription:LOC(@"ChineseTraditional") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://twitter.com/a100900900"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *balackburn = [%c(YTSettingsSectionItem) itemWithTitle:@"Balackburn" titleDescription:LOC(@"French") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/Balackburn"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *decibelios = [%c(YTSettingsSectionItem) itemWithTitle:@"DeciBelioS" titleDescription:LOC(@"Spanish") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/Deci8BelioS"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *skeids = [%c(YTSettingsSectionItem) itemWithTitle:@"SKEIDs" titleDescription:LOC(@"Japanese") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/SKEIDs"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *hiepvk = [%c(YTSettingsSectionItem) itemWithTitle:@"Hiepvk" titleDescription:LOC(@"Vietnamese") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/hiepvk"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *dayanch96 = [%c(YTSettingsSectionItem) itemWithTitle:@"Dayanch96" titleDescription:LOC(@"Developer") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/Dayanch96/"]];
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *support = [%c(YTSettingsSectionItem) itemWithTitle:LOC(@"SupportDevelopment") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:^NSString *() { return @"♡"; } selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
YTDefaultSheetController *sheetController = [%c(YTDefaultSheetController) sheetControllerWithMessage:LOC(@"SupportDevelopment") subMessage:LOC(@"SupportDevelopmentDesc") delegate:nil parentResponder:nil];
|
||||
YTActionSheetHeaderView *headerView = [sheetController valueForKey:@"_headerView"];
|
||||
@@ -515,35 +508,63 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, B
|
||||
[%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://www.buymeacoffee.com/dayanch96"]];
|
||||
}]];
|
||||
|
||||
UIViewController *currentController = UIApplication.sharedApplication.windows.firstObject.rootViewController;
|
||||
[sheetController presentFromViewController:currentController.presentedViewController animated:YES completion:nil];
|
||||
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"USDT (TRC20)" iconImage:[self resizedImageNamed:@"usdt"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
|
||||
[UIPasteboard generalPasteboard].string = @"TEdKJdKwc1Bbu8Py4um8qPQ6MbproEqNJw";
|
||||
[[%c(YTToastResponderEvent) eventWithMessage:LOC(@"Copied") firstResponder:[self parentResponder]] send];
|
||||
}]];
|
||||
|
||||
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"BNB Smart Chain (BEP20)" iconImage:[self resizedImageNamed:@"bnb"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
|
||||
[UIPasteboard generalPasteboard].string = @"0xc6f9fddb30ce10d70e6497950f44c8e10b72bcd6";
|
||||
[[%c(YTToastResponderEvent) eventWithMessage:LOC(@"Copied") firstResponder:[self parentResponder]] send];
|
||||
}]];
|
||||
|
||||
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"Boosty" iconImage:[self resizedImageNamed:@"boosty"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
|
||||
[%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://boosty.to/dayanch96"]];
|
||||
}]];
|
||||
|
||||
[sheetController presentFromViewController:[%c(YTUIUtils) topViewControllerForPresenting] animated:YES completion:nil];
|
||||
|
||||
return YES;
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *cache = [%c(YTSettingsSectionItem) itemWithTitle:LOC(@"ClearCache") titleDescription:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:^NSString *() { return GetCacheSize(); } selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
||||
NSString *cachePath = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject;
|
||||
[[NSFileManager defaultManager] removeItemAtPath:cachePath error:nil];
|
||||
});
|
||||
[[%c(YTToastResponderEvent) eventWithMessage:LOC(@"Done") firstResponder:[self parentResponder]] send];
|
||||
YTSettingsSectionItem *thanks = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Contributors")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self linkWithTitle:@"Dayanch96" description:LOC(@"Developer") link:@"https://github.com/Dayanch96/"],
|
||||
[self linkWithTitle:@"Dan Pashin" description:LOC(@"SpecialThanks") link:@"https://github.com/danpashin/"],
|
||||
space,
|
||||
[self linkWithTitle:@"Stalker" description:LOC(@"ChineseSimplified") link:@"https://github.com/xiangfeidexiaohuo"],
|
||||
[self linkWithTitle:@"Clement" description:LOC(@"ChineseTraditional") link:@"https://twitter.com/a100900900"],
|
||||
[self linkWithTitle:@"Balackburn" description:LOC(@"French") link:@"https://github.com/Balackburn"],
|
||||
[self linkWithTitle:@"DeciBelioS" description:LOC(@"Spanish") link:@"https://github.com/Deci8BelioS"],
|
||||
[self linkWithTitle:@"SKEIDs" description:LOC(@"Japanese") link:@"https://github.com/SKEIDs"],
|
||||
[self linkWithTitle:@"Hiepvk" description:LOC(@"Vietnamese") link:@"https://github.com/hiepvk"]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
YTSettingsSectionItem *reset = [%c(YTSettingsSectionItem) itemWithTitle:LOC(@"ResetSettings") titleDescription:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
YTAlertView *alertView = [%c(YTAlertView) confirmationDialogWithAction:^{
|
||||
NSString *prefsPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"YTLite.plist"];
|
||||
[[NSFileManager defaultManager] removeItemAtPath:prefsPath error:nil];
|
||||
YTSettingsSectionItem *sources = [YTSettingsSectionItemClass itemWithTitle:LOC(@"OpenSourceLibs")
|
||||
accessibilityIdentifier:@"YTLiteSectionItem"
|
||||
detailTextBlock:^NSString *() {
|
||||
return @"‣";
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self linkWithTitle:@"PoomSmart" description:@"YouTube-X, YTNoPremium, YTClassicVideoQuality, YTShortsProgress, YTReExplore, SkipContentWarning, YTAutoFullscreen, YouTubeHeaders" link:@"https://github.com/PoomSmart/"],
|
||||
[self linkWithTitle:@"MiRO92" description:@"YTNoShorts" link:@"https://github.com/MiRO92/YTNoShorts"],
|
||||
[self linkWithTitle:@"Tony Million" description:@"Reachability" link:@"https://github.com/tonymillion/Reachability"],
|
||||
[self linkWithTitle:@"jkhsjdhjs" description:@"YouTube Native Share" link:@"https://github.com/jkhsjdhjs/youtube-native-share"]
|
||||
];
|
||||
|
||||
[[UIApplication sharedApplication] performSelector:@selector(suspend)];
|
||||
[NSThread sleepForTimeInterval:1.0];
|
||||
exit(0);
|
||||
}
|
||||
actionTitle:LOC(@"Yes")
|
||||
cancelTitle:LOC(@"No")];
|
||||
alertView.title = LOC(@"Warning");
|
||||
alertView.subtitle = LOC(@"ResetMessage");
|
||||
[alertView show];
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
@@ -553,13 +574,49 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, B
|
||||
return @(OS_STRINGIFY(TWEAK_VERSION));
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[ps, miro, tonymillion, dayanch96, stalker, clement, balackburn, decibelios, skeids, hiepvk, space, createSwitchItem(@"Advanced", @"advancedMode", &kAdvancedMode, selfObject), cache, reset];
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[self switchWithTitle:@"Advanced" key:@"advancedMode"],
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[%c(YTSettingsSectionItem) itemWithTitle:LOC(@"ClearCache") titleDescription:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:^NSString *() { return GetCacheSize(); } selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
||||
NSString *cachePath = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject;
|
||||
[[NSFileManager defaultManager] removeItemAtPath:cachePath error:nil];
|
||||
});
|
||||
|
||||
[[%c(YTToastResponderEvent) eventWithMessage:LOC(@"Done") firstResponder:[self parentResponder]] send];
|
||||
|
||||
return YES;
|
||||
}],
|
||||
|
||||
[%c(YTSettingsSectionItem) itemWithTitle:LOC(@"ResetSettings") titleDescription:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
YTAlertView *alertView = [%c(YTAlertView) confirmationDialogWithAction:^{
|
||||
[YTLUserDefaults resetUserDefaults];
|
||||
|
||||
[[UIApplication sharedApplication] performSelector:@selector(suspend)];
|
||||
[NSThread sleepForTimeInterval:1.0];
|
||||
exit(0);
|
||||
}
|
||||
actionTitle:LOC(@"Yes")
|
||||
cancelTitle:LOC(@"No")];
|
||||
alertView.title = LOC(@"Warning");
|
||||
alertView.subtitle = LOC(@"ResetMessage");
|
||||
[alertView show];
|
||||
|
||||
return YES;
|
||||
}]
|
||||
];
|
||||
|
||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||
[settingsViewController pushViewController:picker];
|
||||
return YES;
|
||||
}];
|
||||
|
||||
[sectionItems addObject:thanks];
|
||||
|
||||
[sectionItems addObject:sources];
|
||||
|
||||
[sectionItems addObject:support];
|
||||
|
||||
[sectionItems addObject:version];
|
||||
|
||||
BOOL isNew = [settingsViewController respondsToSelector:@selector(setSectionItems:forCategory:title:icon:titleDescription:headerHidden:)];
|
||||
@@ -581,7 +638,7 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *key, B
|
||||
UIGraphicsImageRenderer *renderer = [[UIGraphicsImageRenderer alloc] initWithSize:CGSizeMake(32, 32)];
|
||||
UIImage *image = [renderer imageWithActions:^(UIGraphicsImageRendererContext * _Nonnull rendererContext) {
|
||||
UIView *imageView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 32, 32)];
|
||||
UIImageView *iconImageView = [[UIImageView alloc] initWithImage:[UIImage imageWithContentsOfFile:[YTLiteBundle() pathForResource:iconName ofType:@"png"]]];
|
||||
UIImageView *iconImageView = [[UIImageView alloc] initWithImage:[UIImage imageWithContentsOfFile:[NSBundle.ytl_defaultBundle pathForResource:iconName ofType:@"png"]]];
|
||||
iconImageView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
iconImageView.clipsToBounds = YES;
|
||||
iconImageView.frame = imageView.bounds;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <rootless.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface NSBundle (YTLite)
|
||||
|
||||
// Returns YTLite default bundle. Supports rootless if defined in compilation parameters
|
||||
@property (class, nonatomic, readonly) NSBundle *ytl_defaultBundle;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,19 @@
|
||||
#import "NSBundle+YTLite.h"
|
||||
|
||||
@implementation NSBundle (YTLite)
|
||||
|
||||
+ (NSBundle *)ytl_defaultBundle {
|
||||
static NSBundle *bundle = nil;
|
||||
static dispatch_once_t onceToken;
|
||||
|
||||
dispatch_once(&onceToken, ^{
|
||||
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"YTLite" ofType:@"bundle"];
|
||||
NSString *rootlessBundlePath = ROOT_PATH_NS("/Library/Application Support/YTLite.bundle");
|
||||
|
||||
bundle = [NSBundle bundleWithPath:tweakBundlePath ?: rootlessBundlePath];
|
||||
});
|
||||
|
||||
return bundle;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,15 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface YTLUserDefaults : NSUserDefaults
|
||||
|
||||
@property (class, readonly, strong) YTLUserDefaults *standardUserDefaults;
|
||||
|
||||
- (void)reset;
|
||||
|
||||
+ (void)resetUserDefaults;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,40 @@
|
||||
#import "YTLUserDefaults.h"
|
||||
|
||||
@implementation YTLUserDefaults
|
||||
|
||||
static NSString *const kDefaultsSuiteName = @"com.dvntm.ytlite";
|
||||
|
||||
+ (YTLUserDefaults *)standardUserDefaults {
|
||||
static dispatch_once_t onceToken;
|
||||
static YTLUserDefaults *defaults = nil;
|
||||
|
||||
dispatch_once(&onceToken, ^{
|
||||
defaults = [[self alloc] initWithSuiteName:kDefaultsSuiteName];
|
||||
[defaults registerDefaults];
|
||||
});
|
||||
|
||||
return defaults;
|
||||
}
|
||||
|
||||
- (void)reset {
|
||||
[self removePersistentDomainForName:kDefaultsSuiteName];
|
||||
}
|
||||
|
||||
- (void)registerDefaults {
|
||||
[self registerDefaults:@{
|
||||
@"noAds": @YES,
|
||||
@"backgroundPlayback": @YES,
|
||||
@"removeUploads": @YES,
|
||||
@"speedIndex": @1,
|
||||
@"autoSpeedIndex": @3,
|
||||
@"wiFiQualityIndex": @0,
|
||||
@"cellQualityIndex": @0,
|
||||
@"pivotIndex": @0
|
||||
}];
|
||||
}
|
||||
|
||||
+ (void)resetUserDefaults {
|
||||
[[self standardUserDefaults] reset];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -1,124 +1,18 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <rootless.h>
|
||||
#import <Photos/Photos.h>
|
||||
#import "Reachability.h"
|
||||
#import "Utils/NSBundle+YTLite.h"
|
||||
#import "Utils/YTLUserDefaults.h"
|
||||
#import "Utils/Reachability.h"
|
||||
#import "YouTubeHeaders.h"
|
||||
|
||||
static inline NSBundle *YTLiteBundle() {
|
||||
static NSBundle *bundle = nil;
|
||||
static dispatch_once_t onceToken;
|
||||
#define LOC(key) [NSBundle.ytl_defaultBundle localizedStringForKey:key value:nil table:nil]
|
||||
|
||||
dispatch_once(&onceToken, ^{
|
||||
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"YTLite" ofType:@"bundle"];
|
||||
NSString *rootlessBundlePath = ROOT_PATH_NS("/Library/Application Support/YTLite.bundle");
|
||||
#define ytlBool(key) [[YTLUserDefaults standardUserDefaults] boolForKey:key]
|
||||
#define ytlInt(key) [[YTLUserDefaults standardUserDefaults] integerForKey:key]
|
||||
|
||||
bundle = [NSBundle bundleWithPath:tweakBundlePath ?: rootlessBundlePath];
|
||||
});
|
||||
|
||||
return bundle;
|
||||
}
|
||||
|
||||
static inline NSString *LOC(NSString *key) {
|
||||
return [YTLiteBundle() localizedStringForKey:key value:nil table:nil];
|
||||
}
|
||||
|
||||
BOOL kNoAds;
|
||||
BOOL kBackgroundPlayback;
|
||||
BOOL kNoCast;
|
||||
BOOL kNoNotifsButton;
|
||||
BOOL kNoSearchButton;
|
||||
BOOL kNoVoiceSearchButton;
|
||||
BOOL kStickyNavbar;
|
||||
BOOL kNoSubbar;
|
||||
BOOL kNoYTLogo;
|
||||
BOOL kHideAutoplay;
|
||||
BOOL kHideSubs;
|
||||
BOOL kNoHUDMsgs;
|
||||
BOOL kHidePrevNext;
|
||||
BOOL kReplacePrevNext;
|
||||
BOOL kNoDarkBg;
|
||||
BOOL kEndScreenCards;
|
||||
BOOL kNoFullscreenActions;
|
||||
BOOL kPersistentProgressBar;
|
||||
BOOL kNoRelatedVids;
|
||||
BOOL kNoPromotionCards;
|
||||
BOOL kNoWatermarks;
|
||||
BOOL kMiniplayer;
|
||||
BOOL kPortraitFullscreen;
|
||||
BOOL kCopyWithTimestamp;
|
||||
BOOL kDisableAutoplay;
|
||||
BOOL kDisableAutoCaptions;
|
||||
BOOL kNoContentWarning;
|
||||
BOOL kClassicQuality;
|
||||
BOOL kExtraSpeedOptions;
|
||||
BOOL kDontSnapToChapter;
|
||||
BOOL kRedProgressBar;
|
||||
BOOL kNoPlayerRemixButton;
|
||||
BOOL kNoPlayerClipButton;
|
||||
BOOL kNoPlayerDownloadButton;
|
||||
BOOL kNoHints;
|
||||
BOOL kNoFreeZoom;
|
||||
BOOL kAutoFullscreen;
|
||||
BOOL kExitFullscreen;
|
||||
BOOL kNoDoubleTapToSeek;
|
||||
BOOL kShortsOnlyMode;
|
||||
BOOL kHideShorts;
|
||||
BOOL kShortsProgress;
|
||||
BOOL kPinchToFullscreenShorts;
|
||||
BOOL kShortsToRegular;
|
||||
BOOL kResumeShorts;
|
||||
BOOL kHideShortsLogo;
|
||||
BOOL kHideShortsSearch;
|
||||
BOOL kHideShortsCamera;
|
||||
BOOL kHideShortsMore;
|
||||
BOOL kHideShortsSubscriptions;
|
||||
BOOL kHideShortsLike;
|
||||
BOOL kHideShortsDislike;
|
||||
BOOL kHideShortsComments;
|
||||
BOOL kHideShortsRemix;
|
||||
BOOL kHideShortsShare;
|
||||
BOOL kHideShortsAvatars;
|
||||
BOOL kHideShortsThanks;
|
||||
BOOL kHideShortsSource;
|
||||
BOOL kHideShortsChannelName;
|
||||
BOOL kHideShortsDescription;
|
||||
BOOL kHideShortsAudioTrack;
|
||||
BOOL kHideShortsPromoCards;
|
||||
BOOL kRemoveLabels;
|
||||
BOOL kRemoveIndicators;
|
||||
BOOL kReExplore;
|
||||
BOOL kAddExplore;
|
||||
BOOL kRemoveShorts;
|
||||
BOOL kRemoveSubscriptions;
|
||||
BOOL kRemoveUploads;
|
||||
BOOL kRemoveLibrary;
|
||||
BOOL kCopyVideoInfo;
|
||||
BOOL kPostManager;
|
||||
BOOL kSaveProfilePhoto;
|
||||
BOOL kCommentManager;
|
||||
BOOL kSavePost;
|
||||
BOOL kFixAlbums;
|
||||
BOOL kRemovePlayNext;
|
||||
BOOL kRemoveDownloadMenu;
|
||||
BOOL kRemoveWatchLaterMenu;
|
||||
BOOL kRemoveSaveToPlaylistMenu;
|
||||
BOOL kRemoveShareMenu;
|
||||
BOOL kRemoveNotInterestedMenu;
|
||||
BOOL kRemoveDontRecommendMenu;
|
||||
BOOL kRemoveReportMenu;
|
||||
BOOL kNoContinueWatching;
|
||||
BOOL kNoSearchHistory;
|
||||
BOOL kNoRelatedWatchNexts;
|
||||
BOOL kStickSortComments;
|
||||
BOOL kHideSortComments;
|
||||
BOOL kPlaylistOldMinibar;
|
||||
BOOL kDisableRTL;
|
||||
BOOL kAdvancedMode;
|
||||
BOOL kAdvancedModeReminder;
|
||||
int kWiFiQualityIndex;
|
||||
int kCellQualityIndex;
|
||||
int kPivotIndex;
|
||||
#define ytlSetBool(value, key) [[YTLUserDefaults standardUserDefaults] setBool:(value) forKey:(key)]
|
||||
#define ytlSetInt(value, key) [[YTLUserDefaults standardUserDefaults] setInteger:(value) forKey:(key)]
|
||||
|
||||
@interface YTTouchFeedbackController : YTCollectionViewCell
|
||||
@property (nonatomic, strong, readwrite) UIColor *feedbackColor;
|
||||
@@ -130,13 +24,12 @@ int kPivotIndex;
|
||||
|
||||
@interface YTSettingsCell ()
|
||||
- (void)setIndicatorIcon:(int)icon;
|
||||
- (void)setTitleDescription:(id)titleDescription;
|
||||
@end
|
||||
|
||||
@interface YTSettingsSectionItemManager (Custom)
|
||||
@property (nonatomic, strong) NSMutableDictionary *prefs;
|
||||
@property (nonatomic, strong) NSString *prefsPath;
|
||||
- (void)updatePrefsForKey:(NSString *)key enabled:(BOOL)enabled;
|
||||
- (void)updateIntegerPrefsForKey:(NSString *)key intValue:(NSInteger)intValue;
|
||||
- (YTSettingsSectionItem *)switchWithTitle:(NSString *)title key:(NSString *)key;
|
||||
- (YTSettingsSectionItem *)linkWithTitle:(NSString *)title description:(NSString *)description link:(NSString *)link;
|
||||
- (UIImage *)resizedImageNamed:(NSString *)iconName;
|
||||
@end
|
||||
|
||||
@@ -147,6 +40,7 @@ int kPivotIndex;
|
||||
@interface YTQTMButton ()
|
||||
@property (nonatomic, strong, readwrite) YTIButtonRenderer *buttonRenderer;
|
||||
- (void)setSizeWithPaddingAndInsets:(BOOL)sizeWithPaddingAndInsets;
|
||||
- (BOOL)yt_isVisible;
|
||||
@end
|
||||
|
||||
@interface YTRightNavigationButtons : UIView
|
||||
@@ -163,7 +57,15 @@ int kPivotIndex;
|
||||
@interface YTChipCloudCell : UICollectionViewCell
|
||||
@end
|
||||
|
||||
@interface YTHeaderContentComboViewController : UIViewController
|
||||
- (void)refreshPivotBar;
|
||||
@end
|
||||
|
||||
@interface YTPivotBarViewController : UIViewController
|
||||
@end
|
||||
|
||||
@interface YTAppViewController : UIViewController
|
||||
@property (nonatomic, assign, readonly) YTPivotBarViewController *pivotBarViewController;
|
||||
- (void)hidePivotBar;
|
||||
- (void)showPivotBar;
|
||||
@end
|
||||
@@ -172,8 +74,9 @@ int kPivotIndex;
|
||||
- (void)selectItemWithPivotIdentifier:(id)pivotIndentifier;
|
||||
@end
|
||||
|
||||
@interface YTPivotBarViewController : UIViewController
|
||||
@interface YTPivotBarViewController ()
|
||||
@property (nonatomic, weak, readwrite) YTAppViewController *parentViewController;
|
||||
@property (nonatomic, copy, readwrite) NSString *selectedPivotIdentifier;
|
||||
- (YTPivotBarView *)pivotBarView;
|
||||
- (void)selectItemWithPivotIdentifier:(id)pivotIndentifier;
|
||||
@end
|
||||
@@ -182,31 +85,17 @@ int kPivotIndex;
|
||||
@property (nonatomic, strong, readwrite) YTIPivotBarItemRenderer *renderer;
|
||||
@property (nonatomic, weak, readwrite) YTPivotBarViewController *delegate;
|
||||
@property (nonatomic, strong, readwrite) YTQTMButton *navigationButton;
|
||||
- (void)manageTab:(UILongPressGestureRecognizer *)gesture;
|
||||
@end
|
||||
|
||||
@interface YTScrollableNavigationController : UINavigationController
|
||||
@property (nonatomic, weak, readwrite) YTAppViewController *parentViewController;
|
||||
@end
|
||||
|
||||
@interface YTReelWatchRootViewController : UIViewController
|
||||
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
|
||||
@end
|
||||
|
||||
@interface YTTabsViewController : UIViewController
|
||||
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
|
||||
@end
|
||||
|
||||
@interface YTReelWatchPlaybackOverlayView : UIView
|
||||
@end
|
||||
|
||||
@interface YTReelContentView : UIView
|
||||
@property (nonatomic, assign, readonly) YTReelWatchPlaybackOverlayView *playbackOverlay;
|
||||
@end
|
||||
|
||||
@interface YTShortsPlayerViewController : UIViewController
|
||||
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
|
||||
@end
|
||||
|
||||
@interface YTIVideoDetails : NSObject
|
||||
@property (nonatomic, copy, readwrite) NSString *title;
|
||||
@property (nonatomic, copy, readwrite) NSString *shortDescription;
|
||||
@@ -229,7 +118,13 @@ int kPivotIndex;
|
||||
@property (nonatomic, assign, readonly) int singleDimensionResolution;
|
||||
@end
|
||||
|
||||
@interface YTSingleVideoTime : NSObject
|
||||
@property (nonatomic, assign, readonly) CGFloat time;
|
||||
@end
|
||||
|
||||
@interface YTSingleVideoController : NSObject
|
||||
@property (nonatomic, assign, readonly) float playbackRate;
|
||||
@property (nonatomic, assign, readonly) CGFloat totalMediaTime;
|
||||
@property (nonatomic, assign, readonly) NSArray *selectableVideoFormats;
|
||||
- (void)setVideoFormatConstraint:(MLQuickMenuVideoQualitySettingFormatConstraint *)formatConstraint;
|
||||
@end
|
||||
@@ -237,20 +132,55 @@ int kPivotIndex;
|
||||
@interface YTPlayerViewController : UIViewController
|
||||
@property (nonatomic, assign, readonly) YTPlayerResponse *playerResponse;
|
||||
@property (nonatomic, assign, readonly) YTSingleVideoController *activeVideo;
|
||||
@property (nonatomic, weak, readwrite) UIViewController *activeVideoPlayerOverlay;
|
||||
@property (nonatomic, weak, readwrite) UIViewController *parentViewController;
|
||||
@property (readonly, nonatomic) NSString *contentVideoID;
|
||||
- (void)setActiveCaptionTrack:(id)arg1;
|
||||
@property (nonatomic, weak, readwrite) UIViewController *UIDelegate;
|
||||
@property (nonatomic, readonly) NSString *contentVideoID;
|
||||
- (void)setActiveCaptionTrack:(id)track;
|
||||
- (void)setPlaybackRate:(CGFloat)rate;
|
||||
- (void)shortsToRegular;
|
||||
- (void)autoFullscreen;
|
||||
- (void)turnOffCaptions;
|
||||
- (void)setAutoSpeed;
|
||||
- (void)autoQuality;
|
||||
- (void)play;
|
||||
- (void)pause;
|
||||
@end
|
||||
|
||||
@interface YTPlayerView : UIView
|
||||
@property (nonatomic, weak, readwrite) YTPlayerViewController *playerViewDelegate;
|
||||
@property (nonatomic, strong, readwrite) UIView *overlayView;
|
||||
@end
|
||||
|
||||
@interface YTMainAppControlsOverlayView : UIView
|
||||
@property (nonatomic, strong, readwrite) YTPlayerViewController *playerViewController;
|
||||
@end
|
||||
|
||||
@interface YTReelWatchRootViewController : UIViewController
|
||||
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
|
||||
@end
|
||||
|
||||
@interface YTReelWatchPlaybackOverlayView : UIView
|
||||
@end
|
||||
|
||||
@interface YTReelContentView : UIView
|
||||
@property (nonatomic, assign, readonly) YTReelWatchPlaybackOverlayView *playbackOverlay;
|
||||
- (void)turnShortsOnlyModeOff:(UILongPressGestureRecognizer *)gesture;
|
||||
@end
|
||||
|
||||
@interface YTReelPlayerViewController : UIViewController
|
||||
@property (nonatomic, strong, readwrite) YTPlayerViewController *player;
|
||||
- (void)reelContentViewRequestsAdvanceToNextVideo:(id)video;
|
||||
@end
|
||||
|
||||
@interface YTShortsPlayerViewController : YTReelPlayerViewController
|
||||
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
|
||||
@end
|
||||
|
||||
@interface YTPivotBarViewController ()
|
||||
@property (nonatomic, weak, readwrite) YTShortsPlayerViewController *scrubberDelegate;
|
||||
@end
|
||||
|
||||
@interface YTEngagementPanelIdentifier : NSObject
|
||||
@property (nonatomic, copy, readonly) NSString *identifierString;
|
||||
@end
|
||||
@@ -282,7 +212,8 @@ int kPivotIndex;
|
||||
- (void)didTapCopyInfoButton:(UIButton *)sender;
|
||||
@end
|
||||
|
||||
@interface YTSegmentableInlinePlayerBarView
|
||||
@interface YTSegmentableInlinePlayerBarView : UIView
|
||||
@property (nonatomic, assign, readonly) CGFloat totalTime;
|
||||
@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter;
|
||||
@end
|
||||
|
||||
@@ -290,7 +221,7 @@ int kPivotIndex;
|
||||
- (void)confirmAlertDidPressConfirm;
|
||||
@end
|
||||
|
||||
@interface YTReelPlayerButton : UIButton
|
||||
@interface YTReelPlayerButton : YTQTMButton
|
||||
@end
|
||||
|
||||
@interface ELMCellNode
|
||||
@@ -304,12 +235,6 @@ int kPivotIndex;
|
||||
- (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath;
|
||||
@end
|
||||
|
||||
// @interface YTReelWatchPlaybackOverlayView : UIView
|
||||
// @end
|
||||
|
||||
// @interface YTReelWatchHeaderView : UIView
|
||||
// @end
|
||||
|
||||
@interface YTReelTransparentStackView : UIStackView
|
||||
@end
|
||||
|
||||
@@ -354,11 +279,6 @@ int kPivotIndex;
|
||||
- (void)commentManager:(UILongPressGestureRecognizer *)sender;
|
||||
@end
|
||||
|
||||
// @interface MLHAMQueuePlayer : NSObject
|
||||
// @property id playerEventCenter;
|
||||
// -(void)setRate:(float)rate;
|
||||
// @end
|
||||
|
||||
@interface YTVarispeedSwitchControllerOption : NSObject
|
||||
- (id)initWithTitle:(NSString *)title rate:(float)rate;
|
||||
@end
|
||||
@@ -367,17 +287,42 @@ int kPivotIndex;
|
||||
- (void)addActionForOption:(YTVarispeedSwitchControllerOption *)option;
|
||||
@end
|
||||
|
||||
@interface HAMPlayerInternal : NSObject
|
||||
- (void)setRate:(float)rate;
|
||||
@interface YTLabel : UILabel
|
||||
- (void)setFontAttributes:(id)attributes text:(NSString *)text;
|
||||
@end
|
||||
|
||||
@interface MLPlayerEventCenter : NSObject
|
||||
- (void)broadcastRateChange:(float)rate;
|
||||
@interface YTInlinePlayerScrubUserEducationView : UIView
|
||||
@property (nonatomic, assign, readwrite) NSUInteger labelType;
|
||||
- (YTLabel *)userEducationLabel;
|
||||
- (void)setVisible:(BOOL)visible;
|
||||
@end
|
||||
|
||||
@interface YTMainAppVideoPlayerOverlayViewController : UIViewController
|
||||
@property (nonatomic, weak, readwrite) YTPlayerViewController *parentViewController;
|
||||
- (CGFloat)currentPlaybackRate;
|
||||
@end
|
||||
|
||||
@interface YTInlinePlayerBarContainerView : UIView
|
||||
@property (nonatomic, strong, readwrite) YTLabel *durationLabel;
|
||||
@property (nonatomic, strong, readwrite) NSString *endTimeString;
|
||||
@end
|
||||
|
||||
@interface YTMainAppVideoPlayerOverlayView : UIView
|
||||
@property (nonatomic, assign, readonly) YTInlinePlayerScrubUserEducationView *scrubUserEducationView;
|
||||
@property (nonatomic, strong, readwrite) YTInlinePlayerBarContainerView *playerBar;
|
||||
@property (nonatomic, weak, readwrite) YTMainAppVideoPlayerOverlayViewController *delegate;
|
||||
- (void)speedmasterYtLite:(UILongPressGestureRecognizer *)sender;
|
||||
@end
|
||||
|
||||
@interface YTMainAppVideoPlayerOverlayViewController ()
|
||||
@property (nonatomic, assign, readonly) YTMainAppVideoPlayerOverlayView * videoPlayerOverlayView;
|
||||
@property (readonly, nonatomic) CGFloat mediaTime;
|
||||
@property (readonly, nonatomic) NSString *videoID;
|
||||
- (void)setPlaybackRate:(CGFloat)rate;
|
||||
- (CGFloat)currentPlaybackRate;
|
||||
@end
|
||||
|
||||
@interface YTSpeedmasterController : NSObject
|
||||
@end
|
||||
|
||||
@interface YTFormattedStringLabel : UILabel
|
||||
@@ -397,6 +342,7 @@ int kPivotIndex;
|
||||
- (void)addAction:(YTActionSheetAction *)action;
|
||||
- (void)presentFromView:(UIView *)view animated:(BOOL)animated completion:(void(^)(void))completion;
|
||||
- (void)presentFromViewController:(UIViewController *)vc animated:(BOOL)animated completion:(void(^)(void))completion;
|
||||
- (void)dismissViewControllerAnimated:(BOOL)animated completion:(void(^)(void))completion;
|
||||
|
||||
+ (instancetype)sheetControllerWithParentResponder:(id)parentResponder;
|
||||
+ (instancetype)sheetControllerWithParentResponder:(id)parentResponder forcedSheetStyle:(NSInteger)style;
|
||||
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
/* YouTube Native Share - An iOS Tweak to replace YouTube's share sheet and remove source identifiers.
|
||||
* Copyright (C) 2024 YouTube Native Share Contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
// Source code can be found here: https://github.com/jkhsjdhjs/youtube-native-share (Thanks to @jkhsjdhjs)
|
||||
|
||||
#include <UIKit/UIActivityViewController.h>
|
||||
|
||||
#import "../YouTubeHeader/YTUIUtils.h"
|
||||
|
||||
#import "../protobuf/objectivec/GPBDescriptor.h"
|
||||
#import "../protobuf/objectivec/GPBMessage.h"
|
||||
#import "../protobuf/objectivec/GPBUnknownField.h"
|
||||
#import "../protobuf/objectivec/GPBUnknownFieldSet.h"
|
||||
|
||||
#define ytlBool(key) [[[NSUserDefaults alloc] initWithSuiteName:@"com.dvntm.ytlite"] boolForKey:key]
|
||||
|
||||
@interface CustomGPBMessage : GPBMessage
|
||||
+ (instancetype)deserializeFromString:(NSString *)string;
|
||||
@end
|
||||
|
||||
@interface YTICommand : GPBMessage
|
||||
@end
|
||||
|
||||
@interface ELMPBCommand : GPBMessage
|
||||
@end
|
||||
|
||||
@interface ELMPBShowActionSheetCommand : GPBMessage
|
||||
@property (nonatomic, strong, readwrite) ELMPBCommand *onAppear;
|
||||
@property (nonatomic, assign, readwrite) BOOL hasOnAppear;
|
||||
@end
|
||||
|
||||
@interface YTIUpdateShareSheetCommand
|
||||
@property (nonatomic, assign, readwrite) BOOL hasSerializedShareEntity;
|
||||
@property (nonatomic, copy, readwrite) NSString *serializedShareEntity;
|
||||
+ (GPBExtensionDescriptor*)updateShareSheetCommand;
|
||||
@end
|
||||
|
||||
@interface YTIInnertubeCommandExtensionRoot
|
||||
+ (GPBExtensionDescriptor*)innertubeCommand;
|
||||
@end
|
||||
|
||||
typedef NS_ENUM(NSInteger, ShareEntityType) {
|
||||
ShareEntityFieldVideo = 1,
|
||||
ShareEntityFieldPlaylist = 2,
|
||||
ShareEntityFieldChannel = 3,
|
||||
ShareEntityFieldClip = 8
|
||||
};
|
||||
|
||||
static inline NSString* extractIdWithFormat(GPBUnknownFieldSet *fields, NSInteger fieldNumber, NSString *format) {
|
||||
if (![fields hasField:fieldNumber])
|
||||
return nil;
|
||||
GPBUnknownField *idField = [fields getField:fieldNumber];
|
||||
if ([idField.lengthDelimitedList count] != 1)
|
||||
return nil;
|
||||
NSString *id = [[NSString alloc] initWithData:[idField.lengthDelimitedList firstObject] encoding:NSUTF8StringEncoding];
|
||||
return [NSString stringWithFormat:format, id];
|
||||
}
|
||||
|
||||
%hook ELMPBShowActionSheetCommand
|
||||
- (void)executeWithCommandContext:(id)_context handler:(id)_handler {
|
||||
if (!ytlBool(@"nativeShare"))
|
||||
return %orig;
|
||||
|
||||
if (!self.hasOnAppear)
|
||||
return %orig;
|
||||
GPBExtensionDescriptor *innertubeCommandDescriptor = [%c(YTIInnertubeCommandExtensionRoot) innertubeCommand];
|
||||
if (![self.onAppear hasExtension:innertubeCommandDescriptor])
|
||||
return %orig;
|
||||
YTICommand *innertubeCommand = [self.onAppear getExtension:innertubeCommandDescriptor];
|
||||
GPBExtensionDescriptor *updateShareSheetCommandDescriptor = [%c(YTIUpdateShareSheetCommand) updateShareSheetCommand];
|
||||
if(![innertubeCommand hasExtension:updateShareSheetCommandDescriptor])
|
||||
return %orig;
|
||||
YTIUpdateShareSheetCommand *updateShareSheetCommand = [innertubeCommand getExtension:updateShareSheetCommandDescriptor];
|
||||
if (!updateShareSheetCommand.hasSerializedShareEntity)
|
||||
return %orig;
|
||||
|
||||
GPBMessage *shareEntity = [%c(GPBMessage) deserializeFromString:updateShareSheetCommand.serializedShareEntity];
|
||||
GPBUnknownFieldSet *fields = shareEntity.unknownFields;
|
||||
NSString *shareUrl;
|
||||
|
||||
if ([fields hasField:ShareEntityFieldClip]) {
|
||||
GPBUnknownField *shareEntityClip = [fields getField:ShareEntityFieldClip];
|
||||
if ([shareEntityClip.lengthDelimitedList count] != 1)
|
||||
return %orig;
|
||||
GPBMessage *clipMessage = [%c(GPBMessage) parseFromData:[shareEntityClip.lengthDelimitedList firstObject] error:nil];
|
||||
shareUrl = extractIdWithFormat(clipMessage.unknownFields, 1, @"https://youtube.com/clip/%@");
|
||||
}
|
||||
|
||||
if (!shareUrl)
|
||||
shareUrl = extractIdWithFormat(fields, ShareEntityFieldChannel, @"https://youtube.com/channel/%@");
|
||||
|
||||
if (!shareUrl) {
|
||||
shareUrl = extractIdWithFormat(fields, ShareEntityFieldPlaylist, @"%@");
|
||||
if (shareUrl) {
|
||||
if (![shareUrl hasPrefix:@"PL"] && ![shareUrl hasPrefix:@"FL"])
|
||||
shareUrl = [shareUrl stringByAppendingString:@"&playnext=1"];
|
||||
shareUrl = [@"https://youtube.com/playlist?list=" stringByAppendingString:shareUrl];
|
||||
}
|
||||
}
|
||||
|
||||
if (!shareUrl)
|
||||
shareUrl = extractIdWithFormat(fields, ShareEntityFieldVideo, @"https://youtube.com/watch?v=%@");
|
||||
|
||||
if (!shareUrl)
|
||||
return %orig;
|
||||
|
||||
UIActivityViewController *activityViewController = [[UIActivityViewController alloc]initWithActivityItems:@[shareUrl] applicationActivities:nil];
|
||||
[[%c(YTUIUtils) topViewControllerForPresenting] presentViewController:activityViewController animated:YES completion:^{}];
|
||||
}
|
||||
%end
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
@@ -19,6 +19,8 @@
|
||||
"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.";
|
||||
"PremiumYTLogo" = "Set Premium YouTube logo";
|
||||
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
|
||||
|
||||
"Overlay" = "Overlay";
|
||||
"HideAutoplay" = "Hide Autoplay switch";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "Disables actions panel in fullscreen mode.";
|
||||
"PersistentProgressBar" = "Persistent progress bar";
|
||||
"PersistentProgressBarDesc" = "Always shows progress bar in the player.";
|
||||
"StockVolumeHUD" = "Stock volume HUD";
|
||||
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
|
||||
"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.";
|
||||
"VideoEndTime" = "Show playback end time";
|
||||
"VideoEndTimeDesc" = "Adds video playback end time to the player bar.";
|
||||
"24hrFormat" = "24-hour format";
|
||||
"24hrFormatDesc" = "Shows end time in 24-hour format.";
|
||||
|
||||
"Player" = "Player";
|
||||
"Miniplayer" = "Enable mini player";
|
||||
@@ -53,7 +61,7 @@
|
||||
"PortraitFullscreenDesc" = "Enables portrait fullscreen mode support.";
|
||||
"CopyWithTimestamp" = "Copy timestamped links";
|
||||
"CopyWithTimestampDesc" = "Allows to copy timestamped link to the clipboard by pressing pause button.";
|
||||
"DisableAutoplay" = "Disable Autoplay videos";
|
||||
"DisableAutoplay" = "Disable autoplay videos";
|
||||
"DisableAutoplayDesc" = "Prevents video playback after opening.";
|
||||
"DisableAutoCaptions" = "Disable auto captions";
|
||||
"DisableAutoCaptionsDesc" = "Prevents automatic activation of captions.";
|
||||
@@ -65,6 +73,10 @@
|
||||
"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.";
|
||||
"NoTwoFingerSnapToChapter" = "Disable two finger double tap";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Disables two finger double tap snap to chapter gesture.";
|
||||
"PauseOnOverlay" = "Pause on overlay";
|
||||
"PauseOnOverlayDesc" = "Sets playback on pause if overlay appears.";
|
||||
"RedProgressBar" = "Red progress bar";
|
||||
"RedProgressBarDesc" = "Brings back red progress bar.";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
@@ -100,11 +112,13 @@
|
||||
"HideUploadButton" = "Hide Upload button";
|
||||
"HideUploadButtonDesc" = "Hides Upload button from the Tab bar.";
|
||||
"HideLibraryTab" = "Hide Library tab";
|
||||
"HideLibraryTabDesc" = "Hides Library tab from the Tab bar.";
|
||||
"HideLibraryTabDesc" = "Hides Library tab from the Tab bar.\n\nThis tab can be restored by long pressing Home tab.";
|
||||
|
||||
"Shorts" = "Shorts";
|
||||
"ShortsOnlyMode" = "Shorts Only Mode";
|
||||
"ShortsOnlyModeDesc" = "Limits YouTube functionality to viewing Shorts only.";
|
||||
"AutoSkipShorts" = "Auto-skip Shorts";
|
||||
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
|
||||
"HideShorts" = "Hide Shorts videos";
|
||||
"HideShortsDesc" = "Hides Shorts videos from Homepage, Recommended etc. (Not applied to Watch history)";
|
||||
"ShortsProgress" = "Enable progress bar";
|
||||
@@ -159,6 +173,8 @@
|
||||
"CommentManagerDesc" = "Allows to copy comment text and save comment as image by long tap.";
|
||||
"FixAlbums" = "Fix covers";
|
||||
"FixAlbumsDesc" = "Fixes the display of covers for users from Russia.";
|
||||
"NativeShare" = "Native share sheet";
|
||||
"NativeShareDesc" = "Uses system share sheet to share media";
|
||||
"RemovePlayNext" = "Remove \"Play next in queue\"";
|
||||
"RemovePlayNextDesc" = "Removes \"Play next in queue\" option from menu.";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
@@ -190,6 +206,13 @@
|
||||
"DisableRTL" = "Disable RTL formatting";
|
||||
"DisableRTLDesc" = "Forcefully displays text in left-to-right (LTR) format for languages that are initially displayed in right-to-left (RTL).";
|
||||
|
||||
"HoldToSpeed" = "Hold to speed";
|
||||
"Disable" = "Disable";
|
||||
"Disabled" = "Disabled";
|
||||
"PlaybackSpeed" = "Playback Speed";
|
||||
|
||||
"DefaultPlaybackRate" = "Default playback rate";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
@@ -207,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"Contributors" = "Contributors";
|
||||
"OpenSourceLibs" = "Open Source Libraries";
|
||||
"Version" = "Version";
|
||||
"About" = "About";
|
||||
"Credits" = "Credits";
|
||||
"Developer" = "YTLite developer";
|
||||
"SpecialThanks" = "Special thanks";
|
||||
"ChineseSimplified" = "Chinese (Simplified) localization";
|
||||
"ChineseTraditional" = "Chinese (Traditional) localization";
|
||||
"French" = "French localization";
|
||||
@@ -225,6 +251,8 @@
|
||||
"ResetMessage" = "This option will reset YTLite settings to default and close YouTube.\n\nAre you sure you want to continue?";
|
||||
"ShortsOnlyWarning" = "Are you sure you want to activate this mode?\n\nIn this mode, you will only be able to watch Shorts videos and won't be able to do anything else.\n\nYou can disable Shorts Only Mode by long pressing with two fingers in the Shorts player.";
|
||||
"ShortsModeTurnedOff" = "Shorts Only Mode has been turned off";
|
||||
"LibraryAdded" = "The You/Library tab has been restored";
|
||||
"LibraryRemoved" = "The You/Library tab has been removed";
|
||||
"Yes" = "Yes";
|
||||
"No" = "No";
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"BackgroundPlaybackDesc" = "Permite la reproducción en segundo plano.";
|
||||
|
||||
"Navbar" = "Barra de navegación";
|
||||
"RemoveCast" = "Ocultar botón de Cast";
|
||||
"RemoveCastDesc" = "Oculta el botón de Cast de la barra de navegación.";
|
||||
"RemoveCast" = "Ocultar botón Emitir";
|
||||
"RemoveCastDesc" = "Oculta el botón Emitir de la barra de navegación.";
|
||||
"RemoveNotifications" = "Ocultar botón de Notificaciones";
|
||||
"RemoveNotificationsDesc" = "Oculta el botón de Notificaciones de la barra de navegación.";
|
||||
"RemoveSearch" = "Ocultar botón de Búsqueda";
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "Oculta la subbarra (Todo, Novedades para ti, En directo, etc.) debajo de la barra de navegación.";
|
||||
"NoYTLogo" = "Eliminar el logo de YouTube";
|
||||
"NoYTLogoDesc" = "Elimina el logo de YouTube de la barra de navegación.";
|
||||
"PremiumYTLogo" = "Establece el logotipo Premium de YouTube";
|
||||
"PremiumYTLogoDesc" = "Establece el logotipo de YouTube Premium en la barra de navegación.";
|
||||
|
||||
"Overlay" = "Superposición";
|
||||
"HideAutoplay" = "Ocultar interruptor de reproducción automática";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "Desactiva el panel de acciones en el modo de pantalla completa.";
|
||||
"PersistentProgressBar" = "Barra de progreso persistente";
|
||||
"PersistentProgressBarDesc" = "Muestra siempre la barra de progreso en el reproductor.";
|
||||
"StockVolumeHUD" = "HUD de volumen del sistema";
|
||||
"StockVolumeHUDDesc" = "Muestra el HUD de volumen del sistema a pantalla completa.";
|
||||
"NoRelatedVids" = "Sin vídeos relacionados en la superposición";
|
||||
"NoRelatedVidsDesc" = "Elimina los vídeos relacionados que se muestran en la superposición al deslizar hacia arriba.";
|
||||
"NoPromotionCards" = "Ocultar tarjetas de promoción pagada";
|
||||
"NoPromotionCardsDesc" = "Oculta la tarjeta \"Incluye promociones pagadas\" en los vídeos que incluyen promociones pagadas.";
|
||||
"NoWatermarks" = "Ocultar marcas de agua";
|
||||
"NoWatermarksDesc" = "Oculta las marcas de agua del canal del reproductor.";
|
||||
"VideoEndTime" = "Muestra la hora de finalización de la reproducción";
|
||||
"VideoEndTimeDesc" = "Añade la hora final de reproducción del vídeo a la barra del reproductor.";
|
||||
"24hrFormat" = "Formato de 24 horas";
|
||||
"24hrFormatDesc" = "Muestra la hora de finalización en formato de 24 horas.";
|
||||
|
||||
"Player" = "Reproductor";
|
||||
"Miniplayer" = "Activar mini reproductor";
|
||||
@@ -65,14 +73,18 @@
|
||||
"ExtraSpeedOptionsDesc" = "Agrega más opciones de velocidad de reproducción de vídeo al menú del reproductor.";
|
||||
"DontSnap2Chapter" = "Desactivar saltar al siguiente capítulo";
|
||||
"DontSnap2ChapterDesc" = "Desactiva el salto al siguiente episodio mediante el gesto de doble toque.";
|
||||
"NoTwoFingerSnapToChapter" = "Desactivar el doble toque con dos dedos";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Desactiva el gesto de pasar a capítulo con dos dedos.";
|
||||
"PauseOnOverlay" = "Pausa en la superposición";
|
||||
"PauseOnOverlayDesc" = "Establece la reproducción en pausa si aparece la superposición.";
|
||||
"RedProgressBar" = "Barra de progreso roja";
|
||||
"RedProgressBarDesc" = "Devuelve la barra de progreso roja.";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
"NoPlayerRemixButtonDesc" = "Removes remix button under the player.";
|
||||
"NoPlayerClipButton" = "Remove clip button";
|
||||
"NoPlayerClipButtonDesc" = "Removes clip button under the player.";
|
||||
"NoPlayerDownloadButton" = "Remove download button";
|
||||
"NoPlayerDownloadButtonDesc" = "Removes download button under the player.";
|
||||
"NoPlayerRemixButton" = "Elimina el botón Remix";
|
||||
"NoPlayerRemixButtonDesc" = "Quita el botón Remix bajo el reproductor.";
|
||||
"NoPlayerClipButton" = "Elimina el botón de clip";
|
||||
"NoPlayerClipButtonDesc" = "Elimina botón de clip bajo el reproductor.";
|
||||
"NoPlayerDownloadButton" = "Elimina el botón de descarga";
|
||||
"NoPlayerDownloadButtonDesc" = "Elimina el botón de descarga situado bajo el reproductor.";
|
||||
"NoHints" = "Desactivar sugerencias";
|
||||
"NoHintsDesc" = "Desactiva las sugerencias del autor que aparecen en la esquina superior derecha durante la reproducción.";
|
||||
"NoFreeZoom" = "Desactivar gesto de zoom libre";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "Shorts";
|
||||
"ShortsOnlyMode" = "Modo sólo Shorts";
|
||||
"ShortsOnlyModeDesc" = "Limita la funcionalidad de YouTube únicamente a la visualización de Shorts.";
|
||||
"AutoSkipShorts" = "Salto automático de Shorts";
|
||||
"AutoSkipShortsDesc" = "Pasa al vídeo siguiente cuando finaliza la reproducción del vídeo actual.";
|
||||
"HideShorts" = "Ocultar vídeos Shorts";
|
||||
"HideShortsDesc" = "Oculta los vídeos Shorts de la página de inicio, Recomendados, etc. (No se aplica al historial de reproducciones)";
|
||||
"ShortsProgress" = "Activar barra de progreso";
|
||||
@@ -149,32 +163,34 @@
|
||||
"HideShortsAudioTrackDesc" = "Oculta la pista de audio debajo de la descripción de Shorts.";
|
||||
|
||||
"Other" = "Otro";
|
||||
"CopyVideoInfo" = "Copy video information";
|
||||
"CopyVideoInfoDesc" = "Adds button to copy video title and description into Video Description panel.";
|
||||
"PostManager" = "Save post information";
|
||||
"PostManagerDesc" = "Allows to copy post text and save post as image by long tap.";
|
||||
"CopyVideoInfo" = "Copiar información de vídeo";
|
||||
"CopyVideoInfoDesc" = "Añade un botón para copiar el título y la descripción del vídeo en el panel Descripción del vídeo.";
|
||||
"PostManager" = "Guardar información de post";
|
||||
"PostManagerDesc" = "Permite copiar el texto de un post y guardarlo como imagen con un toque prolongado.";
|
||||
"SaveProfilePhoto" = "Guardar foto de perfil";
|
||||
"SaveProfilePhotoDesc" = "Guarda la imagen de perfil en la aplicación Fotos con un toque prolongado";
|
||||
"CommentManager" = "Save comment information";
|
||||
"CommentManagerDesc" = "Allows to copy comment text and save comment as image by long tap.";
|
||||
"CommentManager" = "Guardar información de comentarios";
|
||||
"CommentManagerDesc" = "Permite copiar el texto del comentario y guardarlo como imagen pulsando prolongadamente.";
|
||||
"FixAlbums" = "Arreglar portadas";
|
||||
"FixAlbumsDesc" = "Corrige la visualización de portadas para usuarios de Rusia";
|
||||
"NativeShare" = "Hoja de acciones nativas";
|
||||
"NativeShareDesc" = "Utiliza la hoja de uso compartido del sistema para compartir medios";
|
||||
"RemovePlayNext" = "Eliminar \"Reproducir siguiente en cola\"";
|
||||
"RemovePlayNextDesc" = "Elimina la opción \"Reproducir siguiente en cola\" del menú.";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
"RemoveDownloadMenuDesc" = "Removes \"Download\" option from menu.";
|
||||
"RemoveWatchLaterMenu" = "Remove \"Save to Watch Later\"";
|
||||
"RemoveWatchLaterMenuDesc" = "Removes \"Save to Watch Later\" option from menu.";
|
||||
"RemoveSaveToPlaylistMenu" = "Remove \"Save to playlist\"";
|
||||
"RemoveSaveToPlaylistMenuDesc" = "Removes \"Save to playlist\" option from menu.";
|
||||
"RemoveShareMenu" = "Remove \"Share\"";
|
||||
"RemoveShareMenuDesc" = "Removes \"Share\" option from menu.";
|
||||
"RemoveNotInterestedMenu" = "Remove \"Not interested\"";
|
||||
"RemoveNotInterestedMenuDesc" = "Removes \"Not interested\" option from menu.";
|
||||
"RemoveDontRecommendMenu" = "Remove \"Don't recommend channel\"";
|
||||
"RemoveDontRecommendMenuDesc" = "Removes \"Don't recommend channel\" option from menu.";
|
||||
"RemoveReportMenu" = "Remove \"Report\"";
|
||||
"RemoveReportMenuDesc" = "Removes \"Report\" option from menu.";
|
||||
"RemoveDownloadMenu" = "Eliminar \"Descargar\"";
|
||||
"RemoveDownloadMenuDesc" = "Elimina la opción \"Descargar\" del menú.";
|
||||
"RemoveWatchLaterMenu" = "Eliminar \"Guardar para ver más tarde\"";
|
||||
"RemoveWatchLaterMenuDesc" = "Elimina la opción \"Guardar para ver más tarde\" del menú.";
|
||||
"RemoveSaveToPlaylistMenu" = "Eliminar \"Guardar en lista de reproducción\"";
|
||||
"RemoveSaveToPlaylistMenuDesc" = "Elimina la opción \"Guardar en lista de reproducción\" del menú.";
|
||||
"RemoveShareMenu" = "Eliminar \"Compartir\"";
|
||||
"RemoveShareMenuDesc" = "Elimina la opción \"Compartir\" del menú.";
|
||||
"RemoveNotInterestedMenu" = "Eliminar \"No me interesa\"";
|
||||
"RemoveNotInterestedMenuDesc" = "Elimina la opción \"No me interesa\" del menú.";
|
||||
"RemoveDontRecommendMenu" = "Eliminar \"No recomendar canal\"";
|
||||
"RemoveDontRecommendMenuDesc" = "Elimina la opción \"No recomendar canal\" del menú.";
|
||||
"RemoveReportMenu" = "Eliminar \"Reportar\"";
|
||||
"RemoveReportMenuDesc" = "Elimina la opción \"Reportar\" del menú.";
|
||||
"NoContinueWatching" = "Eliminar \"Continuar viendo\"";
|
||||
"NoContinueWatchingDesc" = "Elimina la sección \"Continuar viendo\" que contiene videos sin terminar de la página de inicio.";
|
||||
"NoSearchHistory" = "Ocultar el historial de búsqueda";
|
||||
@@ -190,11 +206,18 @@
|
||||
"DisableRTL" = "Desactivar el formato RTL";
|
||||
"DisableRTLDesc" = "Muestra forzosamente el texto en formato de izquierda a derecha (LTR) para los idiomas que se muestran inicialmente en formato de derecha a izquierda (RTL).";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
"Default" = "Default";
|
||||
"Best" = "Best";
|
||||
"HoldToSpeed" = "Mantener para velocidad";
|
||||
"Disable" = "Desactivar";
|
||||
"Disabled" = "Desactivado";
|
||||
"PlaybackSpeed" = "Velocidad de reproducción";
|
||||
|
||||
"DefaultPlaybackRate" = "Velocidad de reproducción predeterminada";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Calidad de reproducción en WiFi";
|
||||
"PlaybackQualityOnCellular" = "Calidad de reproducción en red móvil";
|
||||
"SelectQuality" = "Seleccionar Calidad";
|
||||
"Default" = "Predeterminado";
|
||||
"Best" = "Mejor";
|
||||
|
||||
"Startup" = "Página de inicio";
|
||||
"Home" = "Inicio";
|
||||
@@ -205,42 +228,49 @@
|
||||
"Warning" = "Advertencia";
|
||||
"TabIsHidden" = "No se puede seleccionar una pestaña oculta como página de inicio";
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"SupportDevelopment" = "Apoyar el desarrollo";
|
||||
"SupportDevelopmentDesc" = "Si te gusta YTLite y quieres apoyar su desarrollo, puedes hacerlo utilizando cualquiera de las formas convenientes que se indican a continuación.\n¡Gracias❤!";
|
||||
"Contributors" = "Colaboradores";
|
||||
"OpenSourceLibs" = "Bibliotecas de código abierto";
|
||||
"Version" = "Versión";
|
||||
"About" = "Acerca de";
|
||||
"Credits" = "Créditos";
|
||||
"Developer" = "Desarrollador de YTLite";
|
||||
"SpecialThanks" = "Agradecimientos especiales";
|
||||
"ChineseSimplified" = "Traducción: Chino (Simplificado)";
|
||||
"ChineseTraditional" = "Traducción: Chino (Tradicional)";
|
||||
"French" = "Traducción: Frances";
|
||||
"Spanish" = "Traducción: Español";
|
||||
"Japanese" = "Traducción: Japonés";
|
||||
"Vietnamese" = "Vietnamese localization";
|
||||
"Vietnamese" = "Traducción: vietnamita";
|
||||
"Advanced" = "Modo avanzado";
|
||||
"AdvancedDesc" = "More customizable mode";
|
||||
"AdvancedDesc" = "Modo más personalizable";
|
||||
"AdvancedModeReminder" = "¿Desea activar el modo Avanzado para YTLite?\n\nEste modo ofrece más de 50 opciones adicionales para personalizar y optimizar tu experiencia en YouTube. Puedes activarlo/desactivarlo más tarde desde Ajustes → %@ → %@ → %@.";
|
||||
"ClearCache" = "Clear cache";
|
||||
"ClearCache" = "Borrar caché";
|
||||
"ResetSettings" = "Restablecer configuración de YTLite";
|
||||
"ResetMessage" = "Esta opción restablecerá la configuración de YTLite a los valores predeterminados y cerrará YouTube.\n\n¿Estás seguro de que deseas continuar?";
|
||||
"ShortsOnlyWarning" = "¿Estás seguro de que quieres activar este modo?\n\nEn este modo, sólo podrás ver Shorts y no podrás hacer nada más.\n\nPuedes desactivar el modo sólo Shorts realizando una pulsación larga con dos dedos en el reproductor de Shorts.";
|
||||
"ShortsModeTurnedOff" = "Se ha desactivado el modo de sólo Shorts";
|
||||
"LibraryAdded" = "Se ha restablecido la pestaña Tú/Biblioteca";
|
||||
"LibraryRemoved" = "Se ha eliminado la pestaña Tú/Biblioteca";
|
||||
"Yes" = "Sí";
|
||||
"No" = "No";
|
||||
|
||||
"SelectAction" = "Select action";
|
||||
"CopyTitle" = "Copy title";
|
||||
"CopyDescription" = "Copy description";
|
||||
"CopyPostText" = "Copy post text";
|
||||
"SavePostAsImage" = "Save post as image";
|
||||
"CopyPostAsImage" = "Copy post as image";
|
||||
"CopyCommentText" = "Copy comment text";
|
||||
"SaveCommentAsImage" = "Save comment as image";
|
||||
"CopyCommentAsImage" = "Copy comment as image";
|
||||
"SaveProfilePicture" = "Save profile picture";
|
||||
"CopyProfilePicture" = "Copy profile picture";
|
||||
"Cancel" = "Cancel";
|
||||
"SelectAction" = "Seleccionar acción";
|
||||
"CopyTitle" = "Copiar título";
|
||||
"CopyDescription" = "Copiar descripción";
|
||||
"CopyPostText" = "Copiar texto de la publicación";
|
||||
"SaveCurrentImage" = "Guardar imagen actual";
|
||||
"CopyCurrentImage" = "Copiar imagen actual";
|
||||
"SavePostAsImage" = "Guardar publicación como imagen";
|
||||
"CopyPostAsImage" = "Copiar publicación como imagen";
|
||||
"CopyCommentText" = "Copiar texto del comentario";
|
||||
"SaveCommentAsImage" = "Guardar comentario como imagen";
|
||||
"CopyCommentAsImage" = "Copiar comentario como imagen";
|
||||
"SaveProfilePicture" = "Guardar imagen de perfil";
|
||||
"CopyProfilePicture" = "Copiar imagen de perfil";
|
||||
"Cancel" = "Cancelar";
|
||||
"Copied" = "Copiado al portapapeles";
|
||||
"Done" = "Done";
|
||||
"Done" = "Hecho";
|
||||
"Saved" = "Guardado en Fotos";
|
||||
"Error" = "Error";
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "Masque la sous-barre (Tous, Nouveautés, En direct, etc.) sous la barre de navigation.";
|
||||
"NoYTLogo" = "Supprimer le logo YouTube";
|
||||
"NoYTLogoDesc" = "Supprime le logo YouTube dans la barre de navigation.";
|
||||
"PremiumYTLogo" = "Set Premium YouTube logo";
|
||||
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
|
||||
|
||||
"Overlay" = "Overlay";
|
||||
"HideAutoplay" = "Masquer le toggle de lecture automatique";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "Désactive le panneau d'actions en mode plein écran.";
|
||||
"PersistentProgressBar" = "Barre de progression persistante";
|
||||
"PersistentProgressBarDesc" = " Affiche toujours la barre de progression dans le lecteur ";
|
||||
"StockVolumeHUD" = "Stock volume HUD";
|
||||
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
|
||||
"NoRelatedVids" = "Pas de vidéos associées dans l'overlay";
|
||||
"NoRelatedVidsDesc" = "Supprime les vidéos associées affichées dans l'overlay en faisant glisser vers le haut.";
|
||||
"NoPromotionCards" = "Masquer les cartes de promotion payante";
|
||||
"NoPromotionCardsDesc" = "Masque la carte \"Comprend des promotions payantes\" dans les vidéos avec promotions incluses.";
|
||||
"NoWatermarks" = "Masquer les filigranes";
|
||||
"NoWatermarksDesc" = "Masque les filigranes de chaîne dans le lecteur.";
|
||||
"VideoEndTime" = "Show playback end time";
|
||||
"VideoEndTimeDesc" = "Adds video playback end time to the player bar.";
|
||||
"24hrFormat" = "24-hour format";
|
||||
"24hrFormatDesc" = "Shows end time in 24-hour format.";
|
||||
|
||||
"Player" = "Lecteur";
|
||||
"Miniplayer" = "Activer le mini-lecteur";
|
||||
@@ -65,6 +73,10 @@
|
||||
"ExtraSpeedOptionsDesc" = "Ajoute des options de vitesse de lecture supplémentaires au menu de vitesse.";
|
||||
"DontSnap2Chapter" = "Désactiver la coupure au chapitre";
|
||||
"DontSnap2ChapterDesc" = "Désactive le passage à l'épisode suivant en double tapant.";
|
||||
"NoTwoFingerSnapToChapter" = "Disable two finger double tap";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Disables two finger double tap snap to chapter gesture.";
|
||||
"PauseOnOverlay" = "Pause on overlay";
|
||||
"PauseOnOverlayDesc" = "Sets playback on pause if overlay appears.";
|
||||
"RedProgressBar" = "Barre de progression rouge";
|
||||
"RedProgressBarDesc" = "Ramène la barre de progression rouge.";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "Shorts";
|
||||
"ShortsOnlyMode" = "Mode Shorts uniquement";
|
||||
"ShortsOnlyModeDesc" = "Limite les fonctionnalités de YouTube à la visualisation des Shorts uniquement.";
|
||||
"AutoSkipShorts" = "Auto-skip Shorts";
|
||||
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
|
||||
"HideShorts" = "Masquer les vidéos Shorts";
|
||||
"HideShortsDesc" = "Masque les vidéos Shorts de la page d'accueil, des recommandations, etc. (Non appliqué à l'historique de visionnage)";
|
||||
"ShortsProgress" = "Activer la barre de progression";
|
||||
@@ -159,6 +173,8 @@
|
||||
"CommentManagerDesc" = "Allows to copy comment text and save comment as image by long tap.";
|
||||
"FixAlbums" = "Réparer les couvertures";
|
||||
"FixAlbumsDesc" = "Répare l'affichage des couvertures pour les utilisateurs de Russie.";
|
||||
"NativeShare" = "Native share sheet";
|
||||
"NativeShareDesc" = "Uses system share sheet to share media";
|
||||
"RemovePlayNext" = "Supprimer \"Placer en première position dans la file d'attente\"";
|
||||
"RemovePlayNextDesc" = "Supprime l'option \"Placer en première position dans la file d'attente\" du menu.";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
@@ -190,6 +206,13 @@
|
||||
"DisableRTL" = "Désactiver le formatage de droite à gauche";
|
||||
"DisableRTLDesc" = "Affiche le texte de force en format de gauche à droite (LTR) pour les langues qui sont initialement affichées de droite à gauche (RTL).";
|
||||
|
||||
"HoldToSpeed" = "Hold to speed";
|
||||
"Disable" = "Disable";
|
||||
"Disabled" = "Disabled";
|
||||
"PlaybackSpeed" = "Playback Speed";
|
||||
|
||||
"DefaultPlaybackRate" = "Default playback rate";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
@@ -207,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"Contributors" = "Contributors";
|
||||
"OpenSourceLibs" = "Open Source Libraries";
|
||||
"Version" = "Version";
|
||||
"About" = "À propos";
|
||||
"Credits" = "Crédits";
|
||||
"Developer" = "Développeur YTLite";
|
||||
"SpecialThanks" = "Special thanks";
|
||||
"ChineseSimplified" = "Localisation chinoise (simplifiée)";
|
||||
"ChineseTraditional" = "Localisation chinoise (traditionnelle)";
|
||||
"French" = "Localisation française";
|
||||
@@ -225,6 +251,8 @@
|
||||
"ResetMessage" = "Cette option réinitialisera les paramètres YTLite par défaut et fermera YouTube.\n\nÊtes-vous sûr de vouloir continuer ?";
|
||||
"ShortsOnlyWarning" = "Êtes-vous sûr de vouloir activer ce mode?\n\nDans ce mode, vous ne pourrez regarder que des vidéos Shorts et vous ne pourrez rien d'autre faire.\n\nVous pouvez désactiver le mode Shorts Only en appuyant longuement avec deux doigts dans le lecteur Shorts.";
|
||||
"ShortsModeTurnedOff" = "Le mode Shorts uniquement a été désactivé";
|
||||
"LibraryAdded" = "The You/Library tab has been restored";
|
||||
"LibraryRemoved" = "The You/Library tab has been removed";
|
||||
"Yes" = "Oui";
|
||||
"No" = "Non";
|
||||
|
||||
@@ -232,6 +260,8 @@
|
||||
"CopyTitle" = "Copier le titre";
|
||||
"CopyDescription" = "Copier la description";
|
||||
"CopyPostText" = "Copy post text";
|
||||
"SaveCurrentImage" = "Save current image";
|
||||
"CopyCurrentImage" = "Copy current image";
|
||||
"SavePostAsImage" = "Save post as image";
|
||||
"CopyPostAsImage" = "Copy post as image";
|
||||
"CopyCommentText" = "Copy comment text";
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "ナビゲーションバーの下にあるサブバー(すべて,音楽,ライブ など)を非表示にします";
|
||||
"NoYTLogo" = "YouTubeロゴを削除";
|
||||
"NoYTLogoDesc" = "ナビゲーションバーのYouTubeロゴを非表示にします";
|
||||
"PremiumYTLogo" = "Set Premium YouTube logo";
|
||||
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
|
||||
|
||||
"Overlay" = "オーバーレイ";
|
||||
"HideAutoplay" = "自動再生スイッチを非表示";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "フルスクリーンモードでのアクションパネルを無効にします";
|
||||
"PersistentProgressBar" = "Persistent progress bar";
|
||||
"PersistentProgressBarDesc" = "Always shows progress bar in the player.";
|
||||
"StockVolumeHUD" = "Stock volume HUD";
|
||||
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
|
||||
"NoRelatedVids" = "オーバーレイの関連動画を非表示";
|
||||
"NoRelatedVidsDesc" = "スワイプアップでオーバーレイに表示される関連動画を非表示にします";
|
||||
"NoPromotionCards" = "有料プロモーションカードを非表示";
|
||||
"NoPromotionCardsDesc" = "プロモーションが含まれている動画の\"有料プロモーションを含む\"カードを非表示にします";
|
||||
"NoWatermarks" = "ウォーターマークを非表示";
|
||||
"NoWatermarksDesc" = "プレーヤーからチャンネルのウォーターマークを非表示にします";
|
||||
"VideoEndTime" = "Show playback end time";
|
||||
"VideoEndTimeDesc" = "Adds video playback end time to the player bar.";
|
||||
"24hrFormat" = "24-hour format";
|
||||
"24hrFormatDesc" = "Shows end time in 24-hour format.";
|
||||
|
||||
"Player" = "プレーヤー";
|
||||
"Miniplayer" = "ミニプレーヤーを有効化";
|
||||
@@ -65,6 +73,10 @@
|
||||
"ExtraSpeedOptionsDesc" = "プレーヤーメニューに追加の再生速度オプションを追加します";
|
||||
"DontSnap2Chapter" = "チャプターへのスナップを無効化";
|
||||
"DontSnap2ChapterDesc" = "ダブルタップジェスチャーで次のエピソードへスキップするのを無効にします";
|
||||
"NoTwoFingerSnapToChapter" = "Disable two finger double tap";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Disables two finger double tap snap to chapter gesture.";
|
||||
"PauseOnOverlay" = "Pause on overlay";
|
||||
"PauseOnOverlayDesc" = "Sets playback on pause if overlay appears.";
|
||||
"RedProgressBar" = "赤いプログレスバー";
|
||||
"RedProgressBarDesc" = "赤いプログレスバーを復元します";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "ショート";
|
||||
"ShortsOnlyMode" = "Shorts Only Mode";
|
||||
"ShortsOnlyModeDesc" = "Limits YouTube functionality to viewing Shorts only.";
|
||||
"AutoSkipShorts" = "Auto-skip Shorts";
|
||||
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
|
||||
"HideShorts" = "ショート動画を非表示";
|
||||
"HideShortsDesc" = "ホーム, おすすめなどからショート動画を非表示にします(視聴履歴には適用されません)";
|
||||
"ShortsProgress" = "プログレスバーを有効化";
|
||||
@@ -159,6 +173,8 @@
|
||||
"CommentManagerDesc" = "Allows to copy comment text and save comment as image by long tap.";
|
||||
"FixAlbums" = "Fix covers";
|
||||
"FixAlbumsDesc" = "Fixes the display of covers for users from Russia.";
|
||||
"NativeShare" = "Native share sheet";
|
||||
"NativeShareDesc" = "Uses system share sheet to share media";
|
||||
"RemovePlayNext" = "\"次に再生\"を削除";
|
||||
"RemovePlayNextDesc" = "メニューから\"次に再生\"オプションを削除します";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
@@ -190,6 +206,13 @@
|
||||
"DisableRTL" = "RTLフォーマットを無効化";
|
||||
"DisableRTLDesc" = "RTLで表示される言語を左から右(LTR)の形式で表示するように強制します";
|
||||
|
||||
"HoldToSpeed" = "Hold to speed";
|
||||
"Disable" = "Disable";
|
||||
"Disabled" = "Disabled";
|
||||
"PlaybackSpeed" = "Playback Speed";
|
||||
|
||||
"DefaultPlaybackRate" = "Default playback rate";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
@@ -207,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"Contributors" = "Contributors";
|
||||
"OpenSourceLibs" = "Open Source Libraries";
|
||||
"Version" = "バージョン";
|
||||
"About" = "About";
|
||||
"Credits" = "クレジット";
|
||||
"Developer" = "YTLiteの開発者";
|
||||
"SpecialThanks" = "Special thanks";
|
||||
"ChineseSimplified" = "中国語(簡体字)翻訳";
|
||||
"ChineseTraditional" = "中国語(繁体字)翻訳";
|
||||
"French" = "フランス語翻訳";
|
||||
@@ -225,6 +251,8 @@
|
||||
"ResetMessage" = "このオプションを選択するとYTLiteの設定がデフォルトにリセットされ、アプリが終了します。\n\n続行してもよろしいですか?";
|
||||
"ShortsOnlyWarning" = "Are you sure you want to activate this mode?\n\nIn this mode, you will only be able to watch Shorts videos and won't be able to do anything else.\n\nYou can disable Shorts Only Mode by long pressing with two fingers in the Shorts player.";
|
||||
"ShortsModeTurnedOff" = "Shorts Only Mode has been turned off";
|
||||
"LibraryAdded" = "The You/Library tab has been restored";
|
||||
"LibraryRemoved" = "The You/Library tab has been removed";
|
||||
"Yes" = "はい";
|
||||
"No" = "いいえ";
|
||||
|
||||
@@ -232,6 +260,8 @@
|
||||
"CopyTitle" = "Copy title";
|
||||
"CopyDescription" = "Copy description";
|
||||
"CopyPostText" = "Copy post text";
|
||||
"SaveCurrentImage" = "Save current image";
|
||||
"CopyCurrentImage" = "Copy current image";
|
||||
"SavePostAsImage" = "Save post as image";
|
||||
"CopyPostAsImage" = "Copy post as image";
|
||||
"CopyCommentText" = "Copy comment text";
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "Скрывает панель с наклейками (Все, Новое для вас, Сейчас в эфире и т.д.) под панелью навигации.";
|
||||
"NoYTLogo" = "Скрыть логотип YouTube";
|
||||
"NoYTLogoDesc" = "Убирает логотип YouTube с панели навигации.";
|
||||
"PremiumYTLogo" = "Отображать Premium логотип";
|
||||
"PremiumYTLogoDesc" = "Отображает логотип Premium в панели навигации.";
|
||||
|
||||
"Overlay" = "Настройки оверлея";
|
||||
"HideAutoplay" = "Скрыть «Автовоспроизведение»";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "Отключает панель действий, отображающуюся под прогресс-баром плеера.";
|
||||
"PersistentProgressBar" = "Всегда отображать прогресс-бар";
|
||||
"PersistentProgressBarDesc" = "Всегда отображает прогресс-бар внутри плеера.";
|
||||
"StockVolumeHUD" = "Системный уровень громкости";
|
||||
"StockVolumeHUDDesc" = "Отображает системную шкалу громкости в полноэкранном режиме.";
|
||||
"NoRelatedVids" = "Скрыть рекомендации в оверлее";
|
||||
"NoRelatedVidsDesc" = "Скрывает рекомендации, отображаемые по свайпу вверх в плеере.";
|
||||
"NoPromotionCards" = "Скрыть сообщение «Есть реклама»";
|
||||
"NoPromotionCardsDesc" = "Скрывает всплывающее сообщение «Есть реклама» в роликах со спонсорской рекламой.";
|
||||
"NoWatermarks" = "Скрыть водяные знаки";
|
||||
"NoWatermarksDesc" = "Скрывает значки каналов в плеере.";
|
||||
"VideoEndTime" = "Показывать время окончания";
|
||||
"VideoEndTimeDesc" = "Отображает, в каком часу закончится ролик.";
|
||||
"24hrFormat" = "24-часовой формат";
|
||||
"24hrFormatDesc" = "Отображает время окончания в 24-часовом формате.";
|
||||
|
||||
"Player" = "Настройки плеера";
|
||||
"Miniplayer" = "Разрешить миниплеер";
|
||||
@@ -65,6 +73,10 @@
|
||||
"ExtraSpeedOptionsDesc" = "Добавляет больше опций скорости воспроизведения в выпадающее меню плеера.";
|
||||
"DontSnap2Chapter" = "Не перематывать эпизоды";
|
||||
"DontSnap2ChapterDesc" = "Отключает жест перемотки к следующему эпизоду двойным нажатием.";
|
||||
"NoTwoFingerSnapToChapter" = "Отключить касание двумя пальцами";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Отключает жест перемотки эпизодов двойным нажатием двумя пальцами.";
|
||||
"PauseOnOverlay" = "Ставить на паузу с оверлеем";
|
||||
"PauseOnOverlayDesc" = "Приостанавливает воспроизведение при появлении кнопок управления плеером.";
|
||||
"RedProgressBar" = "Красный прогресс-бар";
|
||||
"RedProgressBarDesc" = "Возвращает красный прогресс-бар вместо нового, серого цвета.";
|
||||
"NoPlayerRemixButton" = "Убрать кнопку «Ремикс»";
|
||||
@@ -100,11 +112,13 @@
|
||||
"HideUploadButton" = "Скрыть «Создать» (+)";
|
||||
"HideUploadButtonDesc" = "Скрывает кнопку «Создать» с панели вкладок.";
|
||||
"HideLibraryTab" = "Скрыть «Библиотеку»";
|
||||
"HideLibraryTabDesc" = "Скрывает вкладку «Библиотека» с панели вкладок.";
|
||||
"HideLibraryTabDesc" = "Скрывает вкладку «Библиотека» с панели вкладок.\n\nДанную вкладку можно восстановить долгим нажатием по вкладке «Главная»";
|
||||
|
||||
"Shorts" = "Настройки Shorts";
|
||||
"ShortsOnlyMode" = "Режим Shorts";
|
||||
"ShortsOnlyModeDesc" = "Ограничивает функциональность YouTube до отображения видеороликов Shorts";
|
||||
"AutoSkipShorts" = "Автопереход к следующему";
|
||||
"AutoSkipShortsDesc" = "Переключается на следующий Shorts по окончанию воспроизведения.";
|
||||
"HideShorts" = "Скрыть видеоролики Shorts";
|
||||
"HideShortsDesc" = "Скрывает видеоролики, помеченные как Shorts с Главного экрана, Рекомендаций и т.д. (Не применяется к истории просмотров)";
|
||||
"ShortsProgress" = "Показывать прогресс-бар";
|
||||
@@ -155,10 +169,10 @@
|
||||
"PostManagerDesc" = "Позволяет скопировать текст из поста или сохранить пост как фото долгим нажатием по нему.";
|
||||
"SaveProfilePhoto" = "Сохранять фото профиля";
|
||||
"SaveProfilePhotoDesc" = "Сохраняет фото профиля в «Фото» долгим нажатием по нему.";
|
||||
"CopyCommentText" = "Копировать текст комментариев";
|
||||
"CopyCommentTextDesc" = "Копирует текст комментариев в буфер обмена долгим нажатием.";
|
||||
"CommentManager" = "Сохранять информацию с комментариев";
|
||||
"CommentManagerDesc" = "Позволяет скопировать текст из комментария или сохранить комментарий как фото долгим нажатием по нему.";
|
||||
"NativeShare" = "Системное меню «Поделиться»";
|
||||
"NativeShareDesc" = "Выводит системное меню «Поделиться» при отправке контента.";
|
||||
"FixAlbums" = "Исправить отображение обложек";
|
||||
"FixAlbumsDesc" = "Исправляет отображение обложек в том случае, если вы из России.";
|
||||
"RemovePlayNext" = "Убрать «Добавить в начало очереди»";
|
||||
@@ -192,6 +206,13 @@
|
||||
"DisableRTL" = "Запретить формат «справа налево»";
|
||||
"DisableRTLDesc" = "Принудительно отображает текст в формате слева направо для языков, изначально отображающихся в формате справа налево.";
|
||||
|
||||
"HoldToSpeed" = "Ускорение долгим нажатием";
|
||||
"Disable" = "Отключено";
|
||||
"Disabled" = "Отключить";
|
||||
"PlaybackSpeed" = "Скорость воспроизведения";
|
||||
|
||||
"DefaultPlaybackRate" = "Скорость воспроизведения по умолчанию";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Качество по WiFi";
|
||||
"PlaybackQualityOnCellular" = "Качество по мобильной сети";
|
||||
"SelectQuality" = "Выберите качество";
|
||||
@@ -209,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Помочь с развитием проекта";
|
||||
"SupportDevelopmentDesc" = "Если вам понравился YTLite и вы хотели бы поддержать проект, то можете сделать это любым подходящим ниже способом.\nСпасибо❤";
|
||||
"Contributors" = "О нас";
|
||||
"OpenSourceLibs" = "Библиотеки с исходным кодом";
|
||||
"Version" = "Версия";
|
||||
"About" = "О твике";
|
||||
"Credits" = "Авторы";
|
||||
"Developer" = "Разработчик твика";
|
||||
"SpecialThanks" = "Особая благодарность";
|
||||
"ChineseSimplified" = "Китайская (упрощенная) локализация";
|
||||
"ChineseTraditional" = "Китайская (традиционная) локализация";
|
||||
"French" = "Французская локализация";
|
||||
@@ -227,6 +251,8 @@
|
||||
"ResetMessage" = "Данное действие сбросит настройки YTLite к значениям по умолчанию и закроет YouTube.\n\nУверены, что хотите продолжить?";
|
||||
"ShortsOnlyWarning" = "Вы уверены, что хотите активировать данный режим?\n\nВ данном режиме вы не сможете ничего делать, кроме как смотреть видеоролики Shorts.\n\nРежим Shorts можно будет отключить зажав в плеере двумя пальцами.";
|
||||
"ShortsModeTurnedOff" = "Режим Shorts был отключен";
|
||||
"LibraryAdded" = "Вкладка «Вы»/«Библиотека» восстановлена";
|
||||
"LibraryRemoved" = "Вкладка «Вы»/«Библиотека» удалена";
|
||||
"Yes" = "Да";
|
||||
"No" = "Нет";
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
@@ -1,8 +1,8 @@
|
||||
"General" = "Chung";
|
||||
"RemoveAds" = "Loại bỏ các quảng cáo";
|
||||
"RemoveAdsDesc" = "Loại bỏ quảng cáo trong ứng dụng.";
|
||||
"BackgroundPlayback" = "Phát lại ở chế độ nền";
|
||||
"BackgroundPlaybackDesc" = "Cho phép phát lại ở chế độ nền.";
|
||||
"BackgroundPlayback" = "Phát ở chế độ nền";
|
||||
"BackgroundPlaybackDesc" = "Cho phép phát ở chế độ nền.";
|
||||
|
||||
"Navbar" = "Thanh điều hướng";
|
||||
"RemoveCast" = "Ẩn nút Cast";
|
||||
@@ -18,7 +18,9 @@
|
||||
"NoSubbar" = "Ẩn thanh phụ";
|
||||
"NoSubbarDesc" = "Ẩn Thanh phụ (Tất cả, Mới đối với bạn, Trực tiếp, v.v.) dưới thanh Điều hướng.";
|
||||
"NoYTLogo" = "Xóa biểu tượng YouTube";
|
||||
"NoYTLogoDesc" = "Xóa logo YouTube trong thanh Điều hướng.";
|
||||
"NoYTLogoDesc" = "Xóa biểu tượng YouTube trong thanh Điều hướng.";
|
||||
"PremiumYTLogo" = "Đặt biểu tượng YouTube Premium";
|
||||
"PremiumYTLogoDesc" = "Đặt biểu tượng YouTube Premium trong thanh Điều hướng.";
|
||||
|
||||
"Overlay" = "Lớp phủ";
|
||||
"HideAutoplay" = "Ẩn nút Tự động phát";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "Vô hiệu hóa bảng hành động ở chế độ toàn màn hình.";
|
||||
"PersistentProgressBar" = "Thanh tiến trình liên tục";
|
||||
"PersistentProgressBarDesc" = "Luôn hiển thị thanh tiến trình trong trình phát.";
|
||||
"StockVolumeHUD" = "Sử dụng thanh âm lượng mặc định của iOS";
|
||||
"StockVolumeHUDDesc" = "Sử dụng thanh âm lượng mặc định ở chế độ toàn màn hình.";
|
||||
"NoRelatedVids" = "Không có video liên quan trong lớp phủ";
|
||||
"NoRelatedVidsDesc" = "Xóa các video liên quan được hiển thị trong lớp phủ bằng cách vuốt lên.";
|
||||
"NoPromotionCards" = "Ẩn thẻ Quảng cáo trả phí";
|
||||
"NoPromotionCardsDesc" = "Ẩn thẻ \"Bao gồm quảng cáo trả phí\" trong các video có quảng cáo.";
|
||||
"NoWatermarks" = "Ẩn watermark của kênh";
|
||||
"NoWatermarksDesc" = "Ẩn watermark của kênh trong video. Yêu cầu khởi động lại ứng dụng.";
|
||||
"VideoEndTime" = "Hiển thị thời gian kết thúc phát";
|
||||
"VideoEndTimeDesc" = "Thêm thời gian kết thúc phát video vào thanh trình phát.";
|
||||
"24hrFormat" = "định dạng 24 giờ";
|
||||
"24hrFormatDesc" = "Hiển thị thời gian kết thúc ở định dạng 24 giờ.";
|
||||
|
||||
"Player" = "Trình phát";
|
||||
"Miniplayer" = "Cho phép sử dụng trình phát thu nhỏ với mọi video";
|
||||
@@ -54,7 +62,7 @@
|
||||
"CopyWithTimestamp" = "Sao chép các liên kết có dấu thời gian";
|
||||
"CopyWithTimestampDesc" = "Cho phép sao chép liên kết có dấu thời gian vào bảng tạm bằng cách nhấn nút tạm dừng.";
|
||||
"DisableAutoplay" = "Tắt video Tự động phát";
|
||||
"DisableAutoplayDesc" = "Ngăn chặn phát lại video sau khi mở.";
|
||||
"DisableAutoplayDesc" = "Ngăn chặn phát video sau khi mở.";
|
||||
"DisableAutoCaptions" = "Tắt chú thích tự động";
|
||||
"DisableAutoCaptionsDesc" = "Ngăn chặn việc tự động kích hoạt chú thích.";
|
||||
"NoContentWarning" = "Bỏ qua cảnh báo nội dung";
|
||||
@@ -65,16 +73,20 @@
|
||||
"ExtraSpeedOptionsDesc" = "Thêm nhiều tùy chọn tốc độ phát video vào menu trình phát.";
|
||||
"DontSnap2Chapter" = "Tắt tự động chuyển tới chương";
|
||||
"DontSnap2ChapterDesc" = "Tắt tính năng tự động chuyển tới chương gần nhất khi tua video.";
|
||||
"NoTwoFingerSnapToChapter" = "Tắt tính năng chạm 2 lần bằng 2 ngón tay";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Tắt thao tác chạm 2 lần bằng 2 ngón tay để chuyển tới chương.";
|
||||
"PauseOnOverlay" = "Tạm dừng trên lớp phủ";
|
||||
"PauseOnOverlayDesc" = "Đặt chế độ phát ở trạng thái tạm dừng nếu lớp phủ xuất hiện.";
|
||||
"RedProgressBar" = "Thanh tiến trình màu đỏ";
|
||||
"RedProgressBarDesc" = "Mang lại thanh tiến trình màu đỏ.";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
"NoPlayerRemixButtonDesc" = "Removes remix button under the player.";
|
||||
"NoPlayerClipButton" = "Remove clip button";
|
||||
"NoPlayerClipButtonDesc" = "Removes clip button under the player.";
|
||||
"NoPlayerDownloadButton" = "Remove download button";
|
||||
"NoPlayerDownloadButtonDesc" = "Removes download button under the player.";
|
||||
"NoPlayerRemixButton" = "Xóa nút phối lại";
|
||||
"NoPlayerRemixButtonDesc" = "Xóa nút phối lại bên dưới trình phát.";
|
||||
"NoPlayerClipButton" = "Xóa nút clip";
|
||||
"NoPlayerClipButtonDesc" = "Xóa nút clip bên dưới trình phát.";
|
||||
"NoPlayerDownloadButton" = "Xóa nút tải xuống";
|
||||
"NoPlayerDownloadButtonDesc" = "Xóa nút tải xuống dưới trình phát.";
|
||||
"NoHints" = "Tắt gợi ý";
|
||||
"NoHintsDesc" = "Tắt gợi ý của tác giả xuất hiện ở góc trên bên phải trong khi phát lại.";
|
||||
"NoHintsDesc" = "Tắt gợi ý của tác giả xuất hiện ở góc trên bên phải trong khi phát.";
|
||||
"NoFreeZoom" = "Tắt tính năng chạm để thu phóng";
|
||||
"NoFreeZoomDesc" = "Tắt tính năng chạm để thu phóng";
|
||||
"AutoFullscreen" = "Phát video ở chế độ toàn màn hình";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "Shorts";
|
||||
"ShortsOnlyMode" = "Chế độ chỉ dành cho Short";
|
||||
"ShortsOnlyModeDesc" = "Giới hạn chức năng của YouTube chỉ ở chế độ Short.";
|
||||
"AutoSkipShorts" = "Tự động bỏ qua Shorts";
|
||||
"AutoSkipShortsDesc" = "Chuyển sang video tiếp theo khi quá trình phát video hiện tại kết thúc.";
|
||||
"HideShorts" = "Ẩn Shorts";
|
||||
"HideShortsDesc" = "Ẩn Shorts khỏi Trang chủ, Được đề xuất, v.v. (Không áp dụng cho Lịch sử xem)";
|
||||
"ShortsProgress" = "Bật thanh tiến trình";
|
||||
@@ -159,22 +173,24 @@
|
||||
"CommentManagerDesc" = "Cho phép sao chép văn bản bình luận và lưu bình luận dưới dạng hình ảnh bằng cách nhấn giữ.";
|
||||
"FixAlbums" = "Sửa Albums";
|
||||
"FixAlbumsDesc" = "Sửa lỗi hiển thị Albums cho người dùng Nga.";
|
||||
"NativeShare" = "Bảng chia sẻ gốc";
|
||||
"NativeShareDesc" = "Sử dụng bảng chia sẻ hệ thống để chia sẻ phương tiện";
|
||||
"RemovePlayNext" = "Xóa \"Phát tiếp theo trong danh sách chờ\"";
|
||||
"RemovePlayNextDesc" = "Xóa tùy chọn \"Phát tiếp theo trong danh sách chờ\" khỏi menu.";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
"RemoveDownloadMenuDesc" = "Removes \"Download\" option from menu.";
|
||||
"RemoveWatchLaterMenu" = "Remove \"Save to Watch Later\"";
|
||||
"RemoveWatchLaterMenuDesc" = "Removes \"Save to Watch Later\" option from menu.";
|
||||
"RemoveSaveToPlaylistMenu" = "Remove \"Save to playlist\"";
|
||||
"RemoveSaveToPlaylistMenuDesc" = "Removes \"Save to playlist\" option from menu.";
|
||||
"RemoveShareMenu" = "Remove \"Share\"";
|
||||
"RemoveShareMenuDesc" = "Removes \"Share\" option from menu.";
|
||||
"RemoveNotInterestedMenu" = "Remove \"Not interested\"";
|
||||
"RemoveNotInterestedMenuDesc" = "Removes \"Not interested\" option from menu.";
|
||||
"RemoveDontRecommendMenu" = "Remove \"Don't recommend channel\"";
|
||||
"RemoveDontRecommendMenuDesc" = "Removes \"Don't recommend channel\" option from menu.";
|
||||
"RemoveReportMenu" = "Remove \"Report\"";
|
||||
"RemoveReportMenuDesc" = "Removes \"Report\" option from menu.";
|
||||
"RemoveDownloadMenu" = "Xóa \"Tải video xuống\"";
|
||||
"RemoveDownloadMenuDesc" = "Xóa tùy chọn \"Tải video xuống\" khỏi menu.";
|
||||
"RemoveWatchLaterMenu" = "Xóa \"Lưu vào danh sách Xem sau\"";
|
||||
"RemoveWatchLaterMenuDesc" = "Xóa tùy chọn \"Lưu vào danh sách Xem sau\" khỏi menu.";
|
||||
"RemoveSaveToPlaylistMenu" = "Xóa \"Lưu vào danh sách phát\"";
|
||||
"RemoveSaveToPlaylistMenuDesc" = "Xóa tùy chọn \"Lưu vào danh sách phát\" khỏi menu.";
|
||||
"RemoveShareMenu" = "Xóa \"Chia sẻ\"";
|
||||
"RemoveShareMenuDesc" = "Xóa tùy chọn \"Chia sẻ\" khỏi menu.";
|
||||
"RemoveNotInterestedMenu" = "Xóa \"Không quan tâm\"";
|
||||
"RemoveNotInterestedMenuDesc" = "Xóa tùy chọn \"Không quan tâm\" khỏi menu.";
|
||||
"RemoveDontRecommendMenu" = "Xóa \"Không đề xuất kênh này\"";
|
||||
"RemoveDontRecommendMenuDesc" = "Xóa tùy chọn \"Không đề xuất kênh này\" khỏi menu.";
|
||||
"RemoveReportMenu" = "Xóa \"Báo vi phạm\"";
|
||||
"RemoveReportMenuDesc" = "Xóa tùy chọn \"Báo vi phạm\" khỏi menu.";
|
||||
"NoContinueWatching" = "Xóa \"Tiếp tục xem\"";
|
||||
"NoContinueWatchingDesc" = "Xóa phần \"Tiếp tục xem\" chứa các video chưa xem hết khỏi Trang chủ.";
|
||||
"NoSearchHistory" = "Ẩn lịch sử tìm kiếm";
|
||||
@@ -190,11 +206,18 @@
|
||||
"DisableRTL" = "Tắt định dạng RTL";
|
||||
"DisableRTLDesc" = "Hiển thị mạnh mẽ văn bản ở định dạng từ trái sang phải (LTR) cho các ngôn ngữ ban đầu được hiển thị ở định dạng từ phải sang trái (RTL).";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
"Default" = "Default";
|
||||
"Best" = "Best";
|
||||
"HoldToSpeed" = "Giữ tốc độ";
|
||||
"Disable" = "Tắt";
|
||||
"Disabled" = "Đã tắt";
|
||||
"PlaybackSpeed" = "Tốc độ phát";
|
||||
|
||||
"DefaultPlaybackRate" = "Tốc độ phát mặc định";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Chất lượng Video trên mạng Wi-Fi";
|
||||
"PlaybackQualityOnCellular" = "Chất lượng Video trên mạng di động";
|
||||
"SelectQuality" = "Chọn chất lượng";
|
||||
"Default" = "Mặc định";
|
||||
"Best" = "Tốt nhất";
|
||||
|
||||
"Startup" = "Trang khởi động";
|
||||
"Home" = "Trang chủ";
|
||||
@@ -205,12 +228,15 @@
|
||||
"Warning" = "Cảnh báo";
|
||||
"TabIsHidden" = "Không thể chọn Tab ẩn làm trang khởi động";
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"SupportDevelopment" = "Hỗ trợ nhà phát triển";
|
||||
"SupportDevelopmentDesc" = "Nếu bạn thích YTLite và muốn hỗ trợ sự phát triển của nó, bạn có thể thực hiện bằng bất kỳ cách thuận tiện nào dưới đây.\nCảm ơn❤";
|
||||
"Contributors" = "Người đóng góp";
|
||||
"OpenSourceLibs" = "Thư viện nguồn mở";
|
||||
"Version" = "Phiên bản";
|
||||
"About" = "Giới thiệu";
|
||||
"Credits" = "Credits";
|
||||
"Developer" = "Nhà phát triển YTLite";
|
||||
"SpecialThanks" = "Cảm tạ";
|
||||
"ChineseSimplified" = "Tiếng Trung (giản thể)";
|
||||
"ChineseTraditional" = "Tiếng Trung (phồn thể)";
|
||||
"French" = "Tiếng Pháp";
|
||||
@@ -218,13 +244,15 @@
|
||||
"Japanese" = "Tiếng Nhật";
|
||||
"Vietnamese" = "Tiếng Việt";
|
||||
"Advanced" = "Chế độ nâng cao";
|
||||
"AdvancedDesc" = "More customizable mode";
|
||||
"AdvancedDesc" = "Nhiều chế độ tùy chỉnh hơn";
|
||||
"AdvancedModeReminder" = "Bạn có muốn kích hoạt Chế độ nâng cao cho YTLite không?\n\nChế độ này cung cấp hơn 50 tùy chọn bổ sung để tùy chỉnh và tối ưu hóa trải nghiệm YouTube của bạn. Bạn có thể Bật/Tắt nó sau từ Cài đặt → %@ → %@ → %@.";
|
||||
"ClearCache" = "Xóa bộ nhớ đệm";
|
||||
"ResetSettings" = "Đặt lại cài đặt YTLite";
|
||||
"ResetMessage" = "Tùy chọn này sẽ đặt lại cài đặt YTLite về mặc định và đóng YouTube.\n\nBạn có chắc chắn muốn tiếp tục không?";
|
||||
"ShortsOnlyWarning" = "Bạn có chắc chắn muốn kích hoạt chế độ này?\n\nỞ chế độ này, bạn sẽ chỉ có thể xem video Shorts và không thể làm gì khác.\n\nBạn có thể tắt Chế độ chỉ Shorts bằng cách nhấn và giữ bằng hai ngón tay trong trình phát Shorts.";
|
||||
"ShortsModeTurnedOff" = "Chế độ chỉ dành cho Shorts đã bị tắt";
|
||||
"LibraryAdded" = "Tab Thư viện đã được khôi phục";
|
||||
"LibraryRemoved" = "Tab Thư viện đã bị xóa";
|
||||
"Yes" = "Có";
|
||||
"No" = "Không";
|
||||
|
||||
@@ -232,13 +260,15 @@
|
||||
"CopyTitle" = "Sao chép tiêu đề";
|
||||
"CopyDescription" = "Sao chép mô tả";
|
||||
"CopyPostText" = "Sao chép văn bản bài đăng";
|
||||
"SaveCurrentImage" = "Lưu hình ảnh hiện tại";
|
||||
"CopyCurrentImage" = "Sao chép hình ảnh hiện tại";
|
||||
"SavePostAsImage" = "Lưu bài đăng dưới dạng hình ảnh";
|
||||
"CopyPostAsImage" = "Sao chép bài đăng dưới dạng hình ảnh";
|
||||
"CopyCommentText" = "Sao chép văn bản bình luận";
|
||||
"SaveCommentAsImage" = "Lưu bình luận dưới dạng hình ảnh";
|
||||
"CopyCommentAsImage" = "Sao chép bình luận dưới dạng hình ảnh";
|
||||
"SaveProfilePicture" = "Save profile picture";
|
||||
"CopyProfilePicture" = "Copy profile picture";
|
||||
"SaveProfilePicture" = "Lưu ảnh hồ sơ";
|
||||
"CopyProfilePicture" = "Sao chép ảnh hồ sơ";
|
||||
"Cancel" = "Hủy bỏ";
|
||||
"Copied" = "Sao chép vào clipboard";
|
||||
"Saved" = "Đã lưu vào Ảnh";
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "隐藏导航栏下的子栏(全部、新内容、实时等)。";
|
||||
"NoYTLogo" = "删除 YouTube Logo";
|
||||
"NoYTLogoDesc" = "删除导航栏中的 YouTube Logo。";
|
||||
"PremiumYTLogo" = "Set Premium YouTube logo";
|
||||
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
|
||||
|
||||
"Overlay" = "播放界面";
|
||||
"HideAutoplay" = "隐藏自动播放开关";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "在全屏模式下禁用操作面板。";
|
||||
"PersistentProgressBar" = "持续进度条";
|
||||
"PersistentProgressBarDesc" = "始终在播放器中显示进度条。";
|
||||
"StockVolumeHUD" = "Stock volume HUD";
|
||||
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
|
||||
"NoRelatedVids" = "没有相关视频";
|
||||
"NoRelatedVidsDesc" = "通过向上滑动删除播放界面中显示的相关视频。";
|
||||
"NoPromotionCards" = "隐藏付费";
|
||||
"NoPromotionCardsDesc" = "在付费视频中隐藏“付费内容”。";
|
||||
"NoWatermarks" = "隐藏水印";
|
||||
"NoWatermarksDesc" = "隐藏播放器的频道水印。";
|
||||
"VideoEndTime" = "Show playback end time";
|
||||
"VideoEndTimeDesc" = "Adds video playback end time to the player bar.";
|
||||
"24hrFormat" = "24-hour format";
|
||||
"24hrFormatDesc" = "Shows end time in 24-hour format.";
|
||||
|
||||
"Player" = "播放器";
|
||||
"Miniplayer" = "启用迷你播放器";
|
||||
@@ -65,6 +73,10 @@
|
||||
"ExtraSpeedOptionsDesc" = "在播放器菜单中添加更多视频播放速度的选项。";
|
||||
"DontSnap2Chapter" = "禁用双击跳转";
|
||||
"DontSnap2ChapterDesc" = "禁用通过双击手势跳到下一集。";
|
||||
"NoTwoFingerSnapToChapter" = "Disable two finger double tap";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Disables two finger double tap snap to chapter gesture.";
|
||||
"PauseOnOverlay" = "Pause on overlay";
|
||||
"PauseOnOverlayDesc" = "Sets playback on pause if overlay appears.";
|
||||
"RedProgressBar" = "红色进度条";
|
||||
"RedProgressBarDesc" = "加回红色进度条。";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "短视频";
|
||||
"ShortsOnlyMode" = "仅短视频模式";
|
||||
"ShortsOnlyModeDesc" = "将 YouTube 功能限制为只能观看短视频。";
|
||||
"AutoSkipShorts" = "Auto-skip Shorts";
|
||||
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
|
||||
"HideShorts" = "隐藏短视频";
|
||||
"HideShortsDesc" = "从首页、推荐等隐藏短视频(不适用于观看历史记录)。";
|
||||
"ShortsProgress" = "启用进度条";
|
||||
@@ -159,6 +173,8 @@
|
||||
"CommentManagerDesc" = "允许通过长按复制评论文本并将评论保存为图片。";
|
||||
"FixAlbums" = "修复封面";
|
||||
"FixAlbumsDesc" = "修复来自俄罗斯用户的封面显示问题。";
|
||||
"NativeShare" = "Native share sheet";
|
||||
"NativeShareDesc" = "Uses system share sheet to share media";
|
||||
"RemovePlayNext" = "删除“播放队列中的下一个”";
|
||||
"RemovePlayNextDesc" = "从菜单中删除“播放队列中的下一个”选项。";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
@@ -190,6 +206,13 @@
|
||||
"DisableRTL" = "禁用 RTL 格式";
|
||||
"DisableRTLDesc" = "对于最初以从右到左 (RTL) 显示的语言,强制以从左到右 (LTR) 格式显示文本。";
|
||||
|
||||
"HoldToSpeed" = "Hold to speed";
|
||||
"Disable" = "Disable";
|
||||
"Disabled" = "Disabled";
|
||||
"PlaybackSpeed" = "Playback Speed";
|
||||
|
||||
"DefaultPlaybackRate" = "Default playback rate";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
@@ -207,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"Contributors" = "Contributors";
|
||||
"OpenSourceLibs" = "Open Source Libraries";
|
||||
"Version" = "版本";
|
||||
"About" = "关于";
|
||||
"Credits" = "信息";
|
||||
"Developer" = "YTLite开发者";
|
||||
"SpecialThanks" = "Special thanks";
|
||||
"ChineseSimplified" = "中文(简体)本地化";
|
||||
"ChineseTraditional" = "中文(繁体)本地化";
|
||||
"French" = "法语本地化";
|
||||
@@ -225,6 +251,8 @@
|
||||
"ResetMessage" = "此选项会将YTLite设置重置为默认值并关闭YouTube。\n\n确定要继续吗?";
|
||||
"ShortsOnlyWarning" = "确定要激活此模式吗?\n\n在此模式下,将只能观看短视频,且无法执行任何其他操作。\n\n可以通过双指长按禁用“仅短视频模式”。";
|
||||
"ShortsModeTurnedOff" = "仅短视频模式已关闭";
|
||||
"LibraryAdded" = "The You/Library tab has been restored";
|
||||
"LibraryRemoved" = "The You/Library tab has been removed";
|
||||
"Yes" = "是";
|
||||
"No" = "不";
|
||||
|
||||
@@ -232,6 +260,8 @@
|
||||
"CopyTitle" = "复制标题";
|
||||
"CopyDescription" = "复制描述";
|
||||
"CopyPostText" = "复制帖子文本";
|
||||
"SaveCurrentImage" = "Save current image";
|
||||
"CopyCurrentImage" = "Copy current image";
|
||||
"SavePostAsImage" = "帖子另存为图片";
|
||||
"CopyPostAsImage" = "帖子作为图片复制";
|
||||
"CopyCommentText" = "复制评论文本";
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"NoSubbarDesc" = "隱藏導覽列下的子導覽列(全部、讓你耳目一新的影片、直播中...等)";
|
||||
"NoYTLogo" = "移除YouTube圖示";
|
||||
"NoYTLogoDesc" = "移除在左上方導覽列的YouTube圖示";
|
||||
"PremiumYTLogo" = "Set Premium YouTube logo";
|
||||
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
|
||||
|
||||
"Overlay" = "播放介面";
|
||||
"HideAutoplay" = "隱藏自動播放開關";
|
||||
@@ -39,12 +41,18 @@
|
||||
"NoFullscreenActionsDesc" = "在全螢幕模式下停用操作面板";
|
||||
"PersistentProgressBar" = "固定進度條";
|
||||
"PersistentProgressBarDesc" = "總是在播放器中顯示進度條";
|
||||
"StockVolumeHUD" = "Stock volume HUD";
|
||||
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
|
||||
"NoRelatedVids" = "隱藏相關影片";
|
||||
"NoRelatedVidsDesc" = "移除全螢幕模式向上滑動時所出現的相關影片";
|
||||
"NoPromotionCards" = "隱藏付費推廣";
|
||||
"NoPromotionCardsDesc" = "在付費推廣的影片中隱藏「付費推廣」";
|
||||
"NoWatermarks" = "隱藏浮水印";
|
||||
"NoWatermarksDesc" = "在播放器中隱藏頻道浮水印";
|
||||
"VideoEndTime" = "Show playback end time";
|
||||
"VideoEndTimeDesc" = "Adds video playback end time to the player bar.";
|
||||
"24hrFormat" = "24-hour format";
|
||||
"24hrFormatDesc" = "Shows end time in 24-hour format.";
|
||||
|
||||
"Player" = "播放器";
|
||||
"Miniplayer" = "啟用迷你播放器";
|
||||
@@ -65,6 +73,10 @@
|
||||
"ExtraSpeedOptionsDesc" = "在播放速度選單中添加更多選項";
|
||||
"DontSnap2Chapter" = "停用跳轉到章節";
|
||||
"DontSnap2ChapterDesc" = "停用點兩下手勢跳轉到下一集";
|
||||
"NoTwoFingerSnapToChapter" = "Disable two finger double tap";
|
||||
"NoTwoFingerSnapToChapterDesc" = "Disables two finger double tap snap to chapter gesture.";
|
||||
"PauseOnOverlay" = "Pause on overlay";
|
||||
"PauseOnOverlayDesc" = "Sets playback on pause if overlay appears.";
|
||||
"RedProgressBar" = "紅色進度條";
|
||||
"RedProgressBarDesc" = "恢復紅色的進度條";
|
||||
"NoPlayerRemixButton" = "Remove remix button";
|
||||
@@ -105,6 +117,8 @@
|
||||
"Shorts" = "Shorts";
|
||||
"ShortsOnlyMode" = "只看Shorts模式";
|
||||
"ShortsOnlyModeDesc" = "限制YouTube功能只能觀看Shorts影片";
|
||||
"AutoSkipShorts" = "Auto-skip Shorts";
|
||||
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
|
||||
"HideShorts" = "隱藏Shorts影片";
|
||||
"HideShortsDesc" = "從首頁、推薦...等,隱藏Shorts影片(不適用於觀看紀錄)";
|
||||
"ShortsProgress" = "啟用時間進度條";
|
||||
@@ -159,6 +173,8 @@
|
||||
"CommentManagerDesc" = "長按可以複製留言內容或將留言儲存為圖片";
|
||||
"FixAlbums" = "修復封面";
|
||||
"FixAlbumsDesc" = "為俄羅斯使用者修復封面顯示問題";
|
||||
"NativeShare" = "Native share sheet";
|
||||
"NativeShareDesc" = "Uses system share sheet to share media";
|
||||
"RemovePlayNext" = "移除「播放下一個」";
|
||||
"RemovePlayNextDesc" = "從選單移除「播放下一個」";
|
||||
"RemoveDownloadMenu" = "Remove \"Download\"";
|
||||
@@ -190,6 +206,13 @@
|
||||
"DisableRTL" = "停用RTL格式";
|
||||
"DisableRTLDesc" = "強制將初始顯示從右到左(RTL)格式的語言,改為從左到右(LTR)顯示";
|
||||
|
||||
"HoldToSpeed" = "Hold to speed";
|
||||
"Disable" = "Disable";
|
||||
"Disabled" = "Disabled";
|
||||
"PlaybackSpeed" = "Playback Speed";
|
||||
|
||||
"DefaultPlaybackRate" = "Default playback rate";
|
||||
|
||||
"PlaybackQualityOnWiFi" = "Playback quality on WiFi";
|
||||
"PlaybackQualityOnCellular" = "Playback quality on Cellular";
|
||||
"SelectQuality" = "Select Quality";
|
||||
@@ -207,10 +230,13 @@
|
||||
|
||||
"SupportDevelopment" = "Support development";
|
||||
"SupportDevelopmentDesc" = "If you like YTLite and would like to support its development, you can do it using any of convenient ways below.\nThanks❤";
|
||||
"Contributors" = "Contributors";
|
||||
"OpenSourceLibs" = "Open Source Libraries";
|
||||
"Version" = "版本";
|
||||
"About" = "關於";
|
||||
"Credits" = "貢獻";
|
||||
"Developer" = "YTLite開發者";
|
||||
"SpecialThanks" = "Special thanks";
|
||||
"ChineseSimplified" = "簡體中文在地化";
|
||||
"ChineseTraditional" = "繁體中文在地化";
|
||||
"French" = "法文在地化";
|
||||
@@ -225,6 +251,8 @@
|
||||
"ResetMessage" = "這個選項會將YTLite重置為預設值,並關閉Youtube\n\n您確定要繼續嗎?";
|
||||
"ShortsOnlyWarning" = "您確定要開啟此模式嗎?\n\n在此模式下,您只能觀看Shorts影片,無法進行其它操作。\n\n您可以在Shorts播放器中使用兩指長按來停用只看Shorts模式。";
|
||||
"ShortsModeTurnedOff" = "已關閉「只看Shorts模式」";
|
||||
"LibraryAdded" = "The You/Library tab has been restored";
|
||||
"LibraryRemoved" = "The You/Library tab has been removed";
|
||||
"Yes" = "是";
|
||||
"No" = "否";
|
||||
|
||||
@@ -232,6 +260,8 @@
|
||||
"CopyTitle" = "複製標題";
|
||||
"CopyDescription" = "複製說明";
|
||||
"CopyPostText" = "複製貼文內容";
|
||||
"SaveCurrentImage" = "Save current image";
|
||||
"CopyCurrentImage" = "Copy current image";
|
||||
"SavePostAsImage" = "儲存貼文為圖片";
|
||||
"CopyPostAsImage" = "複製貼文為圖片";
|
||||
"CopyCommentText" = "複製留言內容";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user