diff --git a/_locales/en/messages.json b/_locales/en/messages.json index ce44d89c3..6e51e6956 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,4 +1,5 @@ { +"browserAccountSync": {"message":"Sync (Browser Account)"}, "ARROWDOWN":{"message":"⇩"}, "ARROWLEFT":{"message":"⇦"}, "ARROWRIGHT":{"message":"⇨"}, @@ -212,8 +213,8 @@ "icons":{"message":"Icons"}, "iconsOnly":{"message":"Icon only"}, "importSettings":{"message":"Import settings"}, -"pushSyncSettings":{"message":"push settings to sync"}, -"pullSyncSettings":{"message":"pull synced settings"}, +"pushSyncSettings":{"message":"Push"}, +"pullSyncSettings":{"message":"Pull"}, "improveLogo":{"message":"Improve logo"}, "improvedtubeButtons":{"message":"ImprovedTube buttons"}, "improvedtubeIconOnYoutube":{"message":"ImprovedTube icon on YouTube"}, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index efe42ea89..c7f1a3c46 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -349,6 +349,5 @@ "youtubeHeaderRight":{"message":"유튜브 헤더 (오른쪽)"}, "youtubeHomePage":{"message":"유튜브 홈페이지"}, "youtubeLanguage":{"message":"유튜브 언어"}, -"youtubeLimitsVideoQualityTo1080pForH264Codec":{"message":"유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다."}, -"softwareInformation":{"message":"소프트웨어 정보"} +"youtubeLimitsVideoQualityTo1080pForH264Codec":{"message":"유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다."} } diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index b9bfcc207..5ef442454 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -7,7 +7,6 @@ "compactTheme":{"message":"Tema compacto"}, "activate":{"message":"Ativar"}, "activateCaptions":{"message":"Ativar legendas"}, -"Buttons":{"message":"Activate fullscreen"}, "shortcut_screenshot":{"message":"Foto do ecrân"}, "activateFullscreen":{"message":"Ativar ecrã completo"}, "language_closed_caption":{"message":"Padrão de Idioma - Legendas de videos"}, diff --git a/js&css/web-accessible/functions.js b/js&css/web-accessible/functions.js index 7d811b22e..3cdc7919d 100644 --- a/js&css/web-accessible/functions.js +++ b/js&css/web-accessible/functions.js @@ -300,7 +300,7 @@ ImprovedTube.videoPageUpdate = function () { ImprovedTube.upNextAutoplay(); ImprovedTube.playerAutofullscreen(); ImprovedTube.playerSize(); - if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat = function ();}; + if( this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat();}; ImprovedTube.playerScreenshotButton(); ImprovedTube.playerRepeatButton(); ImprovedTube.playerRotateButton(); @@ -357,7 +357,7 @@ ImprovedTube.initPlayer = function () { ImprovedTube.subtitlesBackgroundOpacity(); ImprovedTube.playerQuality(); ImprovedTube.playerVolume(); - if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat = function ();}; + if(this.storage.player_always_repeat === true) {ImprovedTube.playerRepeat();}; ImprovedTube.playerScreenshotButton(); ImprovedTube.playerRepeatButton(); ImprovedTube.playerRotateButton(); diff --git a/manifest.json b/manifest.json index 5cf98af01..8b6e151e5 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "short_name" : "ImprovedTube", "name": "'Improve YouTube!' 🎧 (for YouTube & Videos)", "description": "__MSG_description_ext__", - "version": "4.615", + "version": "4.644", "default_locale": "en", "icons": { "16": "stuff/icons/16.png", diff --git a/menu/skeleton-parts/appearance.js b/menu/skeleton-parts/appearance.js index 8b3776040..b18c7e48b 100644 --- a/menu/skeleton-parts/appearance.js +++ b/menu/skeleton-parts/appearance.js @@ -696,7 +696,7 @@ extension.skeleton.main.layers.section.appearance.on.click.comments = { comments_sidebar: { component: "switch", text: "sidebar", - id: "comments-sidebar" + id: 'comments-sidebar' }, comments_sidebar_scrollbars: { component: "switch", @@ -705,13 +705,13 @@ extension.skeleton.main.layers.section.appearance.on.click.comments = { comments_sidebar_simple: { component: "switch", text: 'Sidebar_simple_alternative', - id: "comments-sidebar-simple + id: 'comments-sidebar-simple' }, columns: { component: "switch", - text: "toggleColumnComments", + text: "columns", value: true - } + }, squared_user_images: { component: 'switch', text: 'squaredUserImages', diff --git a/menu/skeleton-parts/player.js b/menu/skeleton-parts/player.js index 8d085e62e..6f3f1a793 100644 --- a/menu/skeleton-parts/player.js +++ b/menu/skeleton-parts/player.js @@ -973,10 +973,6 @@ extension.skeleton.main.layers.section.player.on.click = { storage: 'player_SDR' } }, - player_always_repeat: { - component: 'switch', - text: 'alwaysActive' - }, section_2: { component: 'section', variant: 'card', diff --git a/menu/skeleton-parts/settings.js b/menu/skeleton-parts/settings.js index abf25d647..6d440d858 100644 --- a/menu/skeleton-parts/settings.js +++ b/menu/skeleton-parts/settings.js @@ -402,7 +402,7 @@ extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSecti sync: { component: 'section', variant: 'card', - title: 'sync', + title: 'browserAccountSync', pushSyncSettings: { component: 'button', diff --git a/menu/styles/appearance.css b/menu/styles/appearance.css index ea85cb229..c45ef3e2d 100644 --- a/menu/styles/appearance.css +++ b/menu/styles/appearance.css @@ -45,7 +45,7 @@ } .satus-section--appearance .satus-button--player { top: 53px; - left: 16px; + left: 8px; width: calc(70% - 32px); height: 96px; min-height: auto; diff --git a/menu/styles/sub-options.css b/menu/styles/sub-options.css index 852a49ced..59d0f8f43 100644 --- a/menu/styles/sub-options.css +++ b/menu/styles/sub-options.css @@ -12,8 +12,8 @@ NESTED (CONDITIONAL) SWITCHES /*-DURATION WITH SPEED-*/ #show-remaining-duration:not([data-value='true']) + .satus-switch, /*-comment sidebar scrollbars-*/ -/* #comments-sidebar:not([data-value='true']) + .satus-switch */ #comments-sidebar:not([data-value='true']) + .satus-switch + #comments-sidebar-simple:not([data-value='true']) + .satus-switch, +/* #comments-sidebar:not([data-value='true']) + .satus-switch, */ /*-------------------------------------------------------------- >>> PLAYER --------------------------------------------------------------*/ @@ -21,7 +21,7 @@ NESTED (CONDITIONAL) SWITCHES #forced-playback-speed:not([data-value='true']) + .satus-switch, #forced-playback-speed:not([data-value='true']) + .satus-switch + .satus-switch, #forced-playback-speed:not([data-value='true']) + .satus-switch + .satus-switch + .satus-slider, -#player_repeat_button:not([data-value='true']) + .satus-switch, +/* #player_repeat_button:not([data-value='true']) + .satus-switch, */ #player_screenshot_button:not([data-value='true']) + .satus-switch, #player_screenshot_button:not([data-value='true']) + .satus-switch + .satus-select, /*-------------------------------------------------------------- @@ -35,8 +35,6 @@ NIGHT MODE #activate:not([data-value='sunset_to_sunrise']) + * + .satus-time--to /*====================================*/ {display: none !important;} - - #remove-home-page-shorts[data-value='true'] + .satus-switch, #remove-home-page-shorts[data-value='true'] + .satus-switch + .satus-switch, @@ -57,7 +55,7 @@ NIGHT MODE #forced-playback-speed[data-value='true'] + .satus-switch, #forced-playback-speed[data-value='true'] + .satus-switch + .satus-switch, #forced-playback-speed[data-value='true'] + .satus-switch + .satus-switch + .satus-slider, -#player_repeat_button[data-value='true'] + .satus-switch, +#player_repeat_button + .satus-switch, #player_screenshot_button[data-value='true'] + .satus-switch, #player_screenshot_button[data-value='true'] + .satus-switch + .satus-select, /*--------------------------------------------------------------