Compare commits

...
130 Commits
Author SHA1 Message Date
Dan dc130bdf6b Merge pull request #81 from hiepvk/main
Update Localizable.strings
2024-03-07 16:05:25 +03:00
Dan a95b16cb71 Merge pull request #80 from Deci8BelioS/main
Update Localizable.strings Spanish
2024-03-07 16:04:54 +03:00
Hiệpvk 1214db95dc Update Localizable.strings 2024-03-07 18:08:58 +07:00
DeciBelioS 0ab9d5fa7e Update Localizable.strings Spanish 2024-03-06 23:12:23 +01:00
dayanch96 d2989b3f90 Merge branch 'main' of https://github.com/dayanch96/YTLite 2024-03-06 22:28:26 +03:00
dayanch96 91a8a79cc8 remove unnecessary import 2024-03-06 22:28:09 +03:00
Dan cc4b8eb42c Update README.md 2024-03-06 22:24:05 +03:00
dayanch96 ddf6094c62 Merge branch 'main' of https://github.com/dayanch96/YTLite 2024-03-06 22:11:37 +03:00
dayanch96 5bce5a7e33 3.0 2024-03-06 22:11:32 +03:00
Dan 2f601de852 Create FUNDING.yml 2024-03-06 21:04:07 +03:00
Dan bde14ad82b Merge pull request #74 from hiepvk/main
Update Localizable.strings
2024-03-02 12:47:05 +03:00
Hiệpvk 970c566046 Update Localizable.strings 2024-03-02 15:48:58 +07:00
Dan d7c5e540a4 Merge pull request #69 from mumuisdog/main
Update zh-Hant Localizable
2024-03-01 01:01:10 +03:00
Dan 86b5688eae Update Localizable.strings 2024-03-01 01:00:50 +03:00
Dan 341b1cde9d Merge pull request #73 from Deci8BelioS/main
Update Localizable.strings Spanish
2024-03-01 00:55:18 +03:00
DeciBelioS e27e0fa8cf Update Localizable.strings Spanish 2024-02-29 19:50:39 +01:00
mumuisdog e0c7f92288 Update Localizable.strings 2024-02-29 00:46:10 +08:00
Dan 9cf2ca008c Merge pull request #68 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-28 16:37:45 +03:00
xiangfeidexiaohuo 1265e80d15 update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-28 21:33:13 +08:00
Dan 56a5e906f3 Merge pull request #67 from Balackburn/main
Updated fr localization
2024-02-28 15:49:34 +03:00
Dan 154ea37acd Update Localizable.strings 2024-02-28 15:47:44 +03:00
Balackburn 0d83236666 Updated fr localization 2024-02-28 13:45:00 +01:00
dayanch96 5bf8181815 2.7 2024-02-28 15:02:46 +03:00
Dan b6958ac963 Merge pull request #66 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-27 12:00:12 +03:00
xiangfeidexiaohuo 8187bbaa13 update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-26 23:41:10 +08:00
Dan 5d2c85cb14 Update Localizable.strings 2024-02-24 04:17:39 +03:00
Dan 71b52fc82b Merge pull request #64 from hiepvk/main
Update Localizable.strings
2024-02-22 23:02:50 +03:00
Hiệpvk 6cc81886c0 Update Localizable.strings 2024-02-22 23:06:13 +07:00
Dan 0671598943 Merge pull request #63 from mumuisdog/main
Update zh-Hant Localizable
2024-02-22 17:40:54 +03:00
mumuisdog 8886fb7b61 Update Localizable.strings 2024-02-22 22:26:55 +08:00
dayanch96 fe3a942de0 Merge branch 'main' of https://github.com/dayanch96/YTLite 2024-02-22 16:24:22 +03:00
dayanch96 123215f372 v2.6.3 2024-02-22 16:23:13 +03:00
Dan 07fc0b98c3 Merge pull request #61 from mumuisdog/main
Update zh-Hant Localizable
2024-02-21 18:37:01 +03:00
mumuisdog 537f828731 Update Localizable.strings 2024-02-21 22:50:23 +08:00
Dan 8218578734 Merge pull request #60 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-21 15:05:59 +03:00
xiangfeidexiaohuo fe6b509b3b update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-21 20:01:15 +08:00
Dan 8f72d70029 Merge pull request #59 from hiepvk/main
Update Localizable.strings
2024-02-21 09:45:42 +03:00
Hiệpvk 07a13df097 Update Localizable.strings 2024-02-21 13:41:30 +07:00
dayanch96 9a43e1b9b3 Merge branch 'main' of https://github.com/dayanch96/YTLite 2024-02-21 05:09:00 +03:00
dayanch96 f7d567bf5d v2.6.2 2024-02-21 05:08:56 +03:00
Dan 4921d95073 Merge pull request #58 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-20 17:32:46 +03:00
xiangfeidexiaohuo 87cdca4867 update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-20 22:28:42 +08:00
dayanch96 f96d397f3b Merge branch 'main' of https://github.com/dayanch96/YTLite 2024-02-20 15:52:39 +03:00
dayanch96 74baf844be 2.6.1 2024-02-20 15:52:36 +03:00
Dan df95227b88 Merge pull request #57 from Balackburn/main
updated french localization
2024-02-20 10:29:26 +03:00
Balackburn 66e7e35798 updated french localization 2024-02-20 08:24:52 +01:00
Dan 3e67c85de9 Merge pull request #56 from mumuisdog/main
Update zh-Hant Localizable
2024-02-20 03:04:49 +03:00
mumuisdog dae1714bcc Update Localizable.strings 2024-02-20 07:16:34 +08:00
Dan 343f40dac3 Merge pull request #54 from hiepvk/main
Add Vietnamese localization
2024-02-19 20:24:27 +03:00
Hiệpvk 7eafc3de7d Add Vietnamese localization 2024-02-20 00:20:20 +07:00
Dan 33b0125e9b Merge pull request #53 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-19 18:03:51 +03:00
xiangfeidexiaohuo 9d8f74c8cb update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-19 22:38:09 +08:00
Dan 6bb405092d Merge pull request #52 from Balackburn/main
Fix typo error in french localization
2024-02-19 17:33:44 +03:00
Balackburn 8da024261d Merge branch 'dayanch96:main' into main 2024-02-19 13:11:53 +01:00
Balackburn a2771e7d52 typo 2024-02-19 13:10:59 +01:00
Dan e3b1507e7a Merge pull request #51 from Balackburn/main
updated fr localization
2024-02-19 14:06:30 +03:00
Balackburn d4bc6a5859 updated fr localization 2024-02-19 11:31:54 +01:00
dayanch96 256c9f54cd v2.6 2024-02-19 05:44:16 +03:00
Dan 44436a0d1c Merge pull request #48 from Balackburn/main
Updated french localization
2024-02-17 20:58:23 +03:00
Balackburn cccd5adb58 Merge branch 'dayanch96:main' into main 2024-02-17 18:26:27 +01:00
Balackburn db8cf75f07 Updated fr localization 2024-02-17 18:26:10 +01:00
Dan 43af06cf1b Merge pull request #47 from mumuisdog/main
Update zh-Hant Localizable
2024-02-17 20:15:25 +03:00
mumuisdog 6cadf005c0 Update Localizable.strings 2024-02-18 01:12:33 +08:00
Dan 8f272f567d Merge pull request #46 from xiangfeidexiaohuo/main
update zh-Hans
2024-02-17 18:59:36 +03:00
xiangfeidexiaohuo 7ea704af46 update zh-Hans
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-02-17 23:28:48 +08:00
Dan 6efa3c74c9 Merge pull request #44 from Deci8BelioS/main
Update Localizable.strings Spanish
2024-02-17 16:44:32 +03:00
DeciBelioS 3337bd2dd4 Update Localizable.strings Spanish 2024-02-17 14:42:43 +01:00
dayanch96 870e7ba5b4 2.5 2024-02-17 16:00:29 +03:00
Dan 5b24103c2e Merge pull request #43 from xiangfeidexiaohuo/main
support 19.03.2
2024-02-06 14:25:33 +03:00
xiangfeidexiaohuo 1abb4894ca support 19.03.2
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2024-01-25 19:07:12 +08:00
Dan 1b18429bd2 Merge pull request #41 from SKEIDs/Update-Japanese-localization
Update Japanese localization
2023-12-29 12:52:46 +03:00
SKEIDs 58d9c4411f Update Japanese localization 2023-12-27 20:41:54 +09:00
Dan 66802f049e Merge pull request #36 from Deci8BelioS/main
Update Spanish Localizable.strings
2023-11-12 23:32:31 +03:00
Dan 7f829f8768 Merge pull request #38 from mumuisdog/main
Update zh_Hant Localizable.strings
2023-11-12 23:32:17 +03:00
mumuisdog 057815f3f0 Update Localizable.strings 2023-11-12 10:39:05 +08:00
Dan 3a64da39d6 Merge pull request #37 from xiangfeidexiaohuo/main
Update Simplified Chinese
2023-11-12 00:44:19 +03:00
xiangfeidexiaohuo 06606c26a8 Update Simplified Chinese
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-11-11 22:34:44 +08:00
DeciBelioS 2d36a15054 Update Spanish Localizable.strings 2023-11-11 02:14:07 +01:00
dayanch96 dff35cbb43 Timestamped Links, Tabbar Indicators, More ads 2023-11-10 21:41:34 +03:00
Dan 245baff41d Merge pull request #34 from Balackburn/main
correction of indentation and removal of duplicate lines
2023-11-04 20:23:58 +03:00
Balackburn 8062417cce correction of indentation and removal of duplicate lines 2023-10-06 00:08:19 +02:00
Dan 21a960dff7 Merge pull request #31 from Balackburn/main
Updated French localization
2023-08-29 17:19:30 +03:00
Balackburn f6d81e3647 Merge branch 'dayanch96:main' into main 2023-08-27 20:20:32 +02:00
Balackburn 6ac142f6d0 Updated French localization 2023-08-27 20:19:48 +02:00
Dan 68d88704d5 Merge pull request #27 from Neo1102/main
Update Localizable.strings
2023-08-10 21:50:24 +03:00
ИEØ_ΙΙØZ 3373a75599 Update Localizable.strings 2023-08-10 12:01:44 +08:00
Dan f0a6984c3f Merge pull request #25 from xiangfeidexiaohuo/main
update
2023-08-03 10:45:07 +03:00
xiangfeidexiaohuo 0540f6ca1b update
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-08-03 15:15:13 +08:00
dayanch96 f1e1706fce Merge branch 'main' of https://github.com/dayanch96/YTLite 2023-07-29 18:52:46 +03:00
dayanch96 d0f7d9521c show real version, bug fixes 2023-07-29 18:50:16 +03:00
Dan 05b7faff70 Merge pull request #22 from arichorn/patch-1
Fix `Remove Dark Background in Overlay`
2023-07-26 02:37:49 +03:00
Dan 6876c2e572 Fix Remove Dark Background in Overlay #22 2023-07-26 02:37:17 +03:00
arichorn 08784c4819 Update YTLite.x 2023-07-25 18:35:01 -05:00
arichorn afd9e6054b Update YTLite.x 2023-07-25 18:18:55 -05:00
Dan bcd9e54137 Merge pull request #21 from SKEIDs/Add-Japanese-localization
Add Japanese localization
2023-07-21 19:49:11 +03:00
SKEIDs b3f4e9216a Update Japanese localization 2023-07-20 22:02:03 +09:00
SKEIDs 392330189e Add Japanese localization 2023-07-20 02:33:44 +09:00
Dan e8c23c0e8f Merge pull request #19 from mumuisdog/main
Update zh-Hant Localizable for 2.3
2023-07-16 15:13:28 +03:00
Dan d454fe1642 Merge pull request #18 from xiangfeidexiaohuo/main
Update Simplified Chinese of v2.3
2023-07-16 15:13:11 +03:00
mumuisdog 0206d55fef Update Localizable.strings 2023-07-16 20:10:15 +08:00
xiangfeidexiaohuo 8c44277e7c Update Simplified Chinese of v2.3
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-07-16 17:53:51 +08:00
Dan 753e1b480d Merge pull request #17 from Deci8BelioS/main
Update Localizable.strings Spanish
2023-07-15 22:46:07 +03:00
DeciBelioS b6b441103d Update Localizable.strings Spanish 2023-07-15 21:28:47 +02:00
dayanch96 d52e3b79c8 Merge branch 'main' of https://github.com/dayanch96/YTLite 2023-07-15 20:11:05 +03:00
dayanch96 5862a73ac9 more options and improvements 2023-07-15 20:11:03 +03:00
Dan 1bdc0e0e62 Merge pull request #15 from xiangfeidexiaohuo/main
Update Simplified Chinese
2023-07-13 14:01:38 +03:00
xiangfeidexiaohuo 0755b5abbd Update Simplified Chinese
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-07-12 16:06:08 +08:00
Dan 887ba2fdbe Merge pull request #13 from Balackburn/main
updated fr.lproj
2023-07-11 16:16:10 +03:00
Balackburn 2083ab7fbf translated lines 50, 51 2023-07-11 15:13:15 +02:00
Balackburn 83c53f9ede Merge branch 'dayanch96:main' into main 2023-07-11 15:12:12 +02:00
Dan 9bc4036a73 Merge pull request #14 from mumuisdog/main
Update zh-Hant Localizable
2023-07-11 15:19:39 +03:00
mumuisdog a16d978e7d Update Localizable.strings 2023-07-11 18:21:58 +08:00
Balackburn f269dd4022 updated fr.lproj 2023-07-11 03:41:30 +02:00
dayanch96 49b17ce2b0 Update Spanish translate @Deci8BelioS 2023-07-11 01:04:37 +03:00
dayanch96 06ed61a83a portrait fullscreen mode 2023-07-11 00:24:08 +03:00
dayanch96 95fe3a9fb5 reminder, shorts promo cards, small improvements 2023-07-10 22:51:37 +03:00
Dan 25dc28edc0 Merge pull request #10 from mumuisdog/main
zh-Hant
2023-07-09 03:29:24 +03:00
Dan 3100277916 Merge pull request #11 from Deci8BelioS/main
Added Spanish language
2023-07-09 03:13:53 +03:00
DeciBelioS f771693a0b Added Spanish language 2023-07-08 20:43:01 +02:00
DeciBelioS ed468a8450 Delete es.lproj directory 2023-07-08 20:42:49 +02:00
DeciBelioS 1c4e15167e Added Spanish language 2023-07-08 20:42:38 +02:00
mumuisdog ff28f0bf74 Update Localizable.strings 2023-07-09 01:06:59 +08:00
mumuisdog f1e699a5a1 Create Localizable.strings 2023-07-09 00:38:44 +08:00
Dan f042d94791 Merge pull request #9 from Balackburn/main
Synthax error fix
2023-07-08 02:52:58 +03:00
Balackburn 766cbb2c66 synthax (again) 2023-07-08 00:35:28 +02:00
Balackburn aed0ae5307 Synthax error fix 2023-07-08 00:15:09 +02:00
Dan 0794199217 Merge pull request #7 from Balackburn/main
added fr localization
2023-07-07 20:57:20 +03:00
Dan 38e522d6f9 Merge pull request #6 from xiangfeidexiaohuo/main
update Simplified Chinese for v2.2
2023-07-07 20:57:06 +03:00
Balackburn b913835551 added fr localization 2023-07-07 15:04:40 +02:00
xiangfeidexiaohuo a3e1fc3e91 update Simplified Chinese for v2.2
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-07-07 19:04:32 +08:00
51 changed files with 4489 additions and 802 deletions
+2
View File
@@ -0,0 +1,2 @@
github: dayanch96
ko_fi: dayanch96
+4 -4
View File
@@ -5,14 +5,14 @@ endif
DEBUG=0 DEBUG=0
FINALPACKAGE=1 FINALPACKAGE=1
ARCHS = arm64 ARCHS = arm64
PACKAGE_VERSION = 2.2 PACKAGE_VERSION = 3.0
TARGET := iphone:clang:latest:11.0 TARGET := iphone:clang:latest:13.0
include $(THEOS)/makefiles/common.mk include $(THEOS)/makefiles/common.mk
TWEAK_NAME = YTLite TWEAK_NAME = YTLite
$(TWEAK_NAME)_FRAMEWORKS = UIKit Foundation $(TWEAK_NAME)_FRAMEWORKS = UIKit Foundation SystemConfiguration
$(TWEAK_NAME)_CFLAGS = -fobjc-arc -DTWEAK_VERSION=$(PACKAGE_VERSION) $(TWEAK_NAME)_CFLAGS = -fobjc-arc -DTWEAK_VERSION=$(PACKAGE_VERSION)
$(TWEAK_NAME)_FILES = YTLite.x Settings.x Sideloading.x $(TWEAK_NAME)_FILES = $(wildcard *.x Utils/*.m)
include $(THEOS_MAKE_PATH)/tweak.mk include $(THEOS_MAKE_PATH)/tweak.mk
+5 -1
View File
@@ -4,7 +4,11 @@ Lightweight YouTube Enhancer
Advanced mode can be activated inside **Version cell**. Then simply reopen YTLite settings Advanced mode can be activated inside **Version cell**. Then simply reopen YTLite settings
# How to build it yourself # 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 cd YTLite folder and run
+459 -205
View File
@@ -6,23 +6,21 @@
static const NSInteger YTLiteSection = 789; static const NSInteger YTLiteSection = 789;
static void resetYTLiteSettings() { static NSString *GetCacheSize() {
NSString *prefsPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"YTLite.plist"]; NSString *cachePath = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject;
NSFileManager *fileManager = [NSFileManager defaultManager]; NSArray *filesArray = [[NSFileManager defaultManager] subpathsOfDirectoryAtPath:cachePath error:nil];
[fileManager removeItemAtPath:prefsPath error:nil];
}
NSBundle *YTLiteBundle() { unsigned long long int folderSize = 0;
static NSBundle *bundle = nil; for (NSString *fileName in filesArray) {
static dispatch_once_t onceToken; NSString *filePath = [cachePath stringByAppendingPathComponent:fileName];
dispatch_once(&onceToken, ^{ NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil];
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"YTLite" ofType:@"bundle"]; folderSize += [fileAttributes fileSize];
if (tweakBundlePath) }
bundle = [NSBundle bundleWithPath:tweakBundlePath];
else NSByteCountFormatter *formatter = [[NSByteCountFormatter alloc] init];
bundle = [NSBundle bundleWithPath:ROOT_PATH_NS("/Library/Application Support/YTLite.bundle")]; formatter.countStyle = NSByteCountFormatterCountStyleFile;
});
return bundle; return [formatter stringFromByteCount:folderSize];
} }
// Settings // Settings
@@ -43,325 +41,559 @@ NSBundle *YTLiteBundle() {
} }
%end %end
%hook YTSettingsCell
- (void)layoutSubviews {
%orig;
BOOL isYTLite = [self.accessibilityIdentifier isEqualToString:@"YTLiteSectionItem"];
YTTouchFeedbackController *feedback = [self valueForKey:@"_touchFeedbackController"];
ABCSwitch *abcSwitch = [self valueForKey:@"_switch"];
if (isYTLite) {
feedback.feedbackColor = [UIColor colorWithRed:0.75 green:0.50 blue:0.90 alpha:1.0];
abcSwitch.onTintColor = [UIColor colorWithRed:0.75 green:0.50 blue:0.90 alpha:1.0];
}
}
%end
%hook YTSettingsSectionItemManager %hook YTSettingsSectionItemManager
%new %new
- (void)updatePrefsForKey:(NSString *)key enabled:(BOOL)enabled { - (YTSettingsSectionItem *)switchWithTitle:(NSString *)title key:(NSString *)key {
NSString *prefsPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"YTLite.plist"];
NSMutableDictionary *prefs = [NSMutableDictionary dictionaryWithContentsOfFile:prefsPath];
if (!prefs) prefs = [NSMutableDictionary dictionary];
[prefs setObject:@(enabled) forKey:key];
[prefs writeToFile:prefsPath atomically:NO];
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.dvntm.ytlite.prefschanged"), NULL, NULL, YES);
}
%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 *titleDescription, NSString *key, BOOL *value, id selfObject) {
Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem); Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem);
YTSettingsSectionItem *item = [YTSettingsSectionItemClass switchItemWithTitle:title Class YTAlertViewClass = %c(YTAlertView);
titleDescription:titleDescription NSString *titleDesc = [NSString stringWithFormat:@"%@Desc", title];
accessibilityIdentifier:nil
switchOn:*value YTSettingsSectionItem *item = [YTSettingsSectionItemClass switchItemWithTitle:LOC(title)
titleDescription:LOC(titleDesc)
accessibilityIdentifier:@"YTLiteSectionItem"
switchOn:ytlBool(key)
switchBlock:^BOOL(YTSettingsCell *cell, BOOL enabled) { switchBlock:^BOOL(YTSettingsCell *cell, BOOL enabled) {
[selfObject updatePrefsForKey:key enabled: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];
}
else {
ytlSetBool(enabled, key);
if (ytlBool(@"removeLabels") || ytlBool(@"reExplore") || ytlBool(@"addExplore") || ytlBool(@"removeShorts") || ytlBool(@"removeSubscriptions") || ytlBool(@"removeUploads") || ytlBool(@"removeLibrary")) {
[[[%c(YTHeaderContentComboViewController) alloc] init] refreshPivotBar];
}
}
return YES; return YES;
} }
settingItemId:0]; settingItemId:0];
return item; return item;
} }
%new
- (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@:@) %new(v@:@)
- (void)updateYTLiteSectionWithEntry:(id)entry { - (void)updateYTLiteSectionWithEntry:(id)entry {
NSMutableArray *sectionItems = [NSMutableArray array]; NSMutableArray *sectionItems = [NSMutableArray array];
Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem); Class YTSettingsSectionItemClass = %c(YTSettingsSectionItem);
YTSettingsViewController *settingsViewController = [self valueForKey:@"_settingsViewControllerDelegate"]; YTSettingsViewController *settingsViewController = [self valueForKey:@"_settingsViewControllerDelegate"];
id selfObject = self;
YTSettingsSectionItem *space = [%c(YTSettingsSectionItem) itemWithTitle:nil accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { return YES; }]; YTSettingsSectionItem *space = [%c(YTSettingsSectionItem) itemWithTitle:nil accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:nil selectBlock:nil];
YTSettingsSectionItem *general = [YTSettingsSectionItemClass itemWithTitle:LOC(@"General") YTSettingsSectionItem *general = [YTSettingsSectionItemClass itemWithTitle:LOC(@"General")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"RemoveAds"), LOC(@"RemoveAdsDesc"), @"noAds", &kNoAds, selfObject), [self switchWithTitle:@"RemoveAds" key:@"noAds"],
createSwitchItem(LOC(@"BackgroundPlayback"), LOC(@"BackgroundPlaybackDesc"), @"backgroundPlayback", &kBackgroundPlayback, selfObject) [self switchWithTitle:@"BackgroundPlayback" key:@"backgroundPlayback"]
]; ];
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"General") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"General") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:general]; [sectionItems addObject:general];
YTSettingsSectionItem *navbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Navbar") YTSettingsSectionItem *navbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Navbar")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"RemoveCast"), LOC(@"RemoveCastDesc"), @"noCast", &kNoCast, selfObject), [self switchWithTitle:@"RemoveCast" key:@"noCast"],
createSwitchItem(LOC(@"RemoveNotifications"), LOC(@"RemoveNotificationsDesc"), @"removeNotifsButton", &kNoNotifsButton, selfObject), [self switchWithTitle:@"RemoveNotifications" key:@"noNotifsButton"],
createSwitchItem(LOC(@"RemoveSearch"), LOC(@"RemoveSearchDesc"), @"removeSearchButton", &kNoSearchButton, selfObject), [self switchWithTitle:@"RemoveSearch" key:@"noSearchButton"],
createSwitchItem(LOC(@"RemoveVoiceSearch"), LOC(@"RemoveVoiceSearchDesc"), @"removeVoiceSearchButton", &kNoVoiceSearchButton, selfObject) [self switchWithTitle:@"RemoveVoiceSearch" key:@"noVoiceSearchButton"]
]; ];
if (kAdvancedMode) { if (ytlBool(@"advancedMode")) {
YTSettingsSectionItem *addStickyNavbar = createSwitchItem(LOC(@"StickyNavbar"), LOC(@"StickyNavbarDesc"), @"stickyNavbar", &kStickyNavbar, selfObject); rows = [rows arrayByAddingObjectsFromArray:@[
rows = [rows arrayByAddingObject:addStickyNavbar]; [self switchWithTitle:@"StickyNavbar" key:@"stickyNavbar"],
[self switchWithTitle:@"NoSubbar" key:@"noSubbar"],
YTSettingsSectionItem *addNoSubbar = createSwitchItem(LOC(@"NoSubbar"), LOC(@"NoSubbarDesc"), @"noSubbar", &kNoSubbar, selfObject); [self switchWithTitle:@"NoYTLogo" key:@"noYTLogo"],
rows = [rows arrayByAddingObject:addNoSubbar]; [self switchWithTitle:@"PremiumYTLogo" key:@"premiumYTLogo"]
]];
YTSettingsSectionItem *addNoYTLogo = createSwitchItem(LOC(@"NoYTLogo"), LOC(@"NoYTLogoDesc"), @"noYTLogo", &kNoYTLogo, selfObject);
rows = [rows arrayByAddingObject:addNoYTLogo];
} }
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Navbar") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Navbar") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:navbar]; [sectionItems addObject:navbar];
if (kAdvancedMode) { if (ytlBool(@"advancedMode")) {
YTSettingsSectionItem *overlay = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Overlay") YTSettingsSectionItem *overlay = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Overlay")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"HideAutoplay"), LOC(@"HideAutoplayDesc"), @"hideAutoplay", &kHideAutoplay, selfObject), [self switchWithTitle:@"HideAutoplay" key:@"hideAutoplay"],
createSwitchItem(LOC(@"HideSubs"), LOC(@"HideSubsDesc"), @"hideSubs", &kHideSubs, selfObject), [self switchWithTitle:@"HideSubs" key:@"hideSubs"],
createSwitchItem(LOC(@"NoHUDMsgs"), LOC(@"NoHUDMsgsDesc"), @"noHUDMsgs", &kNoHUDMsgs, selfObject), [self switchWithTitle:@"NoHUDMsgs" key:@"noHUDMsgs"],
createSwitchItem(LOC(@"HidePrevNext"), LOC(@"HidePrevNextDesc"), @"hidePrevNext", &kHidePrevNext, selfObject), [self switchWithTitle:@"HidePrevNext" key:@"hidePrevNext"],
createSwitchItem(LOC(@"ReplacePrevNext"), LOC(@"ReplacePrevNextDesc"), @"replacePrevNext", &kReplacePrevNext, selfObject), [self switchWithTitle:@"ReplacePrevNext" key:@"replacePrevNext"],
createSwitchItem(LOC(@"NoDarkBg"), LOC(@"NoDarkBgDesc"), @"noDarkBg", &kNoDarkBg, selfObject), [self switchWithTitle:@"NoDarkBg" key:@"noDarkBg"],
createSwitchItem(LOC(@"NoEndScreenCards"), LOC(@"NoEndScreenCardsDesc"), @"endScreenCards", &kEndScreenCards, selfObject), [self switchWithTitle:@"NoEndScreenCards" key:@"endScreenCards"],
createSwitchItem(LOC(@"NoFullscreenActions"), LOC(@"NoFullscreenActionsDesc"), @"noFullscreenActions", &kNoFullscreenActions, selfObject), [self switchWithTitle:@"NoFullscreenActions" key:@"noFullscreenActions"],
createSwitchItem(LOC(@"NoRelatedVids"), LOC(@"NoRelatedVidsDesc"), @"noRelatedVids", &kNoRelatedVids, selfObject), [self switchWithTitle:@"PersistentProgressBar" key:@"persistentProgressBar"],
createSwitchItem(LOC(@"NoPromotionCards"), LOC(@"NoPromotionCardsDesc"), @"noPromotionCards", &kNoPromotionCards, selfObject), [self switchWithTitle:@"StockVolumeHUD" key:@"stockVolumeHUD"],
createSwitchItem(LOC(@"NoWatermarks"), LOC(@"NoWatermarksDesc"), @"noWatermarks", &kNoWatermarks, selfObject) [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]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Overlay") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:overlay]; [sectionItems addObject:overlay];
YTSettingsSectionItem *player = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Player") YTSettingsSectionItem *player = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Player")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"Miniplayer"), LOC(@"MiniplayerDesc"), @"miniplayer", &kMiniplayer, selfObject), [self switchWithTitle:@"Miniplayer" key:@"miniplayer"],
createSwitchItem(LOC(@"DisableAutoplay"), LOC(@"DisableAutoplayDesc"), @"disableAutoplay", &kDisableAutoplay, selfObject), [self switchWithTitle:@"PortraitFullscreen" key:@"portraitFullscreen"],
createSwitchItem(LOC(@"NoContentWarning"), LOC(@"NoContentWarningDesc"), @"noContentWarning", &kNoContentWarning, selfObject), [self switchWithTitle:@"CopyWithTimestamp" key:@"copyWithTimestamp"],
createSwitchItem(LOC(@"ClassicQuality"), LOC(@"ClassicQualityDesc"), @"classicQuality", &kClassicQuality, selfObject), [self switchWithTitle:@"DisableAutoplay" key:@"disableAutoplay"],
createSwitchItem(LOC(@"ExtraSpeedOptions"), LOC(@"ExtraSpeedOptionsDesc"), @"extraSpeedOptions", &kExtraSpeedOptions, selfObject), [self switchWithTitle:@"DisableAutoCaptions" key:@"disableAutoCaptions"],
createSwitchItem(LOC(@"DontSnap2Chapter"), LOC(@"DontSnap2ChapterDesc"), @"dontSnapToChapter", &kDontSnapToChapter, selfObject), [self switchWithTitle:@"NoContentWarning" key:@"noContentWarning"],
createSwitchItem(LOC(@"RedProgressBar"), LOC(@"RedProgressBarDesc"), @"redProgressBar", &kRedProgressBar, selfObject), [self switchWithTitle:@"ClassicQuality" key:@"classicQuality"],
createSwitchItem(LOC(@"NoHints"), LOC(@"NoHintsDesc"), @"noHints", &kNoHints, selfObject), [self switchWithTitle:@"ExtraSpeedOptions" key:@"extraSpeedOptions"],
createSwitchItem(LOC(@"NoFreeZoom"), LOC(@"NoFreeZoomDesc"), @"noFreeZoom", &kNoFreeZoom, selfObject), [self switchWithTitle:@"DontSnap2Chapter" key:@"dontSnapToChapter"],
createSwitchItem(LOC(@"AutoFullscreen"), LOC(@"AutoFullscreenDesc"), @"autoFullscreen", &kAutoFullscreen, selfObject), [self switchWithTitle:@"NoTwoFingerSnapToChapter" key:@"noTwoFingerSnapToChapter"],
createSwitchItem(LOC(@"ExitFullscreen"), LOC(@"ExitFullscreenDesc"), @"exitFullscreen", &kExitFullscreen, selfObject), [self switchWithTitle:@"PauseOnOverlay" key:@"pauseOnOverlay"],
createSwitchItem(LOC(@"NoDoubleTap2Seek"), LOC(@"NoDoubleTap2SeekDesc"), @"noDoubleTapToSeek", &kNoDoubleTapToSeek, selfObject) [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]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Player") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:player]; [sectionItems addObject:player];
YTSettingsSectionItem *shorts = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Shorts") YTSettingsSectionItem *shorts = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Shorts")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"HideShorts"), LOC(@"HideShortsDesc"), @"hideShorts", &kHideShorts, selfObject), [self switchWithTitle:@"ShortsOnlyMode" key:@"shortsOnlyMode"],
createSwitchItem(LOC(@"ShortsProgress"), LOC(@"ShortsProgressDesc"), @"shortsProgress", &kShortsProgress, selfObject), [self switchWithTitle:@"AutoSkipShorts" key:@"autoSkipShorts"],
createSwitchItem(LOC(@"ResumeShorts"), LOC(@"ResumeShortsDesc"), @"resumeShorts", &kResumeShorts, selfObject), [self switchWithTitle:@"HideShorts" key:@"hideShorts"],
createSwitchItem(LOC(@"HideShortsLogo"), LOC(@"HideShortsLogoDesc"), @"hideShortsLogo", &kHideShortsLogo, selfObject), [self switchWithTitle:@"ShortsProgress" key:@"shortsProgress"],
createSwitchItem(LOC(@"HideShortsSearch"), LOC(@"HideShortsSearchDesc"), @"hideShortsSearch", &kHideShortsSearch, selfObject), [self switchWithTitle:@"PinchToFullscreenShorts" key:@"pinchToFullscreenShorts"],
createSwitchItem(LOC(@"HideShortsCamera"), LOC(@"HideShortsCameraDesc"), @"hideShortsCamera", &kHideShortsCamera, selfObject), [self switchWithTitle:@"ShortsToRegular" key:@"shortsToRegular"],
createSwitchItem(LOC(@"HideShortsMore"), LOC(@"HideShortsMoreDesc"), @"hideShortsMore", &kHideShortsMore, selfObject), [self switchWithTitle:@"ResumeShorts" key:@"resumeShorts"],
createSwitchItem(LOC(@"HideShortsSubscriptions"), LOC(@"HideShortsSubscriptionsDesc"), @"hideShortsSubscriptions", &kHideShortsSubscriptions, selfObject), [self switchWithTitle:@"HideShortsLogo" key:@"hideShortsLogo"],
createSwitchItem(LOC(@"HideShortsLike"), LOC(@"HideShortsLikeDesc"), @"hideShortsLike", &kHideShortsLike, selfObject), [self switchWithTitle:@"HideShortsSearch" key:@"hideShortsSearch"],
createSwitchItem(LOC(@"HideShortsDislike"), LOC(@"HideShortsDislikeDesc"), @"hideShortsDislike", &kHideShortsDislike, selfObject), [self switchWithTitle:@"HideShortsCamera" key:@"hideShortsCamera"],
createSwitchItem(LOC(@"HideShortsComments"), LOC(@"HideShortsCommentsDesc"), @"hideShortsComments", &kHideShortsComments, selfObject), [self switchWithTitle:@"HideShortsMore" key:@"hideShortsMore"],
createSwitchItem(LOC(@"HideShortsRemix"), LOC(@"HideShortsRemixDesc"), @"hideShortsRemix", &kHideShortsRemix, selfObject), [self switchWithTitle:@"HideShortsSubscriptions" key:@"hideShortsSubscriptions"],
createSwitchItem(LOC(@"HideShortsShare"), LOC(@"HideShortsShareDesc"), @"hideShortsShare", &kHideShortsShare, selfObject), [self switchWithTitle:@"HideShortsLike" key:@"hideShortsLike"],
createSwitchItem(LOC(@"HideShortsAvatars"), LOC(@"HideShortsAvatarsDesc"), @"hideShortsAvatars", &kHideShortsAvatars, selfObject), [self switchWithTitle:@"HideShortsDislike" key:@"hideShortsDislike"],
createSwitchItem(LOC(@"HideShortsThanks"), LOC(@"HideShortsThanksDesc"), @"hideShortsThanks", &kHideShortsThanks, selfObject), [self switchWithTitle:@"HideShortsComments" key:@"hideShortsComments"],
createSwitchItem(LOC(@"HideShortsChannelName"), LOC(@"HideShortsChannelNameDesc"), @"hideShortsChannelName", &kHideShortsChannelName, selfObject), [self switchWithTitle:@"HideShortsRemix" key:@"hideShortsRemix"],
createSwitchItem(LOC(@"HideShortsDescription"), LOC(@"HideShortsDescriptionDesc"), @"hideShortsDescription", &kHideShortsDescription, selfObject), [self switchWithTitle:@"HideShortsShare" key:@"hideShortsShare"],
createSwitchItem(LOC(@"HideShortsAudioTrack"), LOC(@"HideShortsAudioTrackDesc"), @"hideShortsAudioTrack", &kHideShortsAudioTrack, selfObject) [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]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Shorts") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:shorts]; [sectionItems addObject:shorts];
} }
YTSettingsSectionItem *tabbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Tabbar") YTSettingsSectionItem *tabbar = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Tabbar")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"RemoveLabels"), LOC(@"RemoveLabelsDesc"), @"removeLabels", &kRemoveLabels, selfObject), [self switchWithTitle:@"RemoveLabels" key:@"removeLabels"],
createSwitchItem(LOC(@"ReExplore"), LOC(@"ReExploreDesc"), @"reExplore", &kReExplore, selfObject), [self switchWithTitle:@"RemoveIndicators" key:@"removeIndicators"],
createSwitchItem(LOC(@"HideShortsTab"), LOC(@"HideShortsTabDesc"), @"removeShorts", &kRemoveShorts, selfObject), [self switchWithTitle:@"ReExplore" key:@"reExplore"],
createSwitchItem(LOC(@"HideSubscriptionsTab"), LOC(@"HideSubscriptionsTabDesc"), @"removeSubscriptions", &kRemoveSubscriptions, selfObject), [self switchWithTitle:@"AddExplore" key:@"addExplore"],
createSwitchItem(LOC(@"HideUploadButton"), LOC(@"HideUploadButtonDesc"), @"removeUploads", &kRemoveUploads, selfObject), [self switchWithTitle:@"HideShortsTab" key:@"removeShorts"],
createSwitchItem(LOC(@"HideLibraryTab"), LOC(@"HideLibraryTabDesc"), @"removeLibrary", &kRemoveLibrary, selfObject) [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]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Tabbar") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:tabbar]; [sectionItems addObject:tabbar];
if (kAdvancedMode) { if (ytlBool(@"advancedMode")) {
YTSettingsSectionItem *other = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Other") YTSettingsSectionItem *other = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Other")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
return @"‣"; return @"‣";
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSArray <YTSettingsSectionItem *> *rows = @[
createSwitchItem(LOC(@"RemovePlayNext"), LOC(@"RemovePlayNextDesc"), @"removePlayNext", &kRemovePlayNext, selfObject), [self switchWithTitle:@"CopyVideoInfo" key:@"copyVideoInfo"],
createSwitchItem(LOC(@"NoContinueWatching"), LOC(@"NoContinueWatchingDesc"), @"noContinueWatching", &kNoContinueWatching, selfObject) [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]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Other") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:other]; [sectionItems addObject:other];
[sectionItems addObject:space]; [sectionItems addObject:space];
YTSettingsSectionItem *startup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Startup") YTSettingsSectionItem *speed = [YTSettingsSectionItemClass itemWithTitle:LOC(@"HoldToSpeed")
accessibilityIdentifier:nil accessibilityIdentifier:@"YTLiteSectionItem"
detailTextBlock:^NSString *() { detailTextBlock:^NSString *() {
switch (kPivotIndex) { 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×"];
case 1: return speedLabels[ytlInt(@"speedIndex")];
return LOC(@"ShortsTab");
case 2:
return LOC(@"Subscriptions");
case 3:
return LOC(@"Library");
case 0:
default:
return LOC(@"Home");
}
} }
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ NSMutableArray <YTSettingsSectionItem *> *rows = [NSMutableArray array];
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Home") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *home, NSUInteger arg1) { 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×"];
kPivotIndex = 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]; [settingsViewController reloadData];
[self updateIntegerPrefsForKey:@"pivotIndex" intValue:kPivotIndex]; ytlSetInt((int)arg1, @"speedIndex");
return YES;
}],
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"ShortsTab") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *shorts, NSUInteger arg1) {
if (kRemoveShorts) {
YTAlertView *alertView = [%c(YTAlertView) infoDialog];
alertView.title = LOC(@"Warning");
alertView.subtitle = LOC(@"TabIsHidden");
[alertView show];
return NO;
} else {
kPivotIndex = 1;
[settingsViewController reloadData];
[self updateIntegerPrefsForKey:@"pivotIndex" intValue:kPivotIndex];
return YES; return YES;
}];
[rows addObject:item];
} }
}],
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Subscriptions") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *subscriptions, NSUInteger arg1) { YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"HoldToSpeed") pickerSectionTitle:nil rows:rows selectedItemIndex:ytlInt(@"speedIndex") parentResponder:[self parentResponder]];
if (kRemoveSubscriptions) {
YTAlertView *alertView = [%c(YTAlertView) infoDialog];
alertView.title = LOC(@"Warning");
alertView.subtitle = LOC(@"TabIsHidden");
[alertView show];
return NO;
} else {
kPivotIndex = 2;
[settingsViewController reloadData];
[self updateIntegerPrefsForKey:@"pivotIndex" intValue:kPivotIndex];
return YES;
}
}],
[YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Library") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *library, NSUInteger arg1) {
if (kRemoveLibrary) {
YTAlertView *alertView = [%c(YTAlertView) infoDialog];
alertView.title = LOC(@"Warning");
alertView.subtitle = LOC(@"TabIsHidden");
[alertView show];
return NO;
} else {
kPivotIndex = 3;
[settingsViewController reloadData];
[self updateIntegerPrefsForKey:@"pivotIndex" intValue:kPivotIndex];
return YES;
}
}]
];
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Startup") pickerSectionTitle:nil rows:rows selectedItemIndex:kPivotIndex parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; 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(@"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 *() {
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 *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, @"cellQualityIndex");
return YES;
}];
[rows addObject:item];
}
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 *() {
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 *tabLabels = @[LOC(@"Home"), LOC(@"Explore"), LOC(@"ShortsTab"), LOC(@"Subscriptions"), LOC(@"Library")];
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")] && !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 {
[settingsViewController reloadData];
ytlSetInt((int)arg1, @"pivotIndex");
return YES;
}
}];
[rows addObject:item];
}
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:startup];
} }
[sectionItems addObject:space]; [sectionItems addObject:space];
YTSettingsSectionItem *ps = [%c(YTSettingsSectionItem) itemWithTitle:@"PoomSmart" titleDescription:@"YouTube-X, YTNoPremium, YTClassicVideoQuality, YTShortsProgress, YTReExplore, SkipContentWarning, YTAutoFullscreen, YouTubeHeaders" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { YTSettingsSectionItem *support = [%c(YTSettingsSectionItem) itemWithTitle:LOC(@"SupportDevelopment") accessibilityIdentifier:@"YTLiteSectionItem" detailTextBlock:^NSString *() { return @"♡"; } selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/PoomSmart/"]]; YTDefaultSheetController *sheetController = [%c(YTDefaultSheetController) sheetControllerWithMessage:LOC(@"SupportDevelopment") subMessage:LOC(@"SupportDevelopmentDesc") delegate:nil parentResponder:nil];
YTActionSheetHeaderView *headerView = [sheetController valueForKey:@"_headerView"];
YTFormattedStringLabel *subtitle = [headerView valueForKey:@"_subtitleLabel"];
subtitle.numberOfLines = 0;
[headerView showHeaderDivider];
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"PayPal" iconImage:[self resizedImageNamed:@"paypal"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
[%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://paypal.me/dayanch96"]];
}]];
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"Github Sponsors" iconImage:[self resizedImageNamed:@"github"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
[%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/sponsors/dayanch96"]];
}]];
[sheetController addAction:[%c(YTActionSheetAction) actionWithTitle:@"Buy Me a Coffee" iconImage:[self resizedImageNamed:@"coffee"] secondaryIconImage:nil accessibilityIdentifier:nil handler:^ {
[%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://www.buymeacoffee.com/dayanch96"]];
}]];
[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 *miro = [%c(YTSettingsSectionItem) itemWithTitle:@"MiRO92" titleDescription:@"YTNoShorts" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { YTSettingsSectionItem *thanks = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Contributors")
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/MiRO92/"]]; 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 *lillie = [%c(YTSettingsSectionItem) itemWithTitle:@"Lillie" titleDescription:@"ExtraSpeedOptions" accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { YTSettingsSectionItem *sources = [YTSettingsSectionItemClass itemWithTitle:LOC(@"OpenSourceLibs")
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/LillieH1000"]]; 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"]
];
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker];
return YES;
}]; }];
YTSettingsSectionItem *dayanch96 = [%c(YTSettingsSectionItem) itemWithTitle:@"Dayanch96" titleDescription:LOC(@"Developer") accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { YTSettingsSectionItem *version = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Version")
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/Dayanch96/"]]; accessibilityIdentifier:@"YTLiteSectionItem"
}]; detailTextBlock:^NSString *() {
return @(OS_STRINGIFY(TWEAK_VERSION));
}
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[
[self switchWithTitle:@"Advanced" key:@"advancedMode"],
YTSettingsSectionItem *reset = [%c(YTSettingsSectionItem) itemWithTitle:LOC(@"ResetSettings") titleDescription:nil accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { [%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:^{ YTAlertView *alertView = [%c(YTAlertView) confirmationDialogWithAction:^{
resetYTLiteSettings(); [YTLUserDefaults resetUserDefaults];
[[UIApplication sharedApplication] performSelector:@selector(suspend)];
[NSThread sleepForTimeInterval:1.0];
exit(0); exit(0);
} }
actionTitle:LOC(@"Yes") actionTitle:LOC(@"Yes")
@@ -369,24 +601,28 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
alertView.title = LOC(@"Warning"); alertView.title = LOC(@"Warning");
alertView.subtitle = LOC(@"ResetMessage"); alertView.subtitle = LOC(@"ResetMessage");
[alertView show]; [alertView show];
return YES; return YES;
}]; }]
];
YTSettingsSectionItem *version = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Version") YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
accessibilityIdentifier:nil
detailTextBlock:^NSString *() {
return @(OS_STRINGIFY(TWEAK_VERSION));
}
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
NSArray <YTSettingsSectionItem *> *rows = @[ps, miro, lillie, dayanch96, space, createSwitchItem(LOC(@"Advanced"), nil, @"advancedMode", &kAdvancedMode, selfObject), reset];
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"About") pickerSectionTitle:LOC(@"Credits") rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
[settingsViewController pushViewController:picker]; [settingsViewController pushViewController:picker];
return YES; return YES;
}]; }];
[sectionItems addObject:thanks];
[sectionItems addObject:sources];
[sectionItems addObject:support];
[sectionItems addObject:version]; [sectionItems addObject:version];
[settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:@"YTLite" titleDescription:nil headerHidden:NO]; BOOL isNew = [settingsViewController respondsToSelector:@selector(setSectionItems:forCategory:title:icon:titleDescription:headerHidden:)];
isNew ? [settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:@"YTLite" icon:nil titleDescription:nil headerHidden:NO]
: [settingsViewController setSectionItems:sectionItems forCategory:YTLiteSection title:@"YTLite" titleDescription:nil headerHidden:NO];
} }
- (void)updateSectionForCategory:(NSUInteger)category withEntry:(id)entry { - (void)updateSectionForCategory:(NSUInteger)category withEntry:(id)entry {
@@ -395,4 +631,22 @@ static YTSettingsSectionItem *createSwitchItem(NSString *title, NSString *titleD
return; return;
} %orig; } %orig;
} }
%new
- (UIImage *)resizedImageNamed:(NSString *)iconName {
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:[NSBundle.ytl_defaultBundle pathForResource:iconName ofType:@"png"]]];
iconImageView.contentMode = UIViewContentModeScaleAspectFit;
iconImageView.clipsToBounds = YES;
iconImageView.frame = imageView.bounds;
[imageView addSubview:iconImageView];
[imageView.layer renderInContext:rendererContext.CGContext];
}];
return image;
}
%end %end
+24 -16
View File
@@ -71,31 +71,39 @@ static NSString *accessGroupID() {
} }
%end %end
%hook NSBundle BOOL isSelf() {
- (NSString *)bundleIdentifier {
NSArray *address = [NSThread callStackReturnAddresses]; NSArray *address = [NSThread callStackReturnAddresses];
Dl_info info = {0}; Dl_info info = {0};
if (dladdr((void *)[address[2] longLongValue], &info) == 0) if (dladdr((void *)[address[2] longLongValue], &info) == 0) return NO;
return %orig;
NSString *path = [NSString stringWithUTF8String:info.dli_fname]; NSString *path = [NSString stringWithUTF8String:info.dli_fname];
if ([path hasPrefix:NSBundle.mainBundle.bundlePath]) return [path hasPrefix:NSBundle.mainBundle.bundlePath];
return YT_BUNDLE_ID;
return %orig;
} }
%hook NSBundle
- (NSString *)bundleIdentifier {
return isSelf() ? YT_BUNDLE_ID : %orig;
}
- (NSDictionary *)infoDictionary {
NSDictionary *dict = %orig;
if (!isSelf())
return %orig;
NSMutableDictionary *info = [dict mutableCopy];
if (info[@"CFBundleIdentifier"]) info[@"CFBundleIdentifier"] = YT_BUNDLE_ID;
if (info[@"CFBundleDisplayName"]) info[@"CFBundleDisplayName"] = YT_NAME;
if (info[@"CFBundleName"]) info[@"CFBundleName"] = YT_NAME;
return info;
}
- (id)objectForInfoDictionaryKey:(NSString *)key { - (id)objectForInfoDictionaryKey:(NSString *)key {
if (!isSelf())
return %orig;
if ([key isEqualToString:@"CFBundleIdentifier"]) if ([key isEqualToString:@"CFBundleIdentifier"])
return YT_BUNDLE_ID; return YT_BUNDLE_ID;
if ([key isEqualToString:@"CFBundleDisplayName"] || [key isEqualToString:@"CFBundleName"]) if ([key isEqualToString:@"CFBundleDisplayName"] || [key isEqualToString:@"CFBundleName"])
return YT_NAME; return YT_NAME;
return %orig; return %orig;
} }
// Fix Google Sign in by @PoomSmart and @level3tjg (qnblackcat/uYouPlus#684)
- (NSDictionary *)infoDictionary {
NSMutableDictionary *info = %orig.mutableCopy;
NSString *altBundleIdentifier = info[@"ALTBundleIdentifier"];
if (altBundleIdentifier) info[@"CFBundleIdentifier"] = altBundleIdentifier;
return info;
}
%end %end
// Fix login for YouTube 18.13.2 and higher // Fix login for YouTube 18.13.2 and higher
@@ -133,6 +141,6 @@ static NSString *accessGroupID() {
%end %end
%ctor { %ctor {
NSString *embeddedMobileProvisionPath = [[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]; BOOL isAppStoreApp = [[NSFileManager defaultManager] fileExistsAtPath:[[NSBundle mainBundle] appStoreReceiptURL].path];
if ([[NSFileManager defaultManager] fileExistsAtPath:embeddedMobileProvisionPath]) %init(gSideloading); if (!isAppStoreApp) %init(gSideloading);
} }
+13
View File
@@ -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
+19
View File
@@ -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
+103
View File
@@ -0,0 +1,103 @@
/*
Copyright (c) 2011, Tony Million.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
//! Project version number for MacOSReachability.
FOUNDATION_EXPORT double ReachabilityVersionNumber;
//! Project version string for MacOSReachability.
FOUNDATION_EXPORT const unsigned char ReachabilityVersionString[];
/**
* Create NS_ENUM macro if it does not exist on the targeted version of iOS or OS X.
*
* @see http://nshipster.com/ns_enum-ns_options/
**/
#ifndef NS_ENUM
#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type
#endif
extern NSString *const kReachabilityChangedNotification;
typedef NS_ENUM(NSInteger, NetworkStatus) {
// Apple NetworkStatus Compatible Names.
NotReachable = 0,
ReachableViaWiFi = 2,
ReachableViaWWAN = 1
};
@class Reachability;
typedef void (^NetworkReachable)(Reachability * reachability);
typedef void (^NetworkUnreachable)(Reachability * reachability);
typedef void (^NetworkReachability)(Reachability * reachability, SCNetworkConnectionFlags flags);
@interface Reachability : NSObject
@property (nonatomic, copy) NetworkReachable reachableBlock;
@property (nonatomic, copy) NetworkUnreachable unreachableBlock;
@property (nonatomic, copy) NetworkReachability reachabilityBlock;
@property (nonatomic, assign) BOOL reachableOnWWAN;
+(instancetype)reachabilityWithHostname:(NSString*)hostname;
// This is identical to the function above, but is here to maintain
//compatibility with Apples original code. (see .m)
+(instancetype)reachabilityWithHostName:(NSString*)hostname;
+(instancetype)reachabilityForInternetConnection;
+(instancetype)reachabilityWithAddress:(void *)hostAddress;
+(instancetype)reachabilityForLocalWiFi;
+(instancetype)reachabilityWithURL:(NSURL*)url;
-(instancetype)initWithReachabilityRef:(SCNetworkReachabilityRef)ref;
-(BOOL)startNotifier;
-(void)stopNotifier;
-(BOOL)isReachable;
-(BOOL)isReachableViaWWAN;
-(BOOL)isReachableViaWiFi;
// WWAN may be available, but not active until a connection has been established.
// WiFi may require a connection for VPN on Demand.
-(BOOL)isConnectionRequired; // Identical DDG variant.
-(BOOL)connectionRequired; // Apple's routine.
// Dynamic, on demand connection?
-(BOOL)isConnectionOnDemand;
// Is user intervention required?
-(BOOL)isInterventionRequired;
-(NetworkStatus)currentReachabilityStatus;
-(SCNetworkReachabilityFlags)reachabilityFlags;
-(NSString*)currentReachabilityString;
-(NSString*)currentReachabilityFlags;
@end
+508
View File
@@ -0,0 +1,508 @@
/*
Copyright (c) 2011, Tony Million.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#import "Reachability.h"
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
NSString *const kReachabilityChangedNotification = @"kReachabilityChangedNotification";
@interface Reachability ()
@property (nonatomic, assign) SCNetworkReachabilityRef reachabilityRef;
@property (nonatomic, strong) dispatch_queue_t reachabilitySerialQueue;
@property (nonatomic, strong) id reachabilityObject;
-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags;
-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags;
@end
static NSString *reachabilityFlags(SCNetworkReachabilityFlags flags)
{
return [NSString stringWithFormat:@"%c%c %c%c%c%c%c%c%c",
#if TARGET_OS_IPHONE
(flags & kSCNetworkReachabilityFlagsIsWWAN) ? 'W' : '-',
#else
'X',
#endif
(flags & kSCNetworkReachabilityFlagsReachable) ? 'R' : '-',
(flags & kSCNetworkReachabilityFlagsConnectionRequired) ? 'c' : '-',
(flags & kSCNetworkReachabilityFlagsTransientConnection) ? 't' : '-',
(flags & kSCNetworkReachabilityFlagsInterventionRequired) ? 'i' : '-',
(flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ? 'C' : '-',
(flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ? 'D' : '-',
(flags & kSCNetworkReachabilityFlagsIsLocalAddress) ? 'l' : '-',
(flags & kSCNetworkReachabilityFlagsIsDirect) ? 'd' : '-'];
}
// Start listening for reachability notifications on the current run loop
static void TMReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info)
{
#pragma unused (target)
Reachability *reachability = ((__bridge Reachability*)info);
// We probably don't need an autoreleasepool here, as GCD docs state each queue has its own autorelease pool,
// but what the heck eh?
@autoreleasepool
{
[reachability reachabilityChanged:flags];
}
}
@implementation Reachability
#pragma mark - Class Constructor Methods
+(instancetype)reachabilityWithHostName:(NSString*)hostname
{
return [Reachability reachabilityWithHostname:hostname];
}
+(instancetype)reachabilityWithHostname:(NSString*)hostname
{
SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithName(NULL, [hostname UTF8String]);
if (ref)
{
id reachability = [[self alloc] initWithReachabilityRef:ref];
return reachability;
}
return nil;
}
+(instancetype)reachabilityWithAddress:(void *)hostAddress
{
SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress);
if (ref)
{
id reachability = [[self alloc] initWithReachabilityRef:ref];
return reachability;
}
return nil;
}
+(instancetype)reachabilityForInternetConnection
{
struct sockaddr_in zeroAddress;
bzero(&zeroAddress, sizeof(zeroAddress));
zeroAddress.sin_len = sizeof(zeroAddress);
zeroAddress.sin_family = AF_INET;
return [self reachabilityWithAddress:&zeroAddress];
}
+(instancetype)reachabilityForLocalWiFi
{
struct sockaddr_in localWifiAddress;
bzero(&localWifiAddress, sizeof(localWifiAddress));
localWifiAddress.sin_len = sizeof(localWifiAddress);
localWifiAddress.sin_family = AF_INET;
// IN_LINKLOCALNETNUM is defined in <netinet/in.h> as 169.254.0.0
localWifiAddress.sin_addr.s_addr = htonl(IN_LINKLOCALNETNUM);
return [self reachabilityWithAddress:&localWifiAddress];
}
+(instancetype)reachabilityWithURL:(NSURL*)url
{
id reachability;
NSString *host = url.host;
BOOL isIpAddress = [self isIpAddress:host];
if (isIpAddress)
{
NSNumber *port = url.port ?: [url.scheme isEqualToString:@"https"] ? @(443) : @(80);
struct sockaddr_in address;
address.sin_len = sizeof(address);
address.sin_family = AF_INET;
address.sin_port = htons([port intValue]);
address.sin_addr.s_addr = inet_addr([host UTF8String]);
reachability = [self reachabilityWithAddress:&address];
}
else
{
reachability = [self reachabilityWithHostname:host];
}
return reachability;
}
+(BOOL)isIpAddress:(NSString*)host
{
struct in_addr pin;
return 1 == inet_aton([host UTF8String], &pin);
}
// Initialization methods
-(instancetype)initWithReachabilityRef:(SCNetworkReachabilityRef)ref
{
self = [super init];
if (self != nil)
{
self.reachableOnWWAN = YES;
self.reachabilityRef = ref;
// We need to create a serial queue.
// We allocate this once for the lifetime of the notifier.
self.reachabilitySerialQueue = dispatch_queue_create("com.tonymillion.reachability", NULL);
}
return self;
}
-(void)dealloc
{
[self stopNotifier];
if(self.reachabilityRef)
{
CFRelease(self.reachabilityRef);
self.reachabilityRef = nil;
}
self.reachableBlock = nil;
self.unreachableBlock = nil;
self.reachabilityBlock = nil;
self.reachabilitySerialQueue = nil;
}
#pragma mark - Notifier Methods
// Notifier
// NOTE: This uses GCD to trigger the blocks - they *WILL NOT* be called on THE MAIN THREAD
// - In other words DO NOT DO ANY UI UPDATES IN THE BLOCKS.
// INSTEAD USE dispatch_async(dispatch_get_main_queue(), ^{UISTUFF}) (or dispatch_sync if you want)
-(BOOL)startNotifier
{
// allow start notifier to be called multiple times
if(self.reachabilityObject && (self.reachabilityObject == self))
{
return YES;
}
SCNetworkReachabilityContext context = { 0, NULL, NULL, NULL, NULL };
context.info = (__bridge void *)self;
if(SCNetworkReachabilitySetCallback(self.reachabilityRef, TMReachabilityCallback, &context))
{
// Set it as our reachability queue, which will retain the queue
if(SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, self.reachabilitySerialQueue))
{
// this should do a retain on ourself, so as long as we're in notifier mode we shouldn't disappear out from under ourselves
// woah
self.reachabilityObject = self;
return YES;
}
else
{
#ifdef DEBUG
NSLog(@"SCNetworkReachabilitySetDispatchQueue() failed: %s", SCErrorString(SCError()));
#endif
// UH OH - FAILURE - stop any callbacks!
SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL);
}
}
else
{
#ifdef DEBUG
NSLog(@"SCNetworkReachabilitySetCallback() failed: %s", SCErrorString(SCError()));
#endif
}
// if we get here we fail at the internet
self.reachabilityObject = nil;
return NO;
}
-(void)stopNotifier
{
// First stop, any callbacks!
SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL);
// Unregister target from the GCD serial dispatch queue.
SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, NULL);
self.reachabilityObject = nil;
}
#pragma mark - reachability tests
// This is for the case where you flick the airplane mode;
// you end up getting something like this:
//Reachability: WR ct-----
//Reachability: -- -------
//Reachability: WR ct-----
//Reachability: -- -------
// We treat this as 4 UNREACHABLE triggers - really apple should do better than this
#define testcase (kSCNetworkReachabilityFlagsConnectionRequired | kSCNetworkReachabilityFlagsTransientConnection)
-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags
{
BOOL connectionUP = YES;
if(!(flags & kSCNetworkReachabilityFlagsReachable))
connectionUP = NO;
if( (flags & testcase) == testcase )
connectionUP = NO;
#if TARGET_OS_IPHONE
if(flags & kSCNetworkReachabilityFlagsIsWWAN)
{
// We're on 3G.
if(!self.reachableOnWWAN)
{
// We don't want to connect when on 3G.
connectionUP = NO;
}
}
#endif
return connectionUP;
}
-(BOOL)isReachable
{
SCNetworkReachabilityFlags flags;
if(!SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
return NO;
return [self isReachableWithFlags:flags];
}
-(BOOL)isReachableViaWWAN
{
#if TARGET_OS_IPHONE
SCNetworkReachabilityFlags flags = 0;
if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
// Check we're REACHABLE
if(flags & kSCNetworkReachabilityFlagsReachable)
{
// Now, check we're on WWAN
if(flags & kSCNetworkReachabilityFlagsIsWWAN)
{
return YES;
}
}
}
#endif
return NO;
}
-(BOOL)isReachableViaWiFi
{
SCNetworkReachabilityFlags flags = 0;
if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
// Check we're reachable
if((flags & kSCNetworkReachabilityFlagsReachable))
{
#if TARGET_OS_IPHONE
// Check we're NOT on WWAN
if((flags & kSCNetworkReachabilityFlagsIsWWAN))
{
return NO;
}
#endif
return YES;
}
}
return NO;
}
// WWAN may be available, but not active until a connection has been established.
// WiFi may require a connection for VPN on Demand.
-(BOOL)isConnectionRequired
{
return [self connectionRequired];
}
-(BOOL)connectionRequired
{
SCNetworkReachabilityFlags flags;
if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
return (flags & kSCNetworkReachabilityFlagsConnectionRequired);
}
return NO;
}
// Dynamic, on demand connection?
-(BOOL)isConnectionOnDemand
{
SCNetworkReachabilityFlags flags;
if (SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) &&
(flags & (kSCNetworkReachabilityFlagsConnectionOnTraffic | kSCNetworkReachabilityFlagsConnectionOnDemand)));
}
return NO;
}
// Is user intervention required?
-(BOOL)isInterventionRequired
{
SCNetworkReachabilityFlags flags;
if (SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) &&
(flags & kSCNetworkReachabilityFlagsInterventionRequired));
}
return NO;
}
#pragma mark - reachability status stuff
-(NetworkStatus)currentReachabilityStatus
{
if([self isReachable])
{
if([self isReachableViaWiFi])
return ReachableViaWiFi;
#if TARGET_OS_IPHONE
return ReachableViaWWAN;
#endif
}
return NotReachable;
}
-(SCNetworkReachabilityFlags)reachabilityFlags
{
SCNetworkReachabilityFlags flags = 0;
if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags))
{
return flags;
}
return 0;
}
-(NSString*)currentReachabilityString
{
NetworkStatus temp = [self currentReachabilityStatus];
if(temp == ReachableViaWWAN)
{
// Updated for the fact that we have CDMA phones now!
return NSLocalizedString(@"Cellular", @"");
}
if (temp == ReachableViaWiFi)
{
return NSLocalizedString(@"WiFi", @"");
}
return NSLocalizedString(@"No Connection", @"");
}
-(NSString*)currentReachabilityFlags
{
return reachabilityFlags([self reachabilityFlags]);
}
#pragma mark - Callback function calls this method
-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags
{
if([self isReachableWithFlags:flags])
{
if(self.reachableBlock)
{
self.reachableBlock(self);
}
}
else
{
if(self.unreachableBlock)
{
self.unreachableBlock(self);
}
}
if(self.reachabilityBlock)
{
self.reachabilityBlock(self, flags);
}
// this makes sure the change notification happens on the MAIN THREAD
dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:kReachabilityChangedNotification
object:self];
});
}
#pragma mark - Debug Description
- (NSString *) description
{
NSString *description = [NSString stringWithFormat:@"<%@: %p (%@)>",
NSStringFromClass([self class]), self, [self currentReachabilityFlags]];
return description;
}
@end
+15
View File
@@ -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
+40
View File
@@ -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
+289 -115
View File
@@ -1,108 +1,46 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <rootless.h> #import <Photos/Photos.h>
#import "../YouTubeHeader/YTIGuideResponse.h" #import "Utils/NSBundle+YTLite.h"
#import "../YouTubeHeader/YTIGuideResponseSupportedRenderers.h" #import "Utils/YTLUserDefaults.h"
#import "../YouTubeHeader/YTIPivotBarSupportedRenderers.h" #import "Utils/Reachability.h"
#import "../YouTubeHeader/YTIPivotBarRenderer.h" #import "YouTubeHeaders.h"
#import "../YouTubeHeader/YTIBrowseRequest.h"
#import "../YouTubeHeader/YTISectionListRenderer.h"
#import "../YouTubeHeader/YTQTMButton.h"
#import "../YouTubeHeader/YTVideoQualitySwitchOriginalController.h"
#import "../YouTubeHeader/YTPlayerViewController.h"
#import "../YouTubeHeader/YTWatchController.h"
#import "../YouTubeHeader/YTPlayerOverlay.h"
#import "../YouTubeHeader/YTPlayerOverlayProvider.h"
#import "../YouTubeHeader/YTSettingsViewController.h"
#import "../YouTubeHeader/YTSettingsSectionItem.h"
#import "../YouTubeHeader/YTSettingsSectionItemManager.h"
#import "../YouTubeHeader/YTSettingsPickerViewController.h"
#import "../YouTubeHeader/YTUIUtils.h"
#import "../YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h"
extern NSBundle *YTLiteBundle(); #define LOC(key) [NSBundle.ytl_defaultBundle localizedStringForKey:key value:nil table:nil]
static inline NSString *LOC(NSString *key) { #define ytlBool(key) [[YTLUserDefaults standardUserDefaults] boolForKey:key]
NSBundle *tweakBundle = YTLiteBundle(); #define ytlInt(key) [[YTLUserDefaults standardUserDefaults] integerForKey:key]
return [tweakBundle localizedStringForKey:key value:nil table:nil];
}
BOOL kNoAds; #define ytlSetBool(value, key) [[YTLUserDefaults standardUserDefaults] setBool:(value) forKey:(key)]
BOOL kBackgroundPlayback; #define ytlSetInt(value, key) [[YTLUserDefaults standardUserDefaults] setInteger:(value) forKey:(key)]
BOOL kNoCast;
BOOL kNoNotifsButton; @interface YTTouchFeedbackController : YTCollectionViewCell
BOOL kNoSearchButton; @property (nonatomic, strong, readwrite) UIColor *feedbackColor;
BOOL kNoVoiceSearchButton; @end
BOOL kStickyNavbar;
BOOL kNoSubbar; @interface ABCSwitch : UIControl
BOOL kNoYTLogo; @property (nonatomic, strong, readwrite) UIColor *onTintColor;
BOOL kHideAutoplay; @end
BOOL kHideSubs;
BOOL kNoHUDMsgs; @interface YTSettingsCell ()
BOOL kHidePrevNext; - (void)setIndicatorIcon:(int)icon;
BOOL kReplacePrevNext; - (void)setTitleDescription:(id)titleDescription;
BOOL kNoDarkBg; @end
BOOL kEndScreenCards;
BOOL kNoFullscreenActions;
BOOL kNoRelatedVids;
BOOL kNoPromotionCards;
BOOL kNoWatermarks;
BOOL kMiniplayer;
BOOL kDisableAutoplay;
BOOL kNoContentWarning;
BOOL kClassicQuality;
BOOL kExtraSpeedOptions;
BOOL kDontSnapToChapter;
BOOL kRedProgressBar;
BOOL kNoHints;
BOOL kNoFreeZoom;
BOOL kAutoFullscreen;
BOOL kExitFullscreen;
BOOL kNoDoubleTapToSeek;
BOOL kHideShorts;
BOOL kShortsProgress;
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 kHideShortsChannelName;
BOOL kHideShortsDescription;
BOOL kHideShortsAudioTrack;
BOOL kRemoveLabels;
BOOL kReExplore;
BOOL kRemoveShorts;
BOOL kRemoveSubscriptions;
BOOL kRemoveUploads;
BOOL kRemoveLibrary;
BOOL kRemovePlayNext;
BOOL kNoContinueWatching;
BOOL kAdvancedMode;
int kPivotIndex;
@interface YTSettingsSectionItemManager (Custom) @interface YTSettingsSectionItemManager (Custom)
@property (nonatomic, strong) NSMutableDictionary *prefs; - (YTSettingsSectionItem *)switchWithTitle:(NSString *)title key:(NSString *)key;
@property (nonatomic, strong) NSString *prefsPath; - (YTSettingsSectionItem *)linkWithTitle:(NSString *)title description:(NSString *)description link:(NSString *)link;
- (void)updatePrefsForKey:(NSString *)key enabled:(BOOL)enabled; - (UIImage *)resizedImageNamed:(NSString *)iconName;
- (void)updateIntegerPrefsForKey:(NSString *)key intValue:(NSInteger)intValue;
@end @end
@interface YTPivotBarView : UIView @interface YTLightweightQTMButton ()
@property (nonatomic, assign, readwrite, getter=isShouldRaiseOnTouch) BOOL shouldRaiseOnTouch;
@end @end
@interface YTPivotBarItemView : UIView @interface YTQTMButton ()
@end @property (nonatomic, strong, readwrite) YTIButtonRenderer *buttonRenderer;
- (void)setSizeWithPaddingAndInsets:(BOOL)sizeWithPaddingAndInsets;
@interface YTPivotBarViewController : UIViewController - (BOOL)yt_isVisible;
- (void)selectItemWithPivotIdentifier:(id)pivotIndentifier;
@end @end
@interface YTRightNavigationButtons : UIView @interface YTRightNavigationButtons : UIView
@@ -110,17 +48,172 @@ int kPivotIndex;
@property (nonatomic, strong) YTQTMButton *searchButton; @property (nonatomic, strong) YTQTMButton *searchButton;
@end @end
@interface YTSearchViewController : UIViewController
@end
@interface YTNavigationBarTitleView : UIView @interface YTNavigationBarTitleView : UIView
@end @end
@interface YTChipCloudCell : UICollectionViewCell @interface YTChipCloudCell : UICollectionViewCell
@end @end
@interface YTPlayerViewController (YTAFS) @interface YTHeaderContentComboViewController : UIViewController
- (void)autoFullscreen; - (void)refreshPivotBar;
@end @end
@interface YTSegmentableInlinePlayerBarView @interface YTPivotBarViewController : UIViewController
@end
@interface YTAppViewController : UIViewController
@property (nonatomic, assign, readonly) YTPivotBarViewController *pivotBarViewController;
- (void)hidePivotBar;
- (void)showPivotBar;
@end
@interface YTPivotBarView : UIView
- (void)selectItemWithPivotIdentifier:(id)pivotIndentifier;
@end
@interface YTPivotBarViewController ()
@property (nonatomic, weak, readwrite) YTAppViewController *parentViewController;
@property (nonatomic, copy, readwrite) NSString *selectedPivotIdentifier;
- (YTPivotBarView *)pivotBarView;
- (void)selectItemWithPivotIdentifier:(id)pivotIndentifier;
@end
@interface YTPivotBarItemView : UIView
@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 YTTabsViewController : UIViewController
@property (nonatomic, weak, readwrite) YTScrollableNavigationController *navigationController;
@end
@interface YTIVideoDetails : NSObject
@property (nonatomic, copy, readwrite) NSString *title;
@property (nonatomic, copy, readwrite) NSString *shortDescription;
@end
@interface YTIPlayerResponse : NSObject
@property (nonatomic, assign, readonly) YTIVideoDetails *videoDetails;
@end
@interface YTPlayerResponse : NSObject
@property (nonatomic, assign, readonly) YTIPlayerResponse *playerData;
@end
@interface MLQuickMenuVideoQualitySettingFormatConstraint : NSObject
- (instancetype)initWithVideoQualitySetting:(int)settings formatSelectionReason:(NSInteger)reason qualityLabel:(NSString *)label;
@end
@interface MLFormat : NSObject
@property (nonatomic, assign, readonly) NSString *qualityLabel;
@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
@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 (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
@interface YTEngagementPanelHeaderView : UIView
@property (nonatomic, assign, readonly) YTQTMButton *closeButton;
@end
@interface YTWatchViewController : UIViewController
@property (nonatomic, weak, readwrite) YTPlayerViewController *playerViewController;
@end
@interface YTEngagementPanelContainerController : UIViewController
@property (nonatomic, weak, readwrite) YTWatchViewController *parentViewController;
@end
@interface YTEngagementPanelNavigationController : UIViewController
@property (nonatomic, weak, readwrite) YTEngagementPanelContainerController *parentViewController;
@end
@interface YTMainAppEngagementPanelViewController : UIViewController
@property (nonatomic, weak, readwrite) YTEngagementPanelNavigationController *parentViewController;
@end
@interface YTEngagementPanelView : UIView
@property (nonatomic, weak, readwrite) YTMainAppEngagementPanelViewController *resizeDelegate;
@property (nonatomic, copy, readwrite) YTEngagementPanelIdentifier *panelIdentifier;
@property (nonatomic, assign, readonly) YTEngagementPanelHeaderView *headerView;
- (void)didTapCopyInfoButton:(UIButton *)sender;
@end
@interface YTSegmentableInlinePlayerBarView : UIView
@property (nonatomic, assign, readonly) CGFloat totalTime;
@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter; @property (nonatomic, assign, readwrite) BOOL enableSnapToChapter;
@end @end
@@ -128,7 +221,7 @@ int kPivotIndex;
- (void)confirmAlertDidPressConfirm; - (void)confirmAlertDidPressConfirm;
@end @end
@interface YTReelPlayerButton : UIButton @interface YTReelPlayerButton : YTQTMButton
@end @end
@interface ELMCellNode @interface ELMCellNode
@@ -142,36 +235,117 @@ int kPivotIndex;
- (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath; - (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath;
@end @end
@interface YTReelWatchPlaybackOverlayView : UIView @interface YTReelTransparentStackView : UIStackView
@end @end
@interface YTReelTransparentStackView : UIView @interface YTELMView : UIView
@end @end
@interface YTReelWatchHeaderView : UIView @interface ASNodeAncestryEnumerator : NSEnumerator
@property (atomic, assign, readonly) NSMutableArray *allObjects;
@end @end
@interface MLHAMQueuePlayer : NSObject @interface ASDisplayNode ()
@property id playerEventCenter; @property (nonatomic, assign, readonly) UIViewController *closestViewController;
-(void)setRate:(float)rate; @property (atomic, assign, readonly) ASNodeAncestryEnumerator *supernodes;
// @property (atomic, copy, readwrite) NSArray *yogaChildren;
@property (atomic) CALayer *layer;
@end
@interface ELMContainerNode : ASDisplayNode
@property (nonatomic, strong, readwrite) NSString *copiedComment;
@property (nonatomic, strong, readwrite) NSURL *copiedURL;
@end
@interface ELMExpandableTextNode : ASDisplayNode
@property (atomic, assign, readonly) ASDisplayNode *currentTextNode;
@end
@interface ASNetworkImageNode : ASDisplayNode
@property (atomic, copy, readwrite) NSURL *URL;
@end
@interface YTImageZoomNode : ASNetworkImageNode
@end
@interface ASTextNode : ASDisplayNode
@property (atomic, copy, readwrite) NSAttributedString *attributedText;
@end
@interface _ASDisplayView : UIView
@property (nonatomic, strong, readwrite) ASDisplayNode *keepalive_node;
- (void)postManager:(UILongPressGestureRecognizer *)sender;
- (void)savePFP:(UILongPressGestureRecognizer *)sender;
- (void)commentManager:(UILongPressGestureRecognizer *)sender;
@end @end
@interface YTVarispeedSwitchControllerOption : NSObject @interface YTVarispeedSwitchControllerOption : NSObject
- (id)initWithTitle:(id)title rate:(float)rate; - (id)initWithTitle:(NSString *)title rate:(float)rate;
@end @end
@interface HAMPlayerInternal : NSObject @interface YTVarispeedSwitchController : NSObject
- (void)setRate:(float)rate; - (void)addActionForOption:(YTVarispeedSwitchControllerOption *)option;
@end @end
@interface MLPlayerEventCenter : NSObject @interface YTLabel : UILabel
- (void)broadcastRateChange:(float)rate; - (void)setFontAttributes:(id)attributes text:(NSString *)text;
@end @end
@interface YTAlertView : UIView @interface YTInlinePlayerScrubUserEducationView : UIView
@property (nonatomic, copy, readwrite) NSString *title; @property (nonatomic, assign, readwrite) NSUInteger labelType;
@property (nonatomic, copy, readwrite) NSString *subtitle; - (YTLabel *)userEducationLabel;
+ (instancetype)infoDialog; - (void)setVisible:(BOOL)visible;
+ (instancetype)confirmationDialogWithAction:(void (^)(void))action actionTitle:(NSString *)actionTitle cancelTitle:(NSString *)cancelTitle; @end
- (void)show;
@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
@end
@interface YTActionSheetHeaderView : UIView
- (void)showHeaderDivider;
@end
@interface YTActionSheetAction : NSObject
+ (instancetype)actionWithTitle:(NSString *)title iconImage:(UIImage *)image style:(NSInteger)style handler:(void (^)(void))handler;
+ (instancetype)actionWithTitle:(NSString *)title iconImage:(UIImage *)image secondaryIconImage:(UIImage *)secondaryIconImage accessibilityIdentifier:(NSString *)identifier handler:(void (^)(void))handler;
+ (instancetype)actionWithTitle:(NSString *)title titleColor:(UIColor *)titleColor iconImage:(UIImage *)image iconColor:(UIColor *)iconColor disableAutomaticButtonColor:(BOOL)autoColor accessibilityIdentifier:(NSString *)identifier handler:(void (^)(void))handler;
@end
@interface YTDefaultSheetController : NSObject
- (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;
+ (instancetype)sheetControllerWithMessage:(NSString *)message delegate:(id)delegate parentResponder:(id)parentResponder;
+ (instancetype)sheetControllerWithMessage:(NSString *)message subMessage:(NSString *)subMessage delegate:(id)delegate parentResponder:(id)parentResponder;
@end @end
+1022 -389
View File
File diff suppressed because it is too large Load Diff
+126
View File
@@ -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
+24
View File
@@ -0,0 +1,24 @@
#import "../YouTubeHeader/YTAlertView.h"
#import "../YouTubeHeader/YTIGuideResponse.h"
#import "../YouTubeHeader/YTIGuideResponseSupportedRenderers.h"
#import "../YouTubeHeader/YTIPivotBarSupportedRenderers.h"
#import "../YouTubeHeader/YTIPivotBarRenderer.h"
#import "../YouTubeHeader/YTIBrowseRequest.h"
#import "../YouTubeHeader/YTISectionListRenderer.h"
#import "../YouTubeHeader/YTQTMButton.h"
#import "../YouTubeHeader/YTIButtonRenderer.h"
#import "../YouTubeHeader/YTVideoQualitySwitchOriginalController.h"
#import "../YouTubeHeader/YTWatchController.h"
#import "../YouTubeHeader/YTPlayerOverlay.h"
#import "../YouTubeHeader/YTPlayerOverlayProvider.h"
#import "../YouTubeHeader/YTSettingsViewController.h"
#import "../YouTubeHeader/YTSettingsSectionItem.h"
#import "../YouTubeHeader/YTSettingsSectionItemManager.h"
#import "../YouTubeHeader/YTSettingsPickerViewController.h"
#import "../YouTubeHeader/YTUIUtils.h"
#import "../YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h"
#import "../YouTubeHeader/YTToastResponderEvent.h"
#import "../YouTubeHeader/YTPageStyleController.h"
#import "../YouTubeHeader/ASCollectionElement.h"
#import "../YouTubeHeader/ASCollectionView.h"
#import "../YouTubeHeader/ELMNodeController.h"
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

@@ -19,6 +19,8 @@
"NoSubbarDesc" = "Hides Subbar (All, New to you, Live etc.) under the Navigation bar."; "NoSubbarDesc" = "Hides Subbar (All, New to you, Live etc.) under the Navigation bar.";
"NoYTLogo" = "Remove YouTube logo"; "NoYTLogo" = "Remove YouTube logo";
"NoYTLogoDesc" = "Removes YouTube logo in the Navigation bar."; "NoYTLogoDesc" = "Removes YouTube logo in the Navigation bar.";
"PremiumYTLogo" = "Set Premium YouTube logo";
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
"Overlay" = "Overlay"; "Overlay" = "Overlay";
"HideAutoplay" = "Hide Autoplay switch"; "HideAutoplay" = "Hide Autoplay switch";
@@ -37,18 +39,32 @@
"NoEndScreenCardsDesc" = "Hides End screens (thumbnails) at the end of videos."; "NoEndScreenCardsDesc" = "Hides End screens (thumbnails) at the end of videos.";
"NoFullscreenActions" = "Disable fullscreen actions"; "NoFullscreenActions" = "Disable fullscreen actions";
"NoFullscreenActionsDesc" = "Disables actions panel in fullscreen mode."; "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"; "NoRelatedVids" = "No related videos in overlay";
"NoRelatedVidsDesc" = "Removes related videos displayed in the overlay by swiping up."; "NoRelatedVidsDesc" = "Removes related videos displayed in the overlay by swiping up.";
"NoPromotionCards" = "Hide Paid Promotion cards"; "NoPromotionCards" = "Hide Paid Promotion cards";
"NoPromotionCardsDesc" = "Hides \"Includes Paid Promotions\" card in promotions included videos."; "NoPromotionCardsDesc" = "Hides \"Includes Paid Promotions\" card in promotions included videos.";
"NoWatermarks" = "Hide Watermarks"; "NoWatermarks" = "Hide Watermarks";
"NoWatermarksDesc" = "Hides channel watermarks from the player."; "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"; "Player" = "Player";
"Miniplayer" = "Enable mini player"; "Miniplayer" = "Enable mini player";
"MiniplayerDesc" = "Enables the mini player for videos that were not originally designed for it, such as videos targeted for children."; "MiniplayerDesc" = "Enables the mini player for videos that were not originally designed for it, such as videos targeted for children.";
"DisableAutoplay" = "Disable Autoplay videos"; "PortraitFullscreen" = "Portrait fullscreen mode";
"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";
"DisableAutoplayDesc" = "Prevents video playback after opening."; "DisableAutoplayDesc" = "Prevents video playback after opening.";
"DisableAutoCaptions" = "Disable auto captions";
"DisableAutoCaptionsDesc" = "Prevents automatic activation of captions.";
"NoContentWarning" = "Skip content warning"; "NoContentWarning" = "Skip content warning";
"NoContentWarningDesc" = "Skips sensitive content warning message."; "NoContentWarningDesc" = "Skips sensitive content warning message.";
"ClassicQuality" = "Classic video quality"; "ClassicQuality" = "Classic video quality";
@@ -57,8 +73,18 @@
"ExtraSpeedOptionsDesc" = "Adds more video playback speed options to the player menu."; "ExtraSpeedOptionsDesc" = "Adds more video playback speed options to the player menu.";
"DontSnap2Chapter" = "Disable snap to chapter"; "DontSnap2Chapter" = "Disable snap to chapter";
"DontSnap2ChapterDesc" = "Disables skipping to the next episode by double-tap gesture."; "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"; "RedProgressBar" = "Red progress bar";
"RedProgressBarDesc" = "Brings back red progress bar."; "RedProgressBarDesc" = "Brings back red progress bar.";
"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.";
"NoHints" = "Disable hints"; "NoHints" = "Disable hints";
"NoHintsDesc" = "Disables hints by author which appears at the top-right corner during playback."; "NoHintsDesc" = "Disables hints by author which appears at the top-right corner during playback.";
"NoFreeZoom" = "Disable free zoom gesture"; "NoFreeZoom" = "Disable free zoom gesture";
@@ -73,22 +99,34 @@
"Tabbar" = "Tab bar"; "Tabbar" = "Tab bar";
"RemoveLabels" = "Remove labels"; "RemoveLabels" = "Remove labels";
"RemoveLabelsDesc" = "Removes tab labels."; "RemoveLabelsDesc" = "Removes tab labels.";
"RemoveIndicators" = "Remove indicators";
"RemoveIndicatorsDesc" = "Removes tab indicators.";
"ReExplore" = "Replace Shorts tab with Explore tab"; "ReExplore" = "Replace Shorts tab with Explore tab";
"ReExploreDesc" = "Shows Explore tab instead of Shorts tab as on old YouTube versions."; "ReExploreDesc" = "Shows Explore tab instead of Shorts tab as on old YouTube versions.";
"AddExplore" = "Add Explore tab";
"AddExploreDesc" = "Adds Explore tab to the Tab bar.";
"HideShortsTab" = "Hide Shorts tab"; "HideShortsTab" = "Hide Shorts tab";
"HideShortsTabDesc" = "Hides Shorts tab from the Tab bar"; "HideShortsTabDesc" = "Hides Shorts tab from the Tab bar.";
"HideSubscriptionsTab" = "Hide Subscriptions tab"; "HideSubscriptionsTab" = "Hide Subscriptions tab";
"HideSubscriptionsTabDesc" = "Hides Subscriptions tab from the Tab bar"; "HideSubscriptionsTabDesc" = "Hides Subscriptions tab from the Tab bar.";
"HideUploadButton" = "Hide Upload button"; "HideUploadButton" = "Hide Upload button";
"HideUploadButtonDesc" = "Hides Upload button from the Tab bar"; "HideUploadButtonDesc" = "Hides Upload button from the Tab bar.";
"HideLibraryTab" = "Hide Library tab"; "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"; "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"; "HideShorts" = "Hide Shorts videos";
"HideShortsDesc" = "Hides Shorts videos from Homepage, Recommended etc. (Not applied to Watch history)"; "HideShortsDesc" = "Hides Shorts videos from Homepage, Recommended etc. (Not applied to Watch history)";
"ShortsProgress" = "Enable progress bar"; "ShortsProgress" = "Enable progress bar";
"ShortsProgressDesc" = "Displays progress bar in the Shorts overlay."; "ShortsProgressDesc" = "Displays progress bar in the Shorts overlay.";
"PinchToFullscreenShorts" = "Pinch to Fullscreen";
"PinchToFullscreenShortsDesc" = "Manages visibility of the overlay with pinch in and pinch out gestures, displaying Shorts in fullscreen mode.";
"ShortsToRegular" = "Shorts to regular videos";
"ShortsToRegularDesc" = "Opens Shorts videos as regular videos.";
"ResumeShorts" = "Don't start from Shorts tab"; "ResumeShorts" = "Don't start from Shorts tab";
"ResumeShortsDesc" = "Prevents starting from Shorts videos at the opening app, which happens if YouTube was closed while watching Shorts."; "ResumeShortsDesc" = "Prevents starting from Shorts videos at the opening app, which happens if YouTube was closed while watching Shorts.";
"HideShortsLogo" = "Hide Shorts logo"; "HideShortsLogo" = "Hide Shorts logo";
@@ -115,6 +153,8 @@
"HideShortsAvatarsDesc" = "Hides profile picture in the bottom right corner."; "HideShortsAvatarsDesc" = "Hides profile picture in the bottom right corner.";
"HideShortsThanks" = "Hide Superthanks button"; "HideShortsThanks" = "Hide Superthanks button";
"HideShortsThanksDesc" = "Hides Superthanks (Donate) button from the Shorts overlay."; "HideShortsThanksDesc" = "Hides Superthanks (Donate) button from the Shorts overlay.";
"HideShortsSource" = "Hide Shorts Source";
"HideShortsSourceDesc" = "Hides the Shorts sources under the channel name.";
"HideShortsChannelName" = "Hide Channel name"; "HideShortsChannelName" = "Hide Channel name";
"HideShortsChannelNameDesc" = "Hides Channel name and Subscribe button from the Shorts overlay."; "HideShortsChannelNameDesc" = "Hides Channel name and Subscribe button from the Shorts overlay.";
"HideShortsDescription" = "Hide Description"; "HideShortsDescription" = "Hide Description";
@@ -123,10 +163,61 @@
"HideShortsAudioTrackDesc" = "Hides AudioTrack under Shorts description."; "HideShortsAudioTrackDesc" = "Hides AudioTrack under Shorts description.";
"Other" = "Other"; "Other" = "Other";
"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.";
"SaveProfilePhoto" = "Save profile picture";
"SaveProfilePhotoDesc" = "Saves profile picture to the Photos app by long tap.";
"CommentManager" = "Save comment information";
"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\""; "RemovePlayNext" = "Remove \"Play next in queue\"";
"RemovePlayNextDesc" = "Removes \"Play next in queue\" option from menu."; "RemovePlayNextDesc" = "Removes \"Play next in queue\" option from 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.";
"NoContinueWatching" = "Remove \"Continue watching\""; "NoContinueWatching" = "Remove \"Continue watching\"";
"NoContinueWatchingDesc" = "Removes the \"Continue watching\" section containing unfinished videos from the Home page."; "NoContinueWatchingDesc" = "Removes the \"Continue watching\" section containing unfinished videos from the Home page.";
"NoSearchHistory" = "Hide search history";
"NoSearchHistoryDesc" = "Visually hides search history and suggestions. Note: Your search history will still be accessible in your other YouTube clients.";
"NoRelatedWatchNexts" = "Hide all videos under player";
"NoRelatedWatchNextsDesc" = "Hides all videos below the player, leaving only the video info and comments section.";
"StickSortComments" = "Stick comments header";
"StickSortCommentsDesc" = "Pins sort comments header (Top, Newest) so that it won't disappear while scrolling.";
"HideSortComments" = "Hide comments header";
"HideSortCommentsDesc" = "Hides sort comments header (Top, Newest) so it will never appear.";
"PlaylistOldMinibar" = "Old playlist minibar";
"PlaylistOldMinibarDesc" = "Replaces the new floating playlist panel with the old one.";
"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";
"Default" = "Default";
"Best" = "Best";
"Startup" = "Startup page"; "Startup" = "Startup page";
"Home" = "Home"; "Home" = "Home";
@@ -137,12 +228,49 @@
"Warning" = "Warning"; "Warning" = "Warning";
"TabIsHidden" = "Hidden tab cannot be selected as startup page"; "TabIsHidden" = "Hidden tab cannot be selected as startup page";
"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"; "Version" = "Version";
"About" = "About"; "About" = "About";
"Credits" = "Credits"; "Credits" = "Credits";
"Developer" = "YTLite developer"; "Developer" = "YTLite developer";
"SpecialThanks" = "Special thanks";
"ChineseSimplified" = "Chinese (Simplified) localization";
"ChineseTraditional" = "Chinese (Traditional) localization";
"French" = "French localization";
"Spanish" = "Spanish localization";
"Japanese" = "Japanese localization";
"Vietnamese" = "Vietnamese localization";
"Advanced" = "Advanced mode"; "Advanced" = "Advanced mode";
"AdvancedDesc" = "More customizable mode";
"AdvancedModeReminder" = "Would you like to activate Advanced mode for YTLite?\n\nThis mode provides more than 50 additional options to customize and optimize your YouTube experience. You can enable/disable it later from Settings → %@ → %@ → %@.";
"ClearCache" = "Clear cache";
"ResetSettings" = "Reset YTLite settings"; "ResetSettings" = "Reset YTLite settings";
"ResetMessage" = "This option will reset YTLite settings to default and close YouTube.\n\nAre you sure you want to continue?"; "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"; "Yes" = "Yes";
"No" = "No"; "No" = "No";
"SelectAction" = "Select action";
"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";
"SaveCommentAsImage" = "Save comment as image";
"CopyCommentAsImage" = "Copy comment as image";
"SaveProfilePicture" = "Save profile picture";
"CopyProfilePicture" = "Copy profile picture";
"Cancel" = "Cancel";
"Copied" = "Copied to clipboard";
"Saved" = "Saved to Photos";
"Done" = "Done";
"Error" = "Error";
@@ -0,0 +1,276 @@
"General" = "General";
"RemoveAds" = "Eliminar anuncios";
"RemoveAdsDesc" = "Elimina los anuncios dentro de la aplicación.";
"BackgroundPlayback" = "Reproducción en segundo plano";
"BackgroundPlaybackDesc" = "Permite la reproducción en segundo plano.";
"Navbar" = "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";
"RemoveSearchDesc" = "Oculta el botón de Búsqueda de la barra de navegación.";
"RemoveVoiceSearch" = "Ocultar botón de Búsqueda por voz";
"RemoveVoiceSearchDesc" = "Oculta el botón de Búsqueda por voz de la barra de navegación.";
"StickyNavbar" = "Barra de navegación fija";
"StickyNavbarDesc" = "Mantiene fija la barra de navegación para que permanezca visible al desplazarse hacia abajo.";
"NoSubbar" = "Ocultar subbarra";
"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";
"HideAutoplayDesc" = "Oculta el interruptor de reproducción automática de la superposición.";
"HideSubs" = "Ocultar botón de subtítulos";
"HideSubsDesc" = "Oculta el botón de subtítulos de la superposición.";
"NoHUDMsgs" = "Ocultar mensajes de HUD";
"NoHUDMsgsDesc" = "Oculta todos los mensajes de funciones del reproductor. Ejemplo: CC está activado/desactivado, Repetir video está activado, etc.";
"HidePrevNext" = "Ocultar botones Anterior y Siguiente";
"HidePrevNextDesc" = "Oculta los botones de video Anterior y Siguiente de la superposición.";
"ReplacePrevNext" = "Botones de Avance rápido y Rebobinado";
"ReplacePrevNextDesc" = "Reemplaza los botones de video Anterior y Siguiente por botones de Avance rápido y Rebobinado en la superposición.";
"NoDarkBg" = "Eliminar fondo oscuro";
"NoDarkBgDesc" = "Elimina el fondo oscuro de la superposición.";
"NoEndScreenCards" = "Ocultar tarjetas emergentes de fin de pantalla";
"NoEndScreenCardsDesc" = "Oculta las tarjetas emergentes de fin de pantalla (miniaturas) al final de los vídeos.";
"NoFullscreenActions" = "Desactivar acciones en pantalla completa";
"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";
"MiniplayerDesc" = "Activa el mini reproductor para vídeos que no fueron diseñados originalmente para ello, como los vídeos dirigidos a niños.";
"PortraitFullscreen" = "Modo de pantalla completa vertical";
"PortraitFullscreenDesc" = "Activa el modo de pantalla completa vertical.";
"CopyWithTimestamp" = "Copiar enlaces con marca de tiempo";
"CopyWithTimestampDesc" = "Permite copiar el enlace con marca de tiempo en el portapapeles pulsando el botón de pausa.";
"DisableAutoplay" = "Desactivar reproducción automática";
"DisableAutoplayDesc" = "Evita la reproducción automática de vídeos después de abrirlos.";
"DisableAutoCaptions" = "Desactivar subtítulos automáticos";
"DisableAutoCaptionsDesc" = "Evita la activación automática de subtítulos.";
"NoContentWarning" = "Omitir advertencia de contenido";
"NoContentWarningDesc" = "Omite el mensaje de advertencia de contenido sensible.";
"ClassicQuality" = "Calidad de vídeo clásica";
"ClassicQualityDesc" = "Devuelve el menú clásico de selección de calidad de vídeo.";
"ExtraSpeedOptions" = "Opciones adicionales de velocidad";
"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" = "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";
"NoFreeZoomDesc" = "Desactiva los nuevos gestos de zoom libre.";
"AutoFullscreen" = "Reproducir vídeos en pantalla completa";
"AutoFullscreenDesc" = "Reproduce automáticamente los vídeos en modo de pantalla completa.";
"ExitFullscreen" = "Salir del modo de pantalla completa al finalizar";
"ExitFullscreenDesc" = "Sale del modo de pantalla completa al finalizar la reproducción del vídeo.";
"NoDoubleTap2Seek" = "Desactivar doble toque para buscar";
"NoDoubleTap2SeekDesc" = "Desactiva el gesto de doble toque para buscar.";
"Tabbar" = "Barra de pestañas";
"RemoveLabels" = "Eliminar etiquetas";
"RemoveLabelsDesc" = "Elimina las etiquetas de las pestañas.";
"RemoveIndicators" = "Eliminar indicadores";
"RemoveIndicatorsDesc" = "Elimina los indicadores de pestaña.";
"ReExplore" = "Reemplazar pestaña Shorts con pestaña Explorar";
"ReExploreDesc" = "Muestra la pestaña Explorar en lugar de la pestaña Shorts como en versiones antiguas de YouTube.";
"AddExplore" = "Añadir pestaña Explorar";
"AddExploreDesc" = "Añade la pestaña Explorar a la barra de pestañas.";
"HideShortsTab" = "Ocultar pestaña Shorts";
"HideShortsTabDesc" = "Oculta la pestaña Shorts de la barra de pestañas.";
"HideSubscriptionsTab" = "Ocultar pestaña Suscripciones";
"HideSubscriptionsTabDesc" = "Oculta la pestaña Suscripciones de la barra de pestañas.";
"HideUploadButton" = "Ocultar botón Subir";
"HideUploadButtonDesc" = "Oculta el botón Subir de la barra de pestañas.";
"HideLibraryTab" = "Ocultar pestaña Biblioteca";
"HideLibraryTabDesc" = "Oculta la pestaña Biblioteca de la barra de pestañas.";
"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";
"ShortsProgressDesc" = "Muestra una barra de progreso en la superposición de Shorts.";
"PinchToFullscreenShorts" = "Pellizcar para pantalla completa";
"PinchToFullscreenShortsDesc" = "Gestiona la visibilidad de la superposición con gestos de pellizcar para acercar y pellizcar para alejar, mostrando Shorts en modo de pantalla completa.";
"ShortsToRegular" = "De Shorts a vídeos normales";
"ShortsToRegularDesc" = "Abre los Shorts como vídeos normales.";
"ResumeShorts" = "No empezar desde la pestaña Shorts";
"ResumeShortsDesc" = "Evita empezar desde los vídeos Shorts al abrir la aplicación, lo cual ocurre si YouTube se cerró mientras se veían Shorts.";
"HideShortsLogo" = "Ocultar el logo de Shorts";
"HideShortsLogoDesc" = "Oculta el logo de Shorts en la esquina superior izquierda.";
"HideShortsSearch" = "Ocultar botón de búsqueda";
"HideShortsSearchDesc" = "Oculta el botón de búsqueda en la superposición de Shorts.";
"HideShortsCamera" = "Ocultar botón de cámara";
"HideShortsCameraDesc" = "Oculta el botón de cámara en la superposición de Shorts.";
"HideShortsMore" = "Ocultar botón Más (⋮)";
"HideShortsMoreDesc" = "Oculta el botón Más (⋮) en la superposición de Shorts. También se puede acceder manteniendo presionada la pantalla.";
"HideShortsSubscriptions" = "Ocultar botón de Suscripciones";
"HideShortsSubscriptionsDesc" = "Oculta el botón de Suscripciones que aparece cuando se pausa un vídeo Shorts.";
"HideShortsLike" = "Ocultar botón de Me gusta";
"HideShortsLikeDesc" = "Oculta el botón de Me gusta en la superposición de Shorts.";
"HideShortsDislike" = "Ocultar botón de No me gusta";
"HideShortsDislikeDesc" = "Oculta el botón de No me gusta en la superposición de Shorts.";
"HideShortsComments" = "Ocultar botón de Comentarios";
"HideShortsCommentsDesc" = "Oculta el botón de Comentarios en la superposición de Shorts.";
"HideShortsRemix" = "Ocultar botón de Remixer";
"HideShortsRemixDesc" = "Oculta el botón de Remixer en la superposición de Shorts.";
"HideShortsShare" = "Ocultar botón de Compartir";
"HideShortsShareDesc" = "Oculta el botón de Compartir en la superposición de Shorts.";
"HideShortsAvatars" = "Ocultar avatar de los canales";
"HideShortsAvatarsDesc" = "Oculta la imagen de perfil en la esquina inferior derecha.";
"HideShortsThanks" = "Ocultar botón de Supergracias";
"HideShortsThanksDesc" = "Oculta el botón de Supergracias (Donar) en la superposición de Shorts.";
"HideShortsSource" = "Ocultar fuente de Shorts";
"HideShortsSourceDesc" = "Oculta las fuentes Shorts bajo el nombre del canal.";
"HideShortsChannelName" = "Ocultar nombre del canal";
"HideShortsChannelNameDesc" = "Oculta el nombre del canal y el botón de Suscribirse en la superposición de Shorts.";
"HideShortsDescription" = "Ocultar descripción";
"HideShortsDescriptionDesc" = "Oculta la descripción de Shorts debajo del nombre del canal.";
"HideShortsAudioTrack" = "Ocultar pista de audio";
"HideShortsAudioTrackDesc" = "Oculta la pista de audio debajo de la descripción de Shorts.";
"Other" = "Otro";
"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" = "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" = "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";
"NoSearchHistoryDesc" = "Oculta visualmente el historial de búsqueda y las sugerencias. Nota: El historial de búsqueda seguirá siendo accesible en otros clientes de YouTube.";
"NoRelatedWatchNexts" = "Ocultar todos los vídeos del reproductor";
"NoRelatedWatchNextsDesc" = "Oculta todos los vídeos debajo del reproductor, dejando sólo la información del vídeo y la sección de comentarios.";
"StickSortComments" = "Pegar cabecera de comentarios";
"StickSortCommentsDesc" = "Los pines ordenan la cabecera de comentarios (Arriba, Más reciente) para que no desaparezca al desplazarse.";
"HideSortComments" = "Ocultar cabecera de comentarios";
"HideSortCommentsDesc" = "Oculta la cabecera de los comentarios de ordenación (Top, Newest) para que nunca aparezca.";
"PlaylistOldMinibar" = "Lista de reproducción antigua minibar";
"PlaylistOldMinibarDesc" = "Sustituye el nuevo panel flotante de listas de reproducción por el antiguo.";
"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).";
"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";
"Explore" = "Explorar";
"ShortsTab" = "Shorts";
"Subscriptions" = "Suscripciones";
"Library" = "Biblioteca";
"Warning" = "Advertencia";
"TabIsHidden" = "No se puede seleccionar una pestaña oculta como página de inicio";
"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" = "Traducción: vietnamita";
"Advanced" = "Modo avanzado";
"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" = "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" = "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" = "Hecho";
"Saved" = "Guardado en Fotos";
"Error" = "Error";
@@ -0,0 +1,276 @@
"General" = "Général";
"RemoveAds" = "Supprimer les publicités";
"RemoveAdsDesc" = "Supprime les publicités intégrées.";
"BackgroundPlayback" = "Lecture en arrière-plan";
"BackgroundPlaybackDesc" = "Active la lecture en arrière-plan.";
"Navbar" = "Barre de navigation";
"RemoveCast" = "Masquer le bouton Cast";
"RemoveCastDesc" = "Masque le bouton Cast de la barre de navigation.";
"RemoveNotifications" = "Masquer le bouton Notifications";
"RemoveNotificationsDesc" = "Masque le bouton Notifications de la barre de navigation.";
"RemoveSearch" = "Masquer le bouton Recherche";
"RemoveSearchDesc" = "Masque le bouton Recherche de la barre de navigation.";
"RemoveVoiceSearch" = "Masquer le bouton Recherche vocale";
"RemoveVoiceSearchDesc" = "Masque le bouton Recherche vocale de la barre de navigation.";
"StickyNavbar" = "Barre de navigation épinglée";
"StickyNavbarDesc" = "Épingle la barre de navigation pour qu'elle reste visible lors du défilement vers le bas.";
"NoSubbar" = "Masquer la sous-barre";
"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";
"HideAutoplayDesc" = "Masque le toggle de lecture automatique de l'overlay.";
"HideSubs" = "Masquer le bouton Sous-titres";
"HideSubsDesc" = "Masque le bouton Sous-titres de l'overlay.";
"NoHUDMsgs" = "Masquer les messages HUD";
"NoHUDMsgsDesc" = "Masque tous les messages des fonctionnalités du lecteur. Exemple: les sous-titres sont activés/désactivés, la boucle vidéo est activée, etc.";
"HidePrevNext" = "Masquer les boutons Précédent et Suivant";
"HidePrevNextDesc" = "Masque les boutons vidéo Précédent et Suivant de l'overlay.";
"ReplacePrevNext" = "Boutons Avance rapide et Retour rapide";
"ReplacePrevNextDesc" = "Remplace les boutons vidéo Précédent et Suivant par des boutons Avance rapide et Retour rapide dans l'overlay.";
"NoDarkBg" = "Supprimer l'arrière-plan sombre";
"NoDarkBgDesc" = "Supprime l'arrière-plan sombre de l'overlay.";
"NoEndScreenCards" = "Masquer les cartes de fin d'écran";
"NoEndScreenCardsDesc" = "Masque les cartes de fin d'écran (vignettes) à la fin des vidéos.";
"NoFullscreenActions" = "Désactiver les actions en plein écran";
"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";
"MiniplayerDesc" = "Active le mini-lecteur pour les vidéos qui n'étaient pas initialement conçues pour cela, comme les vidéos destinées aux enfants.";
"PortraitFullscreen" = "Mode plein écran en portrait";
"PortraitFullscreenDesc" = "Active la prise en charge du mode plein écran en portrait.";
"CopyWithTimestamp" = "Copier les liens avec horodatage";
"CopyWithTimestampDesc" = "Permet de copier les liens avec horodatage dans le presse-papiers en appuyant sur le bouton de pause.";
"DisableAutoplay" = "Désactiver la lecture automatique des vidéos";
"DisableAutoplayDesc" = "Empêche la lecture des vidéos après ouverture.";
"DisableAutoCaptions" = "Désactiver les sous-titres automatiques";
"DisableAutoCaptionsDesc" = "Empêche l'activation des sous-titres automatique.";
"NoContentWarning" = "Passer l'avertissement de contenu";
"NoContentWarningDesc" = "Ignore le message d'avertissement de contenu sensible.";
"ClassicQuality" = "Qualité vidéo classique";
"ClassicQualityDesc" = "Rétablit le menu de sélection de la qualité vidéo classique.";
"ExtraSpeedOptions" = "Options de vitesse supplémentaires";
"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";
"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.";
"NoHints" = "Désactiver les indices";
"NoHintsDesc" = "Désactive les indices de l'auteur qui apparaissent dans le coin supérieur droit pendant la lecture.";
"NoFreeZoom" = "Désactiver le geste de zoom libre";
"NoFreeZoomDesc" = "Désactive les nouveaux gestes de zoom libre.";
"AutoFullscreen" = "Lire les vidéos en plein écran";
"AutoFullscreenDesc" = "Lance automatiquement les vidéos en mode plein écran.";
"ExitFullscreen" = "Quitter le mode plein écran à la fin";
"ExitFullscreenDesc" = "Quitte le mode plein écran à la fin de la lecture de la vidéo.";
"NoDoubleTap2Seek" = "Désactiver le double tap pour chercher";
"NoDoubleTap2SeekDesc" = "Désactive le geste de double tap pour chercher.";
"Tabbar" = "Barre d'onglets";
"RemoveLabels" = "Supprimer les sous-titres";
"RemoveLabelsDesc" = "Supprime les sous-titres des onglets.";
"RemoveIndicators" = "Supprimer les indicateurs";
"RemoveIndicatorsDesc" = "Supprime les indicateurs d'onglets.";
"ReExplore" = "Remplacer l'onglet Shorts par l'onglet Explorer";
"ReExploreDesc" = "Affiche l'onglet Explorer à la place de l'onglet Shorts comme dans les anciennes versions de YouTube.";
"AddExplore" = "Ajouter l'onglet Explorer";
"AddExploreDesc" = "Ajoute l'onglet Explorer à la barre d'onglets.";
"HideShortsTab" = "Masquer l'onglet Shorts";
"HideShortsTabDesc" = "Masque l'onglet Shorts de la barre d'onglets";
"HideSubscriptionsTab" = "Masquer l'onglet Abonnements";
"HideSubscriptionsTabDesc" = "Masque l'onglet Abonnements de la barre d'onglets";
"HideUploadButton" = "Masquer le bouton de téléchargement";
"HideUploadButtonDesc" = "Masque le bouton de téléchargement de la barre d'onglets";
"HideLibraryTab" = "Masquer l'onglet Bibliothèque";
"HideLibraryTabDesc" = "Masque l'onglet Bibliothèque de la barre d'onglets";
"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";
"ShortsProgressDesc" = "Affiche la barre de progression dans l'overlay Shorts.";
"PinchToFullscreenShorts" = "Pincer pour plein écran";
"PinchToFullscreenShortsDesc" = "Gère la visibilité de l'overlay avec les gestes de pincement, affichant les Shorts en mode plein écran.";
"ShortsToRegular" = "Shorts vers vidéos normales";
"ShortsToRegularDesc" = "Ouvre les vidéos Shorts en tant que vidéos normales.";
"ResumeShorts" = "Ne pas démarrer depuis l'onglet Shorts";
"ResumeShortsDesc" = "Empêche de démarrer depuis les vidéos Shorts lors de l'ouverture de l'application, ce qui se produit si YouTube était fermé pendant la lecture des Shorts.";
"HideShortsLogo" = "Masquer le logo Shorts";
"HideShortsLogoDesc" = "Masque le logo Shorts dans le coin supérieur gauche.";
"HideShortsSearch" = "Masquer le bouton de recherche";
"HideShortsSearchDesc" = "Masque le bouton de recherche de l'overlay Shorts.";
"HideShortsCamera" = "Masquer le bouton de l'appareil photo";
"HideShortsCameraDesc" = "Masque le bouton de l'appareil photo de l'overlay Shorts.";
"HideShortsMore" = "Masquer le bouton Plus (⋮)";
"HideShortsMoreDesc" = "Masque le bouton Plus (⋮) de l'overlay Shorts. Il est également accessible en appuyant longuement sur l'écran.";
"HideShortsSubscriptions" = "Masquer le bouton Abonnements";
"HideShortsSubscriptionsDesc" = "Masque le bouton Abonnements qui apparaît lorsque les Shorts sont en pause.";
"HideShortsLike" = "Masquer le bouton J'aime";
"HideShortsLikeDesc" = "Masque le bouton J'aime de l'overlay Shorts.";
"HideShortsDislike" = "Masquer le bouton Je n'aime pas";
"HideShortsDislikeDesc" = "Masque le bouton Je n'aime pas de l'overlay Shorts.";
"HideShortsComments" = "Masquer le bouton Commentaires";
"HideShortsCommentsDesc" = "Masque le bouton Commentaires de l'overlay Shorts.";
"HideShortsRemix" = "Masquer le bouton Remix";
"HideShortsRemixDesc" = "Masque le bouton Remix de l'overlay Shorts.";
"HideShortsShare" = "Masquer le bouton Partager";
"HideShortsShareDesc" = "Masque le bouton Partager de l'overlay Shorts.";
"HideShortsAvatars" = "Masquer les avatars des chaînes";
"HideShortsAvatarsDesc" = "Masque la photo de profil dans le coin inférieur droit.";
"HideShortsThanks" = "Masquer le bouton Superthanks";
"HideShortsThanksDesc" = "Masque le bouton Superthanks (Don) de l'overlay Shorts.";
"HideShortsSource" = "Cacher la source des Shorts";
"HideShortsSourceDesc" = "Masque les sources des Shorts sous le nom de la chaîne.";
"HideShortsChannelName" = "Masquer le nom de la chaîne";
"HideShortsChannelNameDesc" = "Masque le nom de la chaîne et le bouton S'abonner de l'overlay Shorts.";
"HideShortsDescription" = "Masquer la description";
"HideShortsDescriptionDesc" = "Masque la description des Shorts sous le nom de la chaîne.";
"HideShortsAudioTrack" = "Masquer la piste audio";
"HideShortsAudioTrackDesc" = "Masque la piste audio sous la description des Shorts.";
"Other" = "Autre";
"CopyVideoInfo" = "Copier les informations vidéo";
"CopyVideoInfoDesc" = "Ajout d'un bouton permettant de copier le titre et la description de la vidéo dans le panneau Description de la vidéo.";
"PostManager" = "Save post information";
"PostManagerDesc" = "Allows to copy post text and save post as image by long tap.";
"SaveProfilePhoto" = "Enregistrer la photo de profil";
"SaveProfilePhotoDesc" = "Enregistre la photo de profil dans l'application Photos en appuyant longuement.";
"CommentManager" = "Save comment information";
"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\"";
"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.";
"NoContinueWatching" = "Supprimer \"Continuer à regarder\"";
"NoContinueWatchingDesc" = "Supprime la section \"Continuer à regarder\" contenant les vidéos inachevées de la page d'accueil.";
"NoSearchHistory" = "Masquer l'historique de recherche";
"NoSearchHistoryDesc" = "Masque visuellement l'historique de recherche et les suggestions. Note : Votre historique de recherche sera toujours accessible dans vos autres clients YouTube.";
"NoRelatedWatchNexts" = "Masquer toutes les vidéos sous le lecteur";
"NoRelatedWatchNextsDesc" = "Masque toutes les vidéos sous le lecteur, ne laissant que les informations sur la vidéo et la section des commentaires.";
"StickSortComments" = "Épingler l'en-tête des commentaires";
"StickSortCommentsDesc" = "Épingle l'en-tête de tri des commentaires (Meilleurs, Plus récents) pour qu'il ne disparaisse pas pendant le défilement.";
"HideSortComments" = "Masquer l'en-tête des commentaires";
"HideSortCommentsDesc" = "Masque l'en-tête de tri des commentaires (Meilleurs, Plus récents) pour qu'il n'apparaisse jamais.";
"PlaylistOldMinibar" = "Ancienne barre latérale de lecture";
"PlaylistOldMinibarDesc" = "Remplace le nouveau panneau de lecture flottant par l'ancien.";
"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";
"Default" = "Default";
"Best" = "Best";
"Startup" = "Page de démarrage";
"Home" = "Accueil";
"Explore" = "Explorer";
"ShortsTab" = "Shorts";
"Subscriptions" = "Abonnements";
"Library" = "Bibliothèque";
"Warning" = "Avertissement";
"TabIsHidden" = "L'onglet masqué ne peut pas être sélectionné comme page de démarrage";
"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";
"Spanish" = "Localisation espagnole";
"Japanese" = "Localisation japonaise";
"Vietnamese" = "Localisation vietnamienne";
"Advanced" = "Mode avancé";
"AdvancedDesc" = "More customizable mode";
"AdvancedModeReminder" = "Voulez-vous activer le mode avancé pour YTLite ?\n\nCe mode offre plus de 50 options supplémentaires pour personnaliser et optimiser votre expérience YouTube. Vous pouvez l'activer/désactiver ultérieurement depuis Paramètres → %@ → %@ → %@.";
"ClearCache" = "Effacer le cache";
"ResetSettings" = "Réinitialiser les paramètres YTLite";
"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";
"SelectAction" = "Sélectionner une action";
"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";
"SaveCommentAsImage" = "Save comment as image";
"CopyCommentAsImage" = "Copy comment as image";
"SaveProfilePicture" = "Save profile picture";
"CopyProfilePicture" = "Copy profile picture";
"Cancel" = "Annuler";
"Copied" = "Copié dans le presse-papiers";
"Saved" = "Enregistré dans Photos";
"Done" = "Terminé";
"Error" = "Erreur";
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

@@ -0,0 +1,276 @@
"General" = "一般";
"RemoveAds" = "広告を削除";
"RemoveAdsDesc" = "アプリ内の広告を削除します";
"BackgroundPlayback" = "バックグラウンド再生";
"BackgroundPlaybackDesc" = "バックグラウンドでの再生を有効にします";
"Navbar" = "ナビゲーションバー";
"RemoveCast" = "キャストボタンを非表示";
"RemoveCastDesc" = "ナビゲーションバーからキャストボタンを非表示にします";
"RemoveNotifications" = "通知ボタンを非表示";
"RemoveNotificationsDesc" = "ナビゲーションバーから通知ボタンを非表示にします";
"RemoveSearch" = "検索ボタンを非表示";
"RemoveSearchDesc" = "ナビゲーションバーから検索ボタンを非表示にします";
"RemoveVoiceSearch" = "音声検索ボタンを非表示";
"RemoveVoiceSearchDesc" = "ナビゲーションバーから音声検索ボタンを非表示にします";
"StickyNavbar" = "ナビゲーションバーを固定";
"StickyNavbarDesc" = "スクロール中もナビゲーションバーを固定して表示します";
"NoSubbar" = "サブバーを非表示";
"NoSubbarDesc" = "ナビゲーションバーの下にあるサブバー(すべて,音楽,ライブ など)を非表示にします";
"NoYTLogo" = "YouTubeロゴを削除";
"NoYTLogoDesc" = "ナビゲーションバーのYouTubeロゴを非表示にします";
"PremiumYTLogo" = "Set Premium YouTube logo";
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
"Overlay" = "オーバーレイ";
"HideAutoplay" = "自動再生スイッチを非表示";
"HideAutoplayDesc" = "オーバーレイから自動再生スイッチを非表示にします";
"HideSubs" = "字幕ボタンを非表示";
"HideSubsDesc" = "オーバーレイから字幕ボタンを非表示にします";
"NoHUDMsgs" = "HUDメッセージを非表示";
"NoHUDMsgsDesc" = "プレーヤーからすべての機能メッセージを非表示にします。例:字幕がオン/オフになりました, ループ再生はオンになっています など";
"HidePrevNext" = "前へ/次へボタンを非表示";
"HidePrevNextDesc" = "オーバーレイから前へ/次へのビデオボタンを非表示にします";
"ReplacePrevNext" = "早送り/巻き戻しボタンに置き換え";
"ReplacePrevNextDesc" = "オーバーレイの前へ/次へボタンを早送り/巻き戻しボタンに置き換えます";
"NoDarkBg" = "暗い背景を削除";
"NoDarkBgDesc" = "オーバーレイの暗い背景を削除します";
"NoEndScreenCards" = "エンドスクリーンのホバーカードを非表示";
"NoEndScreenCardsDesc" = "動画の終わりに表示されるエンドスクリーン(サムネイル)を非表示にします";
"NoFullscreenActions" = "フルスクリーンアクションを無効化";
"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" = "ミニプレーヤーを有効化";
"MiniplayerDesc" = "ミニプレーヤーに対応していない動画(子供向けの動画など)でもミニプレーヤーを有効にします";
"PortraitFullscreen" = "縦画面フルスクリーンモード";
"PortraitFullscreenDesc" = "縦画面フルスクリーンモードをサポートします";
"CopyWithTimestamp" = "タイムスタンプ付きリンクをコピー";
"CopyWithTimestampDesc" = "一時停止ボタンを押すことで、タイムスタンプ付きリンクをクリップボードにコピーできます";
"DisableAutoplay" = "自動再生を無効化";
"DisableAutoplayDesc" = "アプリを開いた後に動画の自動再生を防止します";
"DisableAutoCaptions" = "Disable auto captions";
"DisableAutoCaptionsDesc" = "Prevents automatic activation of captions.";
"NoContentWarning" = "コンテンツ警告をスキップ";
"NoContentWarningDesc" = "不適切なコンテンツの警告メッセージをスキップします";
"ClassicQuality" = "クラシックなビデオ品質";
"ClassicQualityDesc" = "クラシックなビデオ品質選択メニューを復元します";
"ExtraSpeedOptions" = "再生速度の追加オプション";
"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";
"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.";
"NoHints" = "ヒントを無効化";
"NoHintsDesc" = "再生中に右上に表示される投稿者のヒントを無効にします";
"NoFreeZoom" = "フリーズームジェスチャーを無効化";
"NoFreeZoomDesc" = "新しいフリーズームジェスチャーを無効にします";
"AutoFullscreen" = "動画をフルスクリーンで再生";
"AutoFullscreenDesc" = "動画を自動的にフルスクリーンモードで再生します";
"ExitFullscreen" = "再生終了時にフルスクリーンモードを終了";
"ExitFullscreenDesc" = "動画再生が終了したときにフルスクリーンモードを終了します";
"NoDoubleTap2Seek" = "ダブルタップでのシークを無効化";
"NoDoubleTap2SeekDesc" = "ダブルタップでのシークジェスチャーを無効にします";
"Tabbar" = "タブバー";
"RemoveLabels" = "ラベルを削除";
"RemoveLabelsDesc" = "タブラベルを削除します";
"RemoveIndicators" = "インジケーターを削除";
"RemoveIndicatorsDesc" = "タブインジケーターを削除します";
"ReExplore" = "ショートタブを探索タブに置き換え";
"ReExploreDesc" = "古いYouTubeバージョンのように、ショートタブの代わりに探索タブを表示します";
"AddExplore" = "Add Explore tab";
"AddExploreDesc" = "Adds Explore tab to the Tab bar.";
"HideShortsTab" = "ショートタブを非表示";
"HideShortsTabDesc" = "タブバーからショートタブを非表示にします";
"HideSubscriptionsTab" = "登録チャンネルタブを非表示";
"HideSubscriptionsTabDesc" = "タブバーから登録チャンネルタブを非表示にします";
"HideUploadButton" = "アップロードボタンを非表示";
"HideUploadButtonDesc" = "タブバーからアップロードボタンを非表示にします";
"HideLibraryTab" = "ライブラリタブを非表示";
"HideLibraryTabDesc" = "タブバーからライブラリタブを非表示にします";
"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" = "プログレスバーを有効化";
"ShortsProgressDesc" = "ショートオーバーレイにプログレスバーを表示します";
"PinchToFullscreenShorts" = "Pinch to Fullscreen";
"PinchToFullscreenShortsDesc" = "Manages visibility of the overlay with pinch in and pinch out gestures, displaying Shorts in fullscreen mode.";
"ShortsToRegular" = "Shorts to regular videos";
"ShortsToRegularDesc" = "Opens Shorts videos as regular videos.";
"ResumeShorts" = "ショートタブからの再開を防止";
"ResumeShortsDesc" = "ショートを視聴中にアプリを閉じた場合でも、ショートからの再開を防止します";
"HideShortsLogo" = "ショートロゴを非表示";
"HideShortsLogoDesc" = "左上隅のショートロゴを非表示にします";
"HideShortsSearch" = "検索ボタンを非表示";
"HideShortsSearchDesc" = "ショートオーバーレイから検索ボタンを非表示にします";
"HideShortsCamera" = "カメラボタンを非表示";
"HideShortsCameraDesc" = "ショートオーバーレイからカメラボタンを非表示にします";
"HideShortsMore" = "その他(⋮)ボタンを非表示";
"HideShortsMoreDesc" = "ショートオーバーレイからその他(⋮)ボタンを非表示にします。画面の長押しでアクセスも可能です";
"HideShortsSubscriptions" = "チャンネル登録ボタンを非表示";
"HideShortsSubscriptionsDesc" = "ショートが一時停止されたときに表示されるチャンネル登録ボタンを非表示にします";
"HideShortsLike" = "いいねボタンを非表示";
"HideShortsLikeDesc" = "ショートオーバーレイからいいねボタンを非表示にします";
"HideShortsDislike" = "低評価ボタンを非表示";
"HideShortsDislikeDesc" = "ショートオーバーレイから低評価ボタンを非表示にします";
"HideShortsComments" = "コメントボタンを非表示";
"HideShortsCommentsDesc" = "ショートオーバーレイからコメントボタンを非表示にします";
"HideShortsRemix" = "リミックスボタンを非表示";
"HideShortsRemixDesc" = "ショートオーバーレイからリミックスボタンを非表示にします";
"HideShortsShare" = "共有ボタンを非表示";
"HideShortsShareDesc" = "ショートオーバーレイから共有ボタンを非表示にします";
"HideShortsAvatars" = "チャンネルのアバターを非表示";
"HideShortsAvatarsDesc" = "右下隅のプロフィール画像を非表示にします";
"HideShortsThanks" = "スーパーサンクスボタンを非表示";
"HideShortsThanksDesc" = "ショートオーバーレイからスーパーサンクス(寄付)ボタンを非表示にします";
"HideShortsSource" = "Hide Shorts Source";
"HideShortsSourceDesc" = "Hides the Shorts sources under the channel name.";
"HideShortsChannelName" = "チャンネル名を非表示";
"HideShortsChannelNameDesc" = "ショートオーバーレイからチャンネル名とチャンネル登録ボタンを非表示にします";
"HideShortsDescription" = "説明を非表示";
"HideShortsDescriptionDesc" = "チャンネル名の下に表示されるショートの説明を非表示にします";
"HideShortsAudioTrack" = "オーディオトラックを非表示";
"HideShortsAudioTrackDesc" = "ショートの説明の下に表示されるオーディオトラックを非表示にします";
"Other" = "その他";
"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.";
"SaveProfilePhoto" = "Save profile picture";
"SaveProfilePhotoDesc" = "Saves profile picture to the Photos app by long tap.";
"CommentManager" = "Save comment information";
"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\"";
"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.";
"NoContinueWatching" = "\"続きを見る\"を削除";
"NoContinueWatchingDesc" = "ホームページに未完成の動画を含む\"続きを見る\"セクションを削除します";
"NoSearchHistory" = "検索履歴を非表示";
"NoSearchHistoryDesc" = "検索履歴とサジェストを視覚的に非表示にします。注意:検索履歴は他のYouTubeクライアントからアクセス可能です";
"NoRelatedWatchNexts" = "プレーヤー下のすべての動画を非表示";
"NoRelatedWatchNextsDesc" = "プレーヤー下に表示されるすべての動画を非表示にし、動画情報とコメントセクションのみにします";
"StickSortComments" = "コメントヘッダーを固定";
"StickSortCommentsDesc" = "コメントのソートヘッダー(トップ,最新)をスクロールしても消えないように固定します";
"HideSortComments" = "コメントヘッダーを非表示";
"HideSortCommentsDesc" = "コメントのソートヘッダー(トップ,最新)を表示しないようにします";
"PlaylistOldMinibar" = "古いプレイリストミニバー";
"PlaylistOldMinibarDesc" = "新しいフローティングプレイリストパネルを古いものに置き換えます";
"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";
"Default" = "Default";
"Best" = "Best";
"Startup" = "スタートアップページ";
"Home" = "ホーム";
"Explore" = "探索";
"ShortsTab" = "ショート";
"Subscriptions" = "登録チャンネル";
"Library" = "ライブラリ";
"Warning" = "警告";
"TabIsHidden" = "非表示のタブはスタートアップページとして選択できません";
"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" = "フランス語翻訳";
"Spanish" = "スペイン語翻訳";
"Japanese" = "日本語翻訳";
"Vietnamese" = "Vietnamese localization";
"Advanced" = "アドバンスモード";
"AdvancedDesc" = "More customizable mode";
"AdvancedModeReminder" = "YTLiteでアドバンスモードを有効にしますか?\n\nこのモードでは50以上の追加オプションを使用してYouTubeのカスタマイズと最適化が可能です。後で、設定 → %@ → %@ → %@から変更できます";
"ClearCache" = "Clear cache";
"ResetSettings" = "YTLiteの設定をリセット";
"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" = "いいえ";
"SelectAction" = "Select action";
"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";
"SaveCommentAsImage" = "Save comment as image";
"CopyCommentAsImage" = "Copy comment as image";
"SaveProfilePicture" = "Save profile picture";
"CopyProfilePicture" = "Copy profile picture";
"Cancel" = "Cancel";
"Copied" = "Copied to clipboard";
"Saved" = "Saved to Photos";
"Done" = "Done";
"Error" = "Error";
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

@@ -19,6 +19,8 @@
"NoSubbarDesc" = "Скрывает панель с наклейками (Все, Новое для вас, Сейчас в эфире и т.д.) под панелью навигации."; "NoSubbarDesc" = "Скрывает панель с наклейками (Все, Новое для вас, Сейчас в эфире и т.д.) под панелью навигации.";
"NoYTLogo" = "Скрыть логотип YouTube"; "NoYTLogo" = "Скрыть логотип YouTube";
"NoYTLogoDesc" = "Убирает логотип YouTube с панели навигации."; "NoYTLogoDesc" = "Убирает логотип YouTube с панели навигации.";
"PremiumYTLogo" = "Отображать Premium логотип";
"PremiumYTLogoDesc" = "Отображает логотип Premium в панели навигации.";
"Overlay" = "Настройки оверлея"; "Overlay" = "Настройки оверлея";
"HideAutoplay" = "Скрыть «Автовоспроизведение»"; "HideAutoplay" = "Скрыть «Автовоспроизведение»";
@@ -37,18 +39,32 @@
"NoEndScreenCardsDesc" = "Скрывает эскизы, отображаемые по окончанию видеоролика."; "NoEndScreenCardsDesc" = "Скрывает эскизы, отображаемые по окончанию видеоролика.";
"NoFullscreenActions" = "Отключить панель действий"; "NoFullscreenActions" = "Отключить панель действий";
"NoFullscreenActionsDesc" = "Отключает панель действий, отображающуюся под прогресс-баром плеера."; "NoFullscreenActionsDesc" = "Отключает панель действий, отображающуюся под прогресс-баром плеера.";
"PersistentProgressBar" = "Всегда отображать прогресс-бар";
"PersistentProgressBarDesc" = "Всегда отображает прогресс-бар внутри плеера.";
"StockVolumeHUD" = "Системный уровень громкости";
"StockVolumeHUDDesc" = "Отображает системную шкалу громкости в полноэкранном режиме.";
"NoRelatedVids" = "Скрыть рекомендации в оверлее"; "NoRelatedVids" = "Скрыть рекомендации в оверлее";
"NoRelatedVidsDesc" = "Скрывает рекомендации, отображаемые по свайпу вверх в плеере."; "NoRelatedVidsDesc" = "Скрывает рекомендации, отображаемые по свайпу вверх в плеере.";
"NoPromotionCards" = "Скрыть сообщение «Есть реклама»"; "NoPromotionCards" = "Скрыть сообщение «Есть реклама»";
"NoPromotionCardsDesc" = "Скрывает всплывающее сообщение «Есть реклама» в роликах со спонсорской рекламой."; "NoPromotionCardsDesc" = "Скрывает всплывающее сообщение «Есть реклама» в роликах со спонсорской рекламой.";
"NoWatermarks" = "Скрыть водяные знаки"; "NoWatermarks" = "Скрыть водяные знаки";
"NoWatermarksDesc" = "Скрывает значки каналов в плеере."; "NoWatermarksDesc" = "Скрывает значки каналов в плеере.";
"VideoEndTime" = "Показывать время окончания";
"VideoEndTimeDesc" = "Отображает, в каком часу закончится ролик.";
"24hrFormat" = "24-часовой формат";
"24hrFormatDesc" = "Отображает время окончания в 24-часовом формате.";
"Player" = "Настройки плеера"; "Player" = "Настройки плеера";
"Miniplayer" = "Разрешить миниплеер"; "Miniplayer" = "Разрешить миниплеер";
"MiniplayerDesc" = "Принудительно активирует миниплеер для видео, в которых изначально не был предназначен (например, видеоролики для детей)."; "MiniplayerDesc" = "Принудительно активирует миниплеер для видео, в которых изначально не был предназначен (например, видеоролики для детей).";
"PortraitFullscreen" = "Портретный полноэкранный режим";
"PortraitFullscreenDesc" = "Активирует поддержку портретного полноэкранного режима.";
"CopyWithTimestamp" = "Ссылки с временными отметками";
"CopyWithTimestampDesc" = "Позволяет скопировать ссылку на видео с временной отметкой в буфер обмена нажатием на кнопку паузы.";
"DisableAutoplay" = "Запретить автовоспроизведение"; "DisableAutoplay" = "Запретить автовоспроизведение";
"DisableAutoplayDesc" = "Принудительно запрещает автовоспроизведение видео при его открытии."; "DisableAutoplayDesc" = "Принудительно запрещает автовоспроизведение видео при его открытии.";
"DisableAutoCaptions" = "Запретить автоматические субтитры";
"DisableAutoCaptionsDesc" = "Отключает включенные по умолчанию субтитры";
"NoContentWarning" = "Пропускать предупреждения"; "NoContentWarning" = "Пропускать предупреждения";
"NoContentWarningDesc" = "Пропускает предупреждения, всплывающие перед воспроизведением некоторого контента."; "NoContentWarningDesc" = "Пропускает предупреждения, всплывающие перед воспроизведением некоторого контента.";
"ClassicQuality" = "Классический выбор качества"; "ClassicQuality" = "Классический выбор качества";
@@ -57,13 +73,23 @@
"ExtraSpeedOptionsDesc" = "Добавляет больше опций скорости воспроизведения в выпадающее меню плеера."; "ExtraSpeedOptionsDesc" = "Добавляет больше опций скорости воспроизведения в выпадающее меню плеера.";
"DontSnap2Chapter" = "Не перематывать эпизоды"; "DontSnap2Chapter" = "Не перематывать эпизоды";
"DontSnap2ChapterDesc" = "Отключает жест перемотки к следующему эпизоду двойным нажатием."; "DontSnap2ChapterDesc" = "Отключает жест перемотки к следующему эпизоду двойным нажатием.";
"NoTwoFingerSnapToChapter" = "Отключить касание двумя пальцами";
"NoTwoFingerSnapToChapterDesc" = "Отключает жест перемотки эпизодов двойным нажатием двумя пальцами.";
"PauseOnOverlay" = "Ставить на паузу с оверлеем";
"PauseOnOverlayDesc" = "Приостанавливает воспроизведение при появлении кнопок управления плеером.";
"RedProgressBar" = "Красный прогресс-бар"; "RedProgressBar" = "Красный прогресс-бар";
"RedProgressBarDesc" = "Возвращает красный прогресс-бар вместо нового, серого цвета."; "RedProgressBarDesc" = "Возвращает красный прогресс-бар вместо нового, серого цвета.";
"NoPlayerRemixButton" = "Убрать кнопку «Ремикс»";
"NoPlayerRemixButtonDesc" = "Убирает кнопку «Ремикс» под плеером.";
"NoPlayerClipButton" = "Убрать кнопку «Создать клип»";
"NoPlayerClipButtonDesc" = "Убирает кнопку «Создать клип» под плеером.";
"NoPlayerDownloadButton" = "Убрать кнопку «Скачать»";
"NoPlayerDownloadButtonDesc" = "Убирает кнопку «Скачать» под плеером.";
"NoHints" = "Отключить подсказки"; "NoHints" = "Отключить подсказки";
"NoHintsDesc" = "Скрывает подсказки от авторов видео, появляющиеся в правом верхнем углу."; "NoHintsDesc" = "Скрывает подсказки от авторов видео, появляющиеся в правом верхнем углу.";
"NoFreeZoom" = "Отключить жесты для зума"; "NoFreeZoom" = "Отключить жесты для зума";
"NoFreeZoomDesc" = "Отключает жесты приближения для нового зума."; "NoFreeZoomDesc" = "Отключает жесты приближения для нового зума.";
"AutoFullscreen" = "Воспроизводить в полноэкранном режиме"; "AutoFullscreen" = "Открывать в полноэкранном режиме";
"AutoFullscreenDesc" = "Автоматически воспроизводит ролики в полноэкранном режиме."; "AutoFullscreenDesc" = "Автоматически воспроизводит ролики в полноэкранном режиме.";
"ExitFullscreen" = "Автовыход из полноэкранного режима"; "ExitFullscreen" = "Автовыход из полноэкранного режима";
"ExitFullscreenDesc" = "Выходит из полноэкранного режима по окончанию воспроизведения."; "ExitFullscreenDesc" = "Выходит из полноэкранного режима по окончанию воспроизведения.";
@@ -73,8 +99,12 @@
"Tabbar" = "Панель вкладок"; "Tabbar" = "Панель вкладок";
"RemoveLabels" = "Скрыть названия"; "RemoveLabels" = "Скрыть названия";
"RemoveLabelsDesc" = "Скрывает названия вкладок."; "RemoveLabelsDesc" = "Скрывает названия вкладок.";
"RemoveIndicators" = "Скрыть индикаторы";
"RemoveIndicatorsDesc" = "Скрывает индикаторы вкладок.";
"ReExplore" = "Вкладка «Навигация» вместо «Shorts»"; "ReExplore" = "Вкладка «Навигация» вместо «Shorts»";
"ReExploreDesc" = "Заменяет вкладку «Shorts» на привычную нам «Навигацию»."; "ReExploreDesc" = "Заменяет вкладку «Shorts» на привычную нам «Навигацию».";
"AddExplore" = "Добавить вкладку «Навигация»";
"AddExploreDesc" = "Добавляет вкладку «Навигация» в панель вкладок.";
"HideShortsTab" = "Скрыть «Shorts»"; "HideShortsTab" = "Скрыть «Shorts»";
"HideShortsTabDesc" = "Скрывает вкладку «Shorts» с панели вкладок."; "HideShortsTabDesc" = "Скрывает вкладку «Shorts» с панели вкладок.";
"HideSubscriptionsTab" = "Скрыть «Подписки»"; "HideSubscriptionsTab" = "Скрыть «Подписки»";
@@ -82,13 +112,21 @@
"HideUploadButton" = "Скрыть «Создать» (+)"; "HideUploadButton" = "Скрыть «Создать» (+)";
"HideUploadButtonDesc" = "Скрывает кнопку «Создать» с панели вкладок."; "HideUploadButtonDesc" = "Скрывает кнопку «Создать» с панели вкладок.";
"HideLibraryTab" = "Скрыть «Библиотеку»"; "HideLibraryTab" = "Скрыть «Библиотеку»";
"HideLibraryTabDesc" = "Скрывает вкладку «Библиотека» с панели вкладок."; "HideLibraryTabDesc" = "Скрывает вкладку «Библиотека» с панели вкладок.\n\nДанную вкладку можно восстановить долгим нажатием по вкладке «Главная»";
"Shorts" = "Настройки Shorts"; "Shorts" = "Настройки Shorts";
"ShortsOnlyMode" = "Режим Shorts";
"ShortsOnlyModeDesc" = "Ограничивает функциональность YouTube до отображения видеороликов Shorts";
"AutoSkipShorts" = "Автопереход к следующему";
"AutoSkipShortsDesc" = "Переключается на следующий Shorts по окончанию воспроизведения.";
"HideShorts" = "Скрыть видеоролики Shorts"; "HideShorts" = "Скрыть видеоролики Shorts";
"HideShortsDesc" = "Скрывает видеоролики, помеченные как Shorts с Главного экрана, Рекомендаций и т.д. (Не применяется к истории просмотров)"; "HideShortsDesc" = "Скрывает видеоролики, помеченные как Shorts с Главного экрана, Рекомендаций и т.д. (Не применяется к истории просмотров)";
"ShortsProgress" = "Показывать прогресс-бар"; "ShortsProgress" = "Показывать прогресс-бар";
"ShortsProgressDesc" = "Отображает прогресс-бар в плеере Shorts."; "ShortsProgressDesc" = "Отображает прогресс-бар в плеере Shorts.";
"PinchToFullscreenShorts" = "Полноэкранный режим щипком";
"PinchToFullscreenShortsDesc" = "Скрывает панель вкладок, тем самым отображает Shorts на весь экран.";
"ShortsToRegular" = "Shorts как обычные видео";
"ShortsToRegularDesc" = "Воспроизводит видеоролики Shorts в обычном проигрывателе.";
"ResumeShorts" = "Всегда запускать с Главной страницы"; "ResumeShorts" = "Всегда запускать с Главной страницы";
"ResumeShortsDesc" = "Предотвращает запуск видеороликов Shorts при открытии YouTube. Это происходит, если закрыть YouTube при просмотре Shorts."; "ResumeShortsDesc" = "Предотвращает запуск видеороликов Shorts при открытии YouTube. Это происходит, если закрыть YouTube при просмотре Shorts.";
"HideShortsLogo" = "Скрыть логотип Shorts"; "HideShortsLogo" = "Скрыть логотип Shorts";
@@ -115,6 +153,8 @@
"HideShortsAvatarsDesc" = "Скрывает аватарку пользователя в правом нижнем углу."; "HideShortsAvatarsDesc" = "Скрывает аватарку пользователя в правом нижнем углу.";
"HideShortsThanks" = "Скрыть «Суперспасибо»"; "HideShortsThanks" = "Скрыть «Суперспасибо»";
"HideShortsThanksDesc" = "Скрывает кнопку отправки доната (суперспасибо) с плеера Shorts."; "HideShortsThanksDesc" = "Скрывает кнопку отправки доната (суперспасибо) с плеера Shorts.";
"HideShortsSource" = "Скрыть источник Shorts";
"HideShortsSourceDesc" = "Скрывает источники Shorts под названием канала.";
"HideShortsChannelName" = "Скрыть название канала"; "HideShortsChannelName" = "Скрыть название канала";
"HideShortsChannelNameDesc" = "Скрывает название канала и кнопку «Подписаться» с плеера Shorts."; "HideShortsChannelNameDesc" = "Скрывает название канала и кнопку «Подписаться» с плеера Shorts.";
"HideShortsDescription" = "Скрыть описание ролика"; "HideShortsDescription" = "Скрыть описание ролика";
@@ -123,10 +163,61 @@
"HideShortsAudioTrackDesc" = "Скрывает информацию об аудиодорожке в нижней части плеера."; "HideShortsAudioTrackDesc" = "Скрывает информацию об аудиодорожке в нижней части плеера.";
"Other" = "Другие настройки"; "Other" = "Другие настройки";
"CopyVideoInfo" = "Копировать информацию о видео";
"CopyVideoInfoDesc" = "Добавляет кнопку для копирования названия и описания видео в панель описания видео.";
"PostManager" = "Сохранять информацию с постов";
"PostManagerDesc" = "Позволяет скопировать текст из поста или сохранить пост как фото долгим нажатием по нему.";
"SaveProfilePhoto" = "Сохранять фото профиля";
"SaveProfilePhotoDesc" = "Сохраняет фото профиля в «Фото» долгим нажатием по нему.";
"CommentManager" = "Сохранять информацию с комментариев";
"CommentManagerDesc" = "Позволяет скопировать текст из комментария или сохранить комментарий как фото долгим нажатием по нему.";
"NativeShare" = "Системное меню «Поделиться»";
"NativeShareDesc" = "Выводит системное меню «Поделиться» при отправке контента.";
"FixAlbums" = "Исправить отображение обложек";
"FixAlbumsDesc" = "Исправляет отображение обложек в том случае, если вы из России.";
"RemovePlayNext" = "Убрать «Добавить в начало очереди»"; "RemovePlayNext" = "Убрать «Добавить в начало очереди»";
"RemovePlayNextDesc" = "Убирает опцию «Добавить в начало очереди» из меню видео."; "RemovePlayNextDesc" = "Убирает опцию «Добавить в начало очереди» из меню видео.";
"RemoveDownloadMenu" = "Убрать «Скачать»";
"RemoveDownloadMenuDesc" = "Убирает «Скачать» из меню видео.";
"RemoveWatchLaterMenu" = "Убрать «Смотреть позже»";
"RemoveWatchLaterMenuDesc" = "Убирает «Смотреть позже» из меню видео.";
"RemoveSaveToPlaylistMenu" = "Убрать «Добавить в плейлист»";
"RemoveSaveToPlaylistMenuDesc" = "Убирает «Добавить в плейлист» из меню видео.";
"RemoveShareMenu" = "Убрать «Поделиться»";
"RemoveShareMenuDesc" = "Убирает «Поделиться» из меню видео.";
"RemoveNotInterestedMenu" = "Убрать «Не интересует»";
"RemoveNotInterestedMenuDesc" = "Убирает «Не интересует» из меню видео.";
"RemoveDontRecommendMenu" = "Убрать «Не рекомендовать»";
"RemoveDontRecommendMenuDesc" = "Убирает «Не рекомендовать видео с этого канала» из меню видео.";
"RemoveReportMenu" = "Убрать «Пожаловаться»";
"RemoveReportMenuDesc" = "Убирает «Пожаловаться» из меню видео.";
"NoContinueWatching" = "Отключить «Продолжить просмотр»"; "NoContinueWatching" = "Отключить «Продолжить просмотр»";
"NoContinueWatchingDesc" = "Удаляет блок «Продолжить просмотр» содержащий недосмотренные видео с Главной страницы."; "NoContinueWatchingDesc" = "Удаляет блок «Продолжить просмотр» содержащий недосмотренные видео с Главной страницы.";
"NoSearchHistory" = "Скрыть историю поиска";
"NoSearchHistoryDesc" = "Визуально скрывает историю поиска и подсказок. Данная опция не отменяет трекинг вашей истории поиска.";
"NoRelatedWatchNexts" = "Скрыть все видео под плеером";
"NoRelatedWatchNextsDesc" = "Скрывает все видео под плеером, оставляя только информацию о видео и раздел комментариев.";
"StickSortComments" = "Закрепить панель комментариев";
"StickSortCommentsDesc" = "Закрепляет панель сортировки комментариев, чтобы она не терялись при прокрутке.";
"HideSortComments" = "Скрыть панель комментариев";
"HideSortCommentsDesc" = "Скрывает панель сортировки комментариев.";
"PlaylistOldMinibar" = "Отображать старую панель плейлистов";
"PlaylistOldMinibarDesc" = "Заменяет новую, плавающую панель плейлистов, на старую.";
"DisableRTL" = "Запретить формат «справа налево»";
"DisableRTLDesc" = "Принудительно отображает текст в формате слева направо для языков, изначально отображающихся в формате справа налево.";
"HoldToSpeed" = "Ускорение долгим нажатием";
"Disable" = "Отключено";
"Disabled" = "Отключить";
"PlaybackSpeed" = "Скорость воспроизведения";
"DefaultPlaybackRate" = "Скорость воспроизведения по умолчанию";
"PlaybackQualityOnWiFi" = "Качество по WiFi";
"PlaybackQualityOnCellular" = "Качество по мобильной сети";
"SelectQuality" = "Выберите качество";
"Default" = "По умолчанию";
"Best" = "Лучшее";
"Startup" = "Начальная страница"; "Startup" = "Начальная страница";
"Home" = "Главная"; "Home" = "Главная";
@@ -137,12 +228,49 @@
"Warning" = "Внимание"; "Warning" = "Внимание";
"TabIsHidden" = "Скрытая вкладка не может быть выбрана в качестве начальной страницы"; "TabIsHidden" = "Скрытая вкладка не может быть выбрана в качестве начальной страницы";
"SupportDevelopment" = "Помочь с развитием проекта";
"SupportDevelopmentDesc" = "Если вам понравился YTLite и вы хотели бы поддержать проект, то можете сделать это любым подходящим ниже способом.\nСпасибо❤";
"Contributors" = "О нас";
"OpenSourceLibs" = "Библиотеки с исходным кодом";
"Version" = "Версия"; "Version" = "Версия";
"About" = "О твике"; "About" = "О твике";
"Credits" = "Авторы"; "Credits" = "Авторы";
"Developer" = "Разработчик твика"; "Developer" = "Разработчик твика";
"SpecialThanks" = "Особая благодарность";
"ChineseSimplified" = "Китайская (упрощенная) локализация";
"ChineseTraditional" = "Китайская (традиционная) локализация";
"French" = "Французская локализация";
"Spanish" = "Испанская локализация";
"Japanese" = "Японская локализация";
"Vietnamese" = "Вьетнамская локализация";
"Advanced" = "Расширенный режим"; "Advanced" = "Расширенный режим";
"AdvancedDesc" = "Более настраиваемый режим";
"AdvancedModeReminder" = "Хотите ли вы активировать расширенный режим настроек YTLite?\n\nДанный режим добавляет более 50 опций для тонкой настройки YouTube. Вы всегда сможете включить/отключить расширенный режим перейдя в Настройки → %@ → %@ → %@.";
"ClearCache" = "Очистить кеш";
"ResetSettings" = "Сбросить настройки твика"; "ResetSettings" = "Сбросить настройки твика";
"ResetMessage" = "Данное действие сбросит настройки YTLite к значениям по умолчанию и закроет YouTube.\n\nУверены, что хотите продолжить?"; "ResetMessage" = "Данное действие сбросит настройки YTLite к значениям по умолчанию и закроет YouTube.\n\nУверены, что хотите продолжить?";
"ShortsOnlyWarning" = "Вы уверены, что хотите активировать данный режим?\n\nВ данном режиме вы не сможете ничего делать, кроме как смотреть видеоролики Shorts.\n\nРежим Shorts можно будет отключить зажав в плеере двумя пальцами.";
"ShortsModeTurnedOff" = "Режим Shorts был отключен";
"LibraryAdded" = "Вкладка «Вы»/«Библиотека» восстановлена";
"LibraryRemoved" = "Вкладка «Вы»/«Библиотека» удалена";
"Yes" = "Да"; "Yes" = "Да";
"No" = "Нет"; "No" = "Нет";
"SelectAction" = "Выберите действие";
"CopyTitle" = "Скопировать название";
"CopyDescription" = "Скопировать описание";
"CopyPostText" = "Скопировать текст поста";
"SaveCurrentImage" = "Сохранить данное фото";
"CopyCurrentImage" = "Скопировать данное фото";
"SavePostAsImage" = "Сохранить пост как фото";
"CopyPostAsImage" = "Скопировать пост как фото";
"CopyCommentText" = "Скопировать текст комментария";
"SaveCommentAsImage" = "Сохранить комментарий как фото";
"CopyCommentAsImage" = "Скопировать комментарий как фото";
"SaveProfilePicture" = "Сохранить фото профиля";
"CopyProfilePicture" = "Скопировать фото профиля";
"Cancel" = "Отмена";
"Copied" = "Скопировано в буфер обмена";
"Saved" = "Сохранено в Фото";
"Done" = "Готово";
"Error" = "Ошибка";
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

@@ -0,0 +1,276 @@
"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 ở chế độ nền";
"BackgroundPlaybackDesc" = "Cho phép phát ở chế độ nền.";
"Navbar" = "Thanh điều hướng";
"RemoveCast" = "Ẩn nút Cast";
"RemoveCastDesc" = "Ẩn nút Cast khỏi thanh Điều hướng.";
"RemoveNotifications" = "Ẩn nút Thông báo";
"RemoveNotificationsDesc" = "Ẩn nút Thông báo khỏi thanh Điều hướng.";
"RemoveSearch" = "Ẩn nút Tìm kiếm";
"RemoveSearchDesc" = "Ẩn nút Tìm kiếm khỏi thanh Điều hướng.";
"RemoveVoiceSearch" = "Ẩn nút tìm kiếm bằng giọng nói";
"RemoveVoiceSearchDesc" = "Ẩn nút tìm kiếm bằng giọng nói khỏi thanh Điều hướng.";
"StickyNavbar" = "Thanh điều hướng cố định";
"StickyNavbarDesc" = "Ghim thanh Điều hướng để nó vẫn hiển thị khi cuộn xuống.";
"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 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";
"HideAutoplayDesc" = "Ẩn nút Tự động phát trong trình phát video.";
"HideSubs" = "Ẩn nút phụ đề";
"HideSubsDesc" = "Ẩn nút Phụ đề khỏi lớp phủ.";
"NoHUDMsgs" = "Ẩn thông báo HUD";
"NoHUDMsgsDesc" = "Ẩn tất cả các thông báo tính năng từ người chơi. Ví dụ: CC được bật/tắt, Vòng lặp video được bật, v.v.";
"HidePrevNext" = "Ẩn nút Trước và Tiếp theo";
"HidePrevNextDesc" = "Ẩn các nút Trước và Tiếp theo khỏi lớp phủ video.";
"ReplacePrevNext" = "Nút tua đi và tua lại nhanh";
"ReplacePrevNextDesc" = "Thay thế các nút Trước và Tiếp theo thành nút tua đi và tua lại nhanh trong lớp phủ video.";
"NoDarkBg" = "Xóa nền tối";
"NoDarkBgDesc" = "Loại bỏ nền tối của lớp phủ.";
"NoEndScreenCards" = "Ẩn video dạng thumbnails";
"NoEndScreenCardsDesc" = "Ẩn thumbnail của các video đề xuất, xuất hiện ở cuối video.";
"NoFullscreenActions" = "Vô hiệu hóa các hành động toàn màn hình";
"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";
"MiniplayerDesc" = "Cho phép sử dụng trình phát thu nhỏ với mọi video ban đầu không được thiết kế cho trình phát đó, chẳng hạn như các video dành cho trẻ em.";
"PortraitFullscreen" = "Chế độ toàn màn hình dọc";
"PortraitFullscreenDesc" = "Cho phép hỗ trợ chế độ toàn màn hình dọc.";
"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 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";
"NoContentWarningDesc" = "Bỏ qua thông báo cảnh báo nội dung nhạy cảm.";
"ClassicQuality" = "Chất lượng video cổ điển";
"ClassicQualityDesc" = "Mang lại menu lựa chọn chất lượng video cổ điển.";
"ExtraSpeedOptions" = "Bổ sung tùy chọn tốc độ";
"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" = "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.";
"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";
"AutoFullscreenDesc" = "Tự động phát video ở chế độ toàn màn hình.";
"ExitFullscreen" = "Thoát chế độ toàn màn hình khi hoàn tất";
"ExitFullscreenDesc" = "Thoát khỏi chế độ toàn màn hình khi kết thúc phát video.";
"NoDoubleTap2Seek" = "Tắt tình năng chạm 2 lần để tua";
"NoDoubleTap2SeekDesc" = "Tắt tình năng chạm 2 lần để tua";
"Tabbar" = "Thanh tab";
"RemoveLabels" = "Xóa nhãn";
"RemoveLabelsDesc" = "Loại bỏ nhãn tab.";
"RemoveIndicators" = "Xóa chỉ báo";
"RemoveIndicatorsDesc" = "Loại bỏ các chỉ báo tab.";
"ReExplore" = "Thay thế tab Shorts bằng tab Khám phá";
"ReExploreDesc" = "Hiển thị tab Khám phá thay vì tab Shorts như trên các phiên bản YouTube cũ.";
"AddExplore" = "Thêm tab Khám phá";
"AddExploreDesc" = "Thêm tab Khám phá vào thanh Tab.";
"HideShortsTab" = "Ẩn tab Shorts";
"HideShortsTabDesc" = "Ẩn tab Shorts khỏi thanh Tab.";
"HideSubscriptionsTab" = "Ẩn tab Đăng ký";
"HideSubscriptionsTabDesc" = "Ẩn tab Đăng ký khỏi thanh Tab.";
"HideUploadButton" = "Ẩn nút Tải lên";
"HideUploadButtonDesc" = "Ẩn nút Tải lên khỏi thanh Tab.";
"HideLibraryTab" = "Ẩn tab Thư viện";
"HideLibraryTabDesc" = "Ẩn tab Thư viện khỏi thanh Tab.";
"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";
"ShortsProgressDesc" = "Hiển thị thanh tiến trình trong lớp phủ Shorts.";
"PinchToFullscreenShorts" = "Chụm vào toàn màn hình";
"PinchToFullscreenShortsDesc" = "Quản lý khả năng hiển thị của lớp phủ bằng cử chỉ chụm vào và kéo ra, hiển thị Shorts ở chế độ toàn màn hình.";
"ShortsToRegular" = "Từ Shorts đến video thông thường";
"ShortsToRegularDesc" = "Mở Shorts như video thông thường.";
"ResumeShorts" = "Tắt tính năng tự động tiếp tục Shorts";
"ResumeShortsDesc" = "Nếu bạn thoát YouTube trong khi đang xem video Shorts, video Shorts đó sẽ không tự động phát khi bạn mở lại YouTube.";
"HideShortsLogo" = "Ẩn biểu tượng Shorts";
"HideShortsLogoDesc" = "Ẩn biểu tượng Shorts ở góc trên cùng bên trái.";
"HideShortsSearch" = "Ẩn nút Tìm kiếm";
"HideShortsSearchDesc" = "Ẩn nút Tìm kiếm khỏi lớp phủ Shorts.";
"HideShortsCamera" = "Ẩn nút Máy ảnh";
"HideShortsCameraDesc" = "Ẩn nút Máy ảnh khỏi lớp phủ Shorts.";
"HideShortsMore" = "Ẩn nút Thêm (⋮)";
"HideShortsMoreDesc" = "Ẩn nút Thêm (⋮) khỏi lớp phủ Shorts. Nó cũng có thể truy cập được bằng cách nhấn và giữ màn hình.";
"HideShortsSubscriptions" = "Ẩn nút Đăng ký";
"HideShortsSubscriptionsDesc" = "Ẩn nút Đăng ký xuất hiện khi Shorts bị tạm dừng.";
"HideShortsLike" = "Ẩn nút Thích";
"HideShortsLikeDesc" = "Ẩn nút Thích khỏi lớp phủ Shorts.";
"HideShortsDislike" = "Ẩn nút Không thích";
"HideShortsDislikeDesc" = "Ẩn nút Không thích khỏi lớp phủ Shorts.";
"HideShortsComments" = "Ẩn nút bình luận";
"HideShortsCommentsDesc" = "Ẩn nút bình luận khỏi lớp phủ Shorts.";
"HideShortsRemix" = "Ẩn nút phối lại";
"HideShortsRemixDesc" = "Ẩn nút Phối lại khỏi lớp phủ Shorts.";
"HideShortsShare" = "Ẩn nút Chia sẻ";
"HideShortsShareDesc" = "Ẩn nút Chia sẻ khỏi lớp phủ Shorts.";
"HideShortsAvatars" = "Ẩn hình đại diện kênh";
"HideShortsAvatarsDesc" = "Ẩn hình đại diện kênh ở góc dưới bên phải.";
"HideShortsThanks" = "Ẩn nút Superthanks";
"HideShortsThanksDesc" = "Ẩn nút Superthanks (Quyên góp) khỏi lớp phủ Shorts.";
"HideShortsSource" = "Ẩn nguồn Shorts";
"HideShortsSourceDesc" = "Ẩn nguồn Shorts dưới tên kênh.";
"HideShortsChannelName" = "Ẩn tên kênh";
"HideShortsChannelNameDesc" = "Ẩn tên kênh và nút đăng ký khỏi lớp phủ Shorts.";
"HideShortsDescription" = "Ẩn mô tả";
"HideShortsDescriptionDesc" = "Ẩn phần mô tả Shorts dưới tên kênh.";
"HideShortsAudioTrack" = "Ẩn AudioTrack";
"HideShortsAudioTrackDesc" = "Ẩn AudioTrack trong phần mô tả Shorts.";
"Other" = "Khác";
"CopyVideoInfo" = "Sao chép thông tin video";
"CopyVideoInfoDesc" = "Thêm nút để sao chép tiêu đề và mô tả video vào bảng Mô tả Video.";
"PostManager" = "Lưu bài đăng";
"PostManagerDesc" = "Cho phép sao chép văn bản bài đăng và lưu bài đăng dưới dạng hình ảnh bằng cách nhấn giữ.";
"SaveProfilePhoto" = "Lưu ảnh hồ sơ";
"SaveProfilePhotoDesc" = "Lưu ảnh hồ sơ vào ứng dụng Ảnh bằng cách nhấn và giữ.";
"CommentManager" = "Lưu bình luận";
"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" = "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";
"NoSearchHistoryDesc" = "Ẩn lịch sử tìm kiếm và đề xuất một cách trực quan. Lưu ý: Lịch sử tìm kiếm của bạn vẫn có thể truy cập được trong các ứng dụng YouTube khác.";
"NoRelatedWatchNexts" = "Ẩn tất cả video dưới trình phát";
"NoRelatedWatchNextsDesc" = "Ẩn tất cả video bên dưới trình phát, chỉ để lại phần thông tin video và nhận xét.";
"StickSortComments" = "Dán tiêu đề bình luận";
"StickSortCommentsDesc" = "Ghim sắp xếp tiêu đề nhận xét (Hàng đầu, Mới nhất) để nó không biến mất khi cuộn.";
"HideSortComments" = "Ẩn bình luận";
"HideSortCommentsDesc" = "Ẩn bình luận Short, sắp xếp (Hàng đầu, Mới nhất) để nó không bao giờ xuất hiện.";
"PlaylistOldMinibar" = "Danh sách phát mini bar cũ";
"PlaylistOldMinibarDesc" = "Thay thế bảng điều khiển danh sách phát nổi mới bằng bảng điều khiển cũ.";
"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).";
"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ủ";
"Explore" = "Khám phá";
"ShortsTab" = "Shorts";
"Subscriptions" = "Đăng ký";
"Library" = "Thư viện";
"Warning" = "Cảnh báo";
"TabIsHidden" = "Không thể chọn Tab ẩn làm trang khởi động";
"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";
"Spanish" = "Tiếng Tây Ban Nha";
"Japanese" = "Tiếng Nhật";
"Vietnamese" = "Tiếng Việt";
"Advanced" = "Chế độ nâng cao";
"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";
"SelectAction" = "Chọn hành động";
"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" = "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";
"Done" = "Xong";
"Error" = "Lỗi";
@@ -19,6 +19,8 @@
"NoSubbarDesc" = "隐藏导航栏下的子栏(全部、新内容、实时等)。"; "NoSubbarDesc" = "隐藏导航栏下的子栏(全部、新内容、实时等)。";
"NoYTLogo" = "删除 YouTube Logo"; "NoYTLogo" = "删除 YouTube Logo";
"NoYTLogoDesc" = "删除导航栏中的 YouTube Logo。"; "NoYTLogoDesc" = "删除导航栏中的 YouTube Logo。";
"PremiumYTLogo" = "Set Premium YouTube logo";
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
"Overlay" = "播放界面"; "Overlay" = "播放界面";
"HideAutoplay" = "隐藏自动播放开关"; "HideAutoplay" = "隐藏自动播放开关";
@@ -37,34 +39,58 @@
"NoEndScreenCardsDesc" = "隐藏视频结尾处的片尾屏幕(缩略图)。"; "NoEndScreenCardsDesc" = "隐藏视频结尾处的片尾屏幕(缩略图)。";
"NoFullscreenActions" = "禁用全屏操作"; "NoFullscreenActions" = "禁用全屏操作";
"NoFullscreenActionsDesc" = "在全屏模式下禁用操作面板。"; "NoFullscreenActionsDesc" = "在全屏模式下禁用操作面板。";
"PersistentProgressBar" = "持续进度条";
"PersistentProgressBarDesc" = "始终在播放器中显示进度条。";
"StockVolumeHUD" = "Stock volume HUD";
"StockVolumeHUDDesc" = "Displays system volume HUD in fullscreen.";
"NoRelatedVids" = "没有相关视频"; "NoRelatedVids" = "没有相关视频";
"NoRelatedVidsDesc" = "通过向上滑动删除播放界面中显示的相关视频。"; "NoRelatedVidsDesc" = "通过向上滑动删除播放界面中显示的相关视频。";
"NoPromotionCards" = "隐藏付费"; "NoPromotionCards" = "隐藏付费";
"NoPromotionCardsDesc" = "在付费视频中隐藏“付费内容”。"; "NoPromotionCardsDesc" = "在付费视频中隐藏“付费内容”。";
"NoWatermarks" = "隐藏水印"; "NoWatermarks" = "隐藏水印";
"NoWatermarksDesc" = "隐藏播放器的频道水印。"; "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" = "播放器"; "Player" = "播放器";
"Miniplayer" = "启用迷你播放器"; "Miniplayer" = "启用迷你播放器";
"MiniplayerDesc" = "启用迷你播放器来播放最初不是为其设计的视频,例如针对儿童的视频。"; "MiniplayerDesc" = "启用迷你播放器来播放最初不是为其设计的视频,例如针对儿童的视频。";
"PortraitFullscreen" = "竖屏全屏模式";
"PortraitFullscreenDesc" = "启用竖屏全屏模式支持。";
"CopyWithTimestamp" = "复制带时间戳的链接";
"CopyWithTimestampDesc" = "允许通过按下暂停按钮将带有时间戳的链接复制到剪贴板。";
"DisableAutoplay" = "禁用自动播放视频"; "DisableAutoplay" = "禁用自动播放视频";
"DisableAutoplayDesc" = "打开后防止视频自动播放。"; "DisableAutoplayDesc" = "打开后防止视频自动播放。";
"DisableAutoCaptions" = "禁用自动字幕";
"DisableAutoCaptionsDesc" = "防止自动激活字幕。";
"NoContentWarning" = "跳过内容警告"; "NoContentWarning" = "跳过内容警告";
"NoContentWarningDesc" = "跳过敏感内容警告消息。"; "NoContentWarningDesc" = "跳过敏感内容警告消息。";
"ClassicQuality" = "经典视频质量"; "ClassicQuality" = "经典视频质量";
"ClassicQualityDesc" = "加回经典的视频质量选择菜单。"; "ClassicQualityDesc" = "加回经典的视频质量选择菜单。";
"ExtraSpeedOptions" = "Extra speed options"; "ExtraSpeedOptions" = "扩展速度选项";
"ExtraSpeedOptionsDesc" = "Adds more video playback speed options to the player menu."; "ExtraSpeedOptionsDesc" = "在播放器菜单中添加更多视频播放速度的选项。";
"DontSnap2Chapter" = "禁用双击跳转"; "DontSnap2Chapter" = "禁用双击跳转";
"DontSnap2ChapterDesc" = "禁用通过双击手势跳到下一集。"; "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" = "红色进度条"; "RedProgressBar" = "红色进度条";
"RedProgressBarDesc" = "加回红色进度条。"; "RedProgressBarDesc" = "加回红色进度条。";
"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.";
"NoHints" = "禁用提示"; "NoHints" = "禁用提示";
"NoHintsDesc" = "禁用播放期间出现在右上角的作者提示。"; "NoHintsDesc" = "禁用播放期间出现在右上角的作者提示。";
"NoFreeZoom" = "禁用自由缩放手势"; "NoFreeZoom" = "禁用自由缩放手势";
"NoFreeZoomDesc" = "禁用新的自由缩放手势。"; "NoFreeZoomDesc" = "禁用新的自由缩放手势。";
"AutoFullscreen" = "Play videos in fullscreen"; "AutoFullscreen" = "全屏模式";
"AutoFullscreenDesc" = "Automatically plays videos in fullscreen mode."; "AutoFullscreenDesc" = "自动以全屏模式播放视频。";
"ExitFullscreen" = "完成后退出全屏模式"; "ExitFullscreen" = "完成后退出全屏模式";
"ExitFullscreenDesc" = "在视频播放结束时退出全屏模式。"; "ExitFullscreenDesc" = "在视频播放结束时退出全屏模式。";
"NoDoubleTap2Seek" = "禁用双击搜索"; "NoDoubleTap2Seek" = "禁用双击搜索";
@@ -73,8 +99,12 @@
"Tabbar" = "选项卡栏"; "Tabbar" = "选项卡栏";
"RemoveLabels" = "移除标签"; "RemoveLabels" = "移除标签";
"RemoveLabelsDesc" = "删除选项卡标签。"; "RemoveLabelsDesc" = "删除选项卡标签。";
"RemoveIndicators" = "删除指示器";
"RemoveIndicatorsDesc" = "删除选项卡“红点”指示。";
"ReExplore" = "“短视频”替换为“探索”"; "ReExplore" = "“短视频”替换为“探索”";
"ReExploreDesc" = "在旧版本 YouTube 中将“短视频”选项卡替换为“探索”。"; "ReExploreDesc" = "在旧版本 YouTube 中将“短视频”选项卡替换为“探索”。";
"AddExplore" = "添加“探索”选项卡";
"AddExploreDesc" = "将“探索”选项卡添加到底部选项卡栏。";
"HideShortsTab" = "隐藏短视频"; "HideShortsTab" = "隐藏短视频";
"HideShortsTabDesc" = "从选项卡栏中隐藏短视频。"; "HideShortsTabDesc" = "从选项卡栏中隐藏短视频。";
"HideSubscriptionsTab" = "隐藏订阅内容"; "HideSubscriptionsTab" = "隐藏订阅内容";
@@ -85,10 +115,18 @@
"HideLibraryTabDesc" = "从选项卡栏中隐藏媒体库。"; "HideLibraryTabDesc" = "从选项卡栏中隐藏媒体库。";
"Shorts" = "短视频"; "Shorts" = "短视频";
"ShortsOnlyMode" = "仅短视频模式";
"ShortsOnlyModeDesc" = "将 YouTube 功能限制为只能观看短视频。";
"AutoSkipShorts" = "Auto-skip Shorts";
"AutoSkipShortsDesc" = "Moves to the next video when the current video playback finishes.";
"HideShorts" = "隐藏短视频"; "HideShorts" = "隐藏短视频";
"HideShortsDesc" = "从首页、推荐等隐藏短视频(不适用于观看历史记录)。"; "HideShortsDesc" = "从首页、推荐等隐藏短视频(不适用于观看历史记录)。";
"ShortsProgress" = "启用进度条"; "ShortsProgress" = "启用进度条";
"ShortsProgressDesc" = "在短视频播放器中显示进度条。"; "ShortsProgressDesc" = "在短视频播放器中显示进度条。";
"PinchToFullscreenShorts" = "捏合至全屏";
"PinchToFullscreenShortsDesc" = "通过捏合和捏合手势管理播放界面,以全屏模式显示短视频。";
"ShortsToRegular" = "常规短视频";
"ShortsToRegularDesc" = "像打开普通视频一样打开短视频。";
"ResumeShorts" = "不要从短视频开始"; "ResumeShorts" = "不要从短视频开始";
"ResumeShortsDesc" = "防止在打开应用程序时首先启动短视频,如果在观看短视频时关闭,就会发生这种情况。"; "ResumeShortsDesc" = "防止在打开应用程序时首先启动短视频,如果在观看短视频时关闭,就会发生这种情况。";
"HideShortsLogo" = "隐藏短视频Logo"; "HideShortsLogo" = "隐藏短视频Logo";
@@ -115,18 +153,71 @@
"HideShortsAvatarsDesc" = "隐藏右下角的发布者个人资料头像。"; "HideShortsAvatarsDesc" = "隐藏右下角的发布者个人资料头像。";
"HideShortsThanks" = "隐藏捐赠按钮"; "HideShortsThanks" = "隐藏捐赠按钮";
"HideShortsThanksDesc" = "从短视频播放器中隐藏捐赠按钮。"; "HideShortsThanksDesc" = "从短视频播放器中隐藏捐赠按钮。";
"HideShortsSource" = "隐藏短视频来源";
"HideShortsSourceDesc" = "在频道名称下隐藏短视频来源。";
"HideShortsChannelName" = "隐藏发布者名称"; "HideShortsChannelName" = "隐藏发布者名称";
"HideShortsChannelNameDesc" = "从短视频播放器中隐藏发布者名称和订阅按钮。"; "HideShortsChannelNameDesc" = "从短视频播放器中隐藏发布者名称和订阅按钮。";
"HideShortsDescription" = "隐藏说明"; "HideShortsDescription" = "隐藏文案";
"HideShortsDescriptionDesc" = "在频道名称下隐藏短视频描述。"; "HideShortsDescriptionDesc" = "隐藏短视频下方的视频文案。";
"HideShortsAudioTrack" = "隐藏音频音轨"; "HideShortsAudioTrack" = "隐藏音轨";
"HideShortsAudioTrackDesc" = "短视频描述下隐藏音频音轨。"; "HideShortsAudioTrackDesc" = "隐藏短视频文案下方的音轨。";
"Other" = "其他"; "Other" = "其他";
"CopyVideoInfo" = "复制视频信息";
"CopyVideoInfoDesc" = "添加按钮从“视频说明”面板中复制视频的标题和描述。";
"PostManager" = "保存帖子信息";
"PostManagerDesc" = "允许通过长按复制帖子文本并将帖子另存为图片。";
"SaveProfilePhoto" = "保存个人资料图片";
"SaveProfilePhotoDesc" = "长按个人资料图片保存到照片应用程序。";
"CommentManager" = "保存评论信息";
"CommentManagerDesc" = "允许通过长按复制评论文本并将评论保存为图片。";
"FixAlbums" = "修复封面";
"FixAlbumsDesc" = "修复来自俄罗斯用户的封面显示问题。";
"NativeShare" = "Native share sheet";
"NativeShareDesc" = "Uses system share sheet to share media";
"RemovePlayNext" = "删除“播放队列中的下一个”"; "RemovePlayNext" = "删除“播放队列中的下一个”";
"RemovePlayNextDesc" = "从菜单中删除“播放队列中的下一个”选项。"; "RemovePlayNextDesc" = "从菜单中删除“播放队列中的下一个”选项。";
"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.";
"NoContinueWatching" = "删除“继续观看”"; "NoContinueWatching" = "删除“继续观看”";
"NoContinueWatchingDesc" = "从首页中删除包含未完成视频的“继续观看”部分。"; "NoContinueWatchingDesc" = "从首页中删除包含未完成视频的“继续观看”部分。";
"NoSearchHistory" = "隐藏搜索历史记录";
"NoSearchHistoryDesc" = "直观地隐藏搜索历史记录和建议。注意:搜索历史记录仍然可以在其他YouTube客户端中访问。";
"NoRelatedWatchNexts" = "隐藏播放器下的所有视频";
"NoRelatedWatchNextsDesc" = "隐藏播放器下方的所有视频,仅保留视频信息和评论部分。";
"StickSortComments" = "固定评论排序";
"StickSortCommentsDesc" = "固定评论顶部排序功能按钮(热门、时间),滚动时不会消失。";
"HideSortComments" = "隐藏评论排序";
"HideSortCommentsDesc" = "隐藏评论排序功能,使它永远不会出现。";
"PlaylistOldMinibar" = "旧播放列表";
"PlaylistOldMinibarDesc" = "将新的浮动播放列表面板替换为旧的浮动播放列表面板。";
"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";
"Default" = "Default";
"Best" = "Best";
"Startup" = "启动页"; "Startup" = "启动页";
"Home" = "首页"; "Home" = "首页";
@@ -137,12 +228,49 @@
"Warning" = "警告"; "Warning" = "警告";
"TabIsHidden" = "无法选择隐藏选项卡作为启动页。"; "TabIsHidden" = "无法选择隐藏选项卡作为启动页。";
"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" = "YTLite开发者";
"SpecialThanks" = "Special thanks";
"ChineseSimplified" = "中文(简体)本地化";
"ChineseTraditional" = "中文(繁体)本地化";
"French" = "法语本地化";
"Spanish" = "西班牙语本地化";
"Japanese" = "日语本地化";
"Vietnamese" = "越南语本地化";
"Advanced" = "高级模式"; "Advanced" = "高级模式";
"AdvancedDesc" = "More customizable mode";
"AdvancedModeReminder" = "想为YTLite激活高级模式吗?\n\n此模式提供了50多个额外的选项来自定义和优化您的YouTube体验。\n可以稍后从设置中启用/禁用它 → %@ → %@ → %@。";
"ClearCache" = "清除缓存";
"ResetSettings" = "重置YTLite设置"; "ResetSettings" = "重置YTLite设置";
"ResetMessage" = "此选项会将YTLite设置重置为默认值并关闭YouTube。\n\n确定要继续吗?"; "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" = "是"; "Yes" = "是";
"No" = "不"; "No" = "不";
"SelectAction" = "选择操作";
"CopyTitle" = "复制标题";
"CopyDescription" = "复制描述";
"CopyPostText" = "复制帖子文本";
"SaveCurrentImage" = "Save current image";
"CopyCurrentImage" = "Copy current image";
"SavePostAsImage" = "帖子另存为图片";
"CopyPostAsImage" = "帖子作为图片复制";
"CopyCommentText" = "复制评论文本";
"SaveCommentAsImage" = "评论另存为图片";
"CopyCommentAsImage" = "评论作为图片复制";
"SaveProfilePicture" = "Save profile picture";
"CopyProfilePicture" = "Copy profile picture";
"Cancel" = "取消";
"Copied" = "已复制到剪贴板";
"Saved" = "已保存到照片";
"Done" = "完成";
"Error" = "错误";
@@ -0,0 +1,276 @@
"General" = "一般功能";
"RemoveAds" = "移除廣告";
"RemoveAdsDesc" = "移除應用程式內的廣告";
"BackgroundPlayback" = "背景播放";
"BackgroundPlaybackDesc" = "啟用背景播放";
"Navbar" = "頂部導覽列";
"RemoveCast" = "隱藏投放按鈕";
"RemoveCastDesc" = "從導覽列隱藏投放按鈕";
"RemoveNotifications" = "隱藏通知按鈕";
"RemoveNotificationsDesc" = "從導覽列隱藏通知按鈕";
"RemoveSearch" = "隱藏搜尋按鈕";
"RemoveSearchDesc" = "從導覽列隱藏搜尋按鈕";
"RemoveVoiceSearch" = "隱藏語音搜尋按鈕";
"RemoveVoiceSearchDesc" = "從導覽列隱藏語音搜尋按鈕";
"StickyNavbar" = "固定導覽列";
"StickyNavbarDesc" = "向下滑動時保持可見狀態";
"NoSubbar" = "隱藏子導覽列";
"NoSubbarDesc" = "隱藏導覽列下的子導覽列(全部、讓你耳目一新的影片、直播中...等)";
"NoYTLogo" = "移除YouTube圖示";
"NoYTLogoDesc" = "移除在左上方導覽列的YouTube圖示";
"PremiumYTLogo" = "Set Premium YouTube logo";
"PremiumYTLogoDesc" = "Sets Premium YouTube logo in the Navigation bar.";
"Overlay" = "播放介面";
"HideAutoplay" = "隱藏自動播放開關";
"HideAutoplayDesc" = "隱藏播放器中的自動播放開關";
"HideSubs" = "隱藏字幕按鈕";
"HideSubsDesc" = "隱藏播放器中的字幕按鈕";
"NoHUDMsgs" = "隱藏HUD訊息";
"NoHUDMsgsDesc" = "隱藏播放器中的所有功能。例如:開啟/關閉 CC、開啟循環播放...等";
"HidePrevNext" = "隱藏上一部和下一部按鈕";
"HidePrevNextDesc" = "隱藏播放器中上一部和下一部影片按鈕";
"ReplacePrevNext" = "取代快轉和倒轉按鈕";
"ReplacePrevNextDesc" = "將播放器中的上一部和下一部影片按鈕取代為快轉和倒轉按鈕";
"NoDarkBg" = "移除深色背景";
"NoDarkBgDesc" = "移除播放器中的深色背景";
"NoEndScreenCards" = "隱藏片尾懸停影片";
"NoEndScreenCardsDesc" = "隱藏當影片結束時的懸停影片(縮圖)";
"NoFullscreenActions" = "停用全螢幕操作";
"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" = "啟用迷你播放器";
"MiniplayerDesc" = "對於原本不支援迷你播放器的影片(例如針對兒童的影片),啟用迷你播放器";
"PortraitFullscreen" = "直向全螢幕模式";
"PortraitFullscreenDesc" = "啟用直向全螢幕模式";
"CopyWithTimestamp" = "複製時間標記連結";
"CopyWithTimestampDesc" = "透過按下暫停按鈕,將帶有時間標記的連結複製到剪貼簿";
"DisableAutoplay" = "停用自動播放";
"DisableAutoplayDesc" = "在打開應用程式後防止自動播放影片";
"DisableAutoCaptions" = "停用自動字幕";
"DisableAutoCaptionsDesc" = "防止字幕自動啟用";
"NoContentWarning" = "略過內容警告";
"NoContentWarningDesc" = "略過敏感內容警告訊息";
"ClassicQuality" = "舊版本影片畫質";
"ClassicQualityDesc" = "恢復舊版本選擇影片畫質的方式";
"ExtraSpeedOptions" = "額外的播放速度選項";
"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";
"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.";
"NoHints" = "停用提示";
"NoHintsDesc" = "在播放過程中出現在右上角的作者提示";
"NoFreeZoom" = "停用自由縮放手勢";
"NoFreeZoomDesc" = "停用新的自由缩放手势";
"AutoFullscreen" = "全螢幕模式";
"AutoFullscreenDesc" = "自動以全螢幕模式播放影片";
"ExitFullscreen" = "結束時退出全螢幕模式";
"ExitFullscreenDesc" = "影片播放結束時退出全螢幕模式";
"NoDoubleTap2Seek" = "停用點兩下快轉功能";
"NoDoubleTap2SeekDesc" = "停用點兩下手勢進行快轉";
"Tabbar" = "下方標籤欄";
"RemoveLabels" = "移除文字";
"RemoveLabelsDesc" = "移除標籤文字";
"RemoveIndicators" = "刪除標記";
"RemoveIndicatorsDesc" = "刪除標籤通知標記";
"ReExplore" = "用探索取代Shorts分頁";
"ReExploreDesc" = "如同舊版YouTube一樣顯示「探索」而非「Shorts」";
"AddExplore" = "新增探索標籤";
"AddExploreDesc" = "在下方標籤欄新增探索標籤";
"HideShortsTab" = "隱藏Shorts";
"HideShortsTabDesc" = "從標籤欄中隱藏Shorts標籤";
"HideSubscriptionsTab" = "隱藏訂閱內容";
"HideSubscriptionsTabDesc" = "從標籤欄中隱藏訂閱內容";
"HideUploadButton" = "隱藏+";
"HideUploadButtonDesc" = "從標籤欄中隱藏+標籤";
"HideLibraryTab" = "隱藏媒體庫";
"HideLibraryTabDesc" = "從標籤欄中隱藏媒體庫標籤";
"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" = "啟用時間進度條";
"ShortsProgressDesc" = "在Shorts底部顯示進度條";
"PinchToFullscreenShorts" = "捏合切換全螢幕";
"PinchToFullscreenShortsDesc" = "透過兩指縮放手勢,控制覆蓋層的顯示,讓Shorts以全螢幕模式播放";
"ShortsToRegular" = "Shorts轉為一般影片";
"ShortsToRegularDesc" = "將Shorts作為一般影片開啟";
"ResumeShorts" = "不要從Shorts開始";
"ResumeShortsDesc" = "防止重新開啟應用程式時從Shorts開始播放,如果在觀看Shorts時關閉,就會發生這種情況";
"HideShortsLogo" = "隱藏Shorts圖示";
"HideShortsLogoDesc" = "左上角Shorts圖示";
"HideShortsSearch" = "隱藏搜尋按鈕";
"HideShortsSearchDesc" = "從Shorts中隱藏搜尋按鈕";
"HideShortsCamera" = "隱藏相機按鈕";
"HideShortsCameraDesc" = "從Shorts中隱藏相機按鈕";
"HideShortsMore" = "隱藏更多 (⋮) 按鈕";
"HideShortsMoreDesc" = "從Shorts中隱藏更多 (⋮) 按鈕,也可以透過長按螢幕來完成";
"HideShortsSubscriptions" = "隱藏訂閱按鈕";
"HideShortsSubscriptionsDesc" = "隱藏當Shorts暫停時顯示的訂閱按鈕";
"HideShortsLike" = "隱藏喜歡按鈕";
"HideShortsLikeDesc" = "從Shorts中隱藏喜歡按鈕";
"HideShortsDislike" = "隱藏不喜歡按鈕";
"HideShortsDislikeDesc" = "從Shorts中隱藏不喜歡按鈕";
"HideShortsComments" = "隱藏評論按鈕";
"HideShortsCommentsDesc" = "從Shorts中隱藏評論按鈕";
"HideShortsRemix" = "隱藏Remix按鈕";
"HideShortsRemixDesc" = "從Shorts中隱藏Remix按鈕";
"HideShortsShare" = "隱藏分享按鈕";
"HideShortsShareDesc" = "從Shorts中隱藏分享按鈕";
"HideShortsAvatars" = "隱藏頻道頭像";
"HideShortsAvatarsDesc" = "隱藏右下角的頻道圖片";
"HideShortsThanks" = "隱藏超級感謝按鈕";
"HideShortsThanksDesc" = "從Shorts中隱藏超級感謝 (贊助) 按鈕";
"HideShortsSource" = "隱藏Shorts來源";
"HideShortsSourceDesc" = "在頻道名稱下隱藏Shorts來源";
"HideShortsChannelName" = "隱藏頻道名稱";
"HideShortsChannelNameDesc" = "從Shorts中隱藏頻道名稱和訂閱按鈕";
"HideShortsDescription" = "隱藏描述";
"HideShortsDescriptionDesc" = "隱藏頻道名稱下的Shorts描述";
"HideShortsAudioTrack" = "隱藏原始音效";
"HideShortsAudioTrackDesc" = "隱藏Shorts描述下的原始音效";
"Other" = "其它";
"CopyVideoInfo" = "複製影片資訊";
"CopyVideoInfoDesc" = "新增按鈕將影片標題和說明,複製到影片說明欄";
"PostManager" = "儲存貼文資訊";
"PostManagerDesc" = "長按可以複製貼文內容或將貼文儲存為圖片";
"SaveProfilePhoto" = "儲存個人檔案照片";
"SaveProfilePhotoDesc" = "長按個人檔案照片儲存到照片應用";
"CommentManager" = "儲存留言資訊";
"CommentManagerDesc" = "長按可以複製留言內容或將留言儲存為圖片";
"FixAlbums" = "修復封面";
"FixAlbumsDesc" = "為俄羅斯使用者修復封面顯示問題";
"NativeShare" = "Native share sheet";
"NativeShareDesc" = "Uses system share sheet to share media";
"RemovePlayNext" = "移除「播放下一個」";
"RemovePlayNextDesc" = "從選單移除「播放下一個」";
"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.";
"NoContinueWatching" = "移除「繼續觀看」";
"NoContinueWatchingDesc" = "從首頁中移除包含未完成影片的「繼續觀看」部分";
"NoSearchHistory" = "隱藏搜尋記錄";
"NoSearchHistoryDesc" = "視覺上隱藏搜尋歷史紀錄和建議。注意:您的搜尋紀錄仍然可在其它YouTube客戶端中存取";
"NoRelatedWatchNexts" = "隱藏播放器下的所有影片";
"NoRelatedWatchNextsDesc" = "只留下影片資訊和留言區域";
"StickSortComments" = "固定留言排序";
"StickSortCommentsDesc" = "將留言排序(熱門、最新)功能固定,這樣在滾動時就不會消失";
"HideSortComments" = "隱藏留言排序";
"HideSortCommentsDesc" = "隱藏留言排序(熱門、最新)功能,將永不顯示";
"PlaylistOldMinibar" = "舊版播放清單";
"PlaylistOldMinibarDesc" = "將新版的浮動播放清單面板替換為舊版";
"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";
"Default" = "Default";
"Best" = "Best";
"Startup" = "啟動頁面";
"Home" = "首頁";
"Explore" = "探索";
"ShortsTab" = "Shorts";
"Subscriptions" = "訂閱內容";
"Library" = "媒體庫";
"Warning" = "警告";
"TabIsHidden" = "無法將隱藏的標籤選為啟動頁面";
"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" = "法文在地化";
"Spanish" = "西班牙文在地化";
"Japanese" = "日本語在地化";
"Vietnamese" = "越南語在地化";
"Advanced" = "進階模式";
"AdvancedDesc" = "More customizable mode";
"AdvancedModeReminder" = "您是否想啟用YTLite的進階模式?\n\n這個模式提供了50多個額外的選項,可以自訂義和優化您的YouTube使用體驗。您稍後可以在「設定」中 → %@ → %@ → %@ 啟用或停用它。";
"ClearCache" = "清除快取";
"ResetSettings" = "重置YTLite設定";
"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" = "否";
"SelectAction" = "選擇動作";
"CopyTitle" = "複製標題";
"CopyDescription" = "複製說明";
"CopyPostText" = "複製貼文內容";
"SaveCurrentImage" = "Save current image";
"CopyCurrentImage" = "Copy current image";
"SavePostAsImage" = "儲存貼文為圖片";
"CopyPostAsImage" = "複製貼文為圖片";
"CopyCommentText" = "複製留言內容";
"SaveCommentAsImage" = "留言儲存為圖片";
"CopyCommentAsImage" = "複製留言為圖片";
"SaveProfilePicture" = "Save profile picture";
"CopyProfilePicture" = "Copy profile picture";
"Cancel" = "取消";
"Copied" = "已複製到剪貼簿";
"Saved" = "已儲存到照片應用";
"Done" = "Done";
"Error" = "發生錯誤";
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.