From 36bf21ad2e76bb732a304fb391977d95b6a5151b Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Thu, 30 Jun 2022 10:28:38 +0700 Subject: [PATCH] update localization --- .../en.lproj/Localizable.strings | 3 + .../template.lproj/Localizable.strings | 83 ++++++++++--------- .../vi.lproj/Localizable.strings | 3 + 3 files changed, 50 insertions(+), 39 deletions(-) diff --git a/lang/uYouPlus.bundle/en.lproj/Localizable.strings b/lang/uYouPlus.bundle/en.lproj/Localizable.strings index 04d3928..520a366 100644 --- a/lang/uYouPlus.bundle/en.lproj/Localizable.strings +++ b/lang/uYouPlus.bundle/en.lproj/Localizable.strings @@ -36,6 +36,9 @@ "OLED_KEYBOARD" = "OLED Keyboard (Experimental)"; "OLED_KEYBOARD_DESC" = "Might not working correctly in some cases. App restart is required."; +"HIDE_PAID_PROMOTION_CARDS" = "Hide Paid Promotion cards"; +"HIDE_PAID_PROMOTION_CARDS_DESC" = "Hide the 'Includes Paid Promotions' card in some videos."; + // YTCastConfirm "CASTING" = "Castings"; "MSG_ARE_YOU_SURE" = "Are you sure you want to start casting?"; diff --git a/lang/uYouPlus.bundle/template.lproj/Localizable.strings b/lang/uYouPlus.bundle/template.lproj/Localizable.strings index be2a6ef..5ef8a41 100644 --- a/lang/uYouPlus.bundle/template.lproj/Localizable.strings +++ b/lang/uYouPlus.bundle/template.lproj/Localizable.strings @@ -1,53 +1,58 @@ // How to translate uYouPlus to your languate: - // - // 1. Fork uYouPlus repo - // 2. Duplicate the template.lproj folder, and edit the duplicated folder's name to your .lproj id. For example: ru.lproj - // for Russia. For more details, visit: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes - // 3. Translate each line below after each = - // 4. Open a Pull Request - // - // If your language already exists then feel free to check it and/or improve it! - // - // Settings +// +// 1. Fork uYouPlus repo +// 2. Duplicate the template.lproj folder, and edit the duplicated folder's name to your .lproj id. +// For example: for Russia. For more details, visit: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes +// 3. Translate each line below after each = +// 4. Open a Pull Request +// +// If your language already exists then feel free to check it and/or improve it! +// You can also add your localiztion to YouPiP here, the process is the same +// https://github.com/PoomSmart/YouPiP/tree/main/layout/Library/Application%20Support/YouPiP.bundle +// +// Settings - "HIDE_PREVIOUS_AND_NEXT_BUTTON" = "Hide Previous and Next button"; - "HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC" = "Hide Previous and Next button in video controls overlay."; +"HIDE_PREVIOUS_AND_NEXT_BUTTON" = "Hide Previous and Next button"; +"HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC" = "Hide Previous and Next button in video controls overlay."; - "YT_MINIPLAYER" = "Enable the Miniplayer for all YouTube videos"; - "YT_MINIPLAYER_DESC" = "Kid videos for example."; +"YT_MINIPLAYER" = "Enable the Miniplayer for all YouTube videos"; +"YT_MINIPLAYER_DESC" = "Kid videos for example."; - "CAST_CONFIRM" = "Confirm alert before casting (YTCastConfirm)"; - "CAST_CONFIRM_DESC" = "Show a confirm alert before casting to prevent accidentally hijacking TV."; +"CAST_CONFIRM" = "Confirm alert before casting (YTCastConfirm)"; +"CAST_CONFIRM_DESC" = "Show a confirm alert before casting to prevent accidentally hijacking TV."; - "HIDE_HOVER_CARD" = "Hide End screens hover cards (YTNoHoverCards)"; - "HIDE_HOVER_CARD_DESC" = "Hide creator End screens (thumbnails) at the end of videos."; +"HIDE_HOVER_CARD" = "Hide End screens hover cards (YTNoHoverCards)"; +"HIDE_HOVER_CARD_DESC" = "Hide creator End screens (thumbnails) at the end of videos."; - "NEW_MINIPLAYER_STYLE" = "New miniplayer bar style (BigYTMiniPlayer)"; - "NEW_MINIPLAYER_STYLE_DESC" = "App restart is required."; +"NEW_MINIPLAYER_STYLE" = "New miniplayer bar style (BigYTMiniPlayer)"; +"NEW_MINIPLAYER_STYLE_DESC" = "App restart is required."; - "YT_RE_EXPLORE" = "Replace Shorts tab with Explore tab (YTReExplore)"; - "YT_RE_EXPLORE_DESC" = "App restart is required."; +"YT_RE_EXPLORE" = "Replace Shorts tab with Explore tab (YTReExplore)"; +"YT_RE_EXPLORE_DESC" = "App restart is required."; - "HIDE_SUBTITLES_BUTTON" = "Hide Subtitles button"; - "HIDE_SUBTITLES_BUTTON_DESC" = "Hide the Subtitles button in video controls overlay."; +"HIDE_SUBTITLES_BUTTON" = "Hide Subtitles button"; +"HIDE_SUBTITLES_BUTTON_DESC" = "Hide the Subtitles button in video controls overlay."; - "HIDE_AUTOPLAY_SWITCH" = "Hide Autoplay switch"; - "HIDE_AUTOPLAY_SWITCH_DESC" = "Hide the Autoplay switch in video controls overlay."; +"HIDE_AUTOPLAY_SWITCH" = "Hide Autoplay switch"; +"HIDE_AUTOPLAY_SWITCH_DESC" = "Hide the Autoplay switch in video controls overlay."; - "AUTO_FULLSCREEN" = "Auto Full Screen (YTAutoFullScreen)"; - "AUTO_FULLSCREEN_DESC" = "Autoplay videos at full screen."; +"AUTO_FULLSCREEN" = "Auto Full Screen (YTAutoFullScreen)"; +"AUTO_FULLSCREEN_DESC" = "Autoplay videos at full screen."; - "HIDE_HUD_MESSAGES" = "Hide HUD Messages"; - "HIDE_HUD_MESSAGES_DESC" = "Example: CC is turned on/off, Video loop is on,..."; +"HIDE_HUD_MESSAGES" = "Hide HUD Messages"; +"HIDE_HUD_MESSAGES_DESC" = "Example: CC is turned on/off, Video loop is on,..."; - "OLED_DARKMODE" = "OLED Dark mode (Experimental)"; - "OLED_DARKMODE_DESC" = "Might not working correctly in some cases. App restart is required after you enable/disable this option."; +"OLED_DARKMODE" = "OLED Dark mode (Experimental)"; +"OLED_DARKMODE_DESC" = "Might not working correctly in some cases. App restart is required after you enable/disable this option."; - "OLED_KEYBOARD" = "OLED Keyboard (Experimental)"; - "OLED_KEYBOARD_DESC" = "Might not working correctly in some cases. App restart is required."; +"OLED_KEYBOARD" = "OLED Keyboard (Experimental)"; +"OLED_KEYBOARD_DESC" = "Might not working correctly in some cases. App restart is required."; - // YTCastConfirm - "CASTING" = "Castings"; - "MSG_ARE_YOU_SURE" = "Are you sure you want to start casting?"; - "MSG_YES" = "Yes"; - "MSG_CANCEL" = "Cancel"; \ No newline at end of file +"HIDE_PAID_PROMOTION_CARDS" = "Hide Paid Promotion cards"; +"HIDE_PAID_PROMOTION_CARDS_DESC" = "Hide the 'Includes Paid Promotions' card in some videos."; + +// YTCastConfirm +"CASTING" = "Castings"; +"MSG_ARE_YOU_SURE" = "Are you sure you want to start casting?"; +"MSG_YES" = "Yes"; +"MSG_CANCEL" = "Cancel"; \ No newline at end of file diff --git a/lang/uYouPlus.bundle/vi.lproj/Localizable.strings b/lang/uYouPlus.bundle/vi.lproj/Localizable.strings index 90949b0..a201374 100644 --- a/lang/uYouPlus.bundle/vi.lproj/Localizable.strings +++ b/lang/uYouPlus.bundle/vi.lproj/Localizable.strings @@ -36,6 +36,9 @@ "OLED_KEYBOARD" = "Bàn phím OLED (Thử nghiệm)"; "OLED_KEYBOARD_DESC" = "Tính năng này có thể không hoạt động tốt trong một vài trường hợp. Cần khởi động lại ứng dụng."; +"HIDE_PAID_PROMOTION_CARDS" = "Ẩn popup quảng cáo được trả tiền"; +"HIDE_PAID_PROMOTION_CARDS_DESC" = "Ẩn popup 'Chứa nội dung được trả tiền để quảng cáo' trong một số video."; + // YTCastConfirm "CASTING" = "Truyền video"; "MSG_ARE_YOU_SURE" = "Bạn có muốn bắt đầu truyền video không?";