Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into selenium

This commit is contained in:
Ajay Ramachandran 2021-08-20 13:28:31 -04:00
commit 6714dbb73f
72 changed files with 23055 additions and 948 deletions

View file

@ -2,5 +2,5 @@
"serverAddress": "https://sponsor.ajay.app",
"testingServerAddress": "https://sponsor.ajay.app/test",
"serverAddressComment": "This specifies the default SponsorBlock server to connect to",
"categoryList": ["sponsor", "selfpromo", "interaction", "intro", "outro", "preview", "music_offtopic"]
"categoryList": ["sponsor", "selfpromo", "interaction", "poi_highlight", "intro", "outro", "preview", "music_offtopic"]
}

View file

@ -1,9 +1,10 @@
{
"name": "__MSG_fullName__",
"short_name": "SponsorBlock",
"version": "2.1.4",
"version": "2.2",
"default_locale": "en",
"description": "__MSG_Description__",
"homepage_url": "https://sponsor.ajay.app",
"content_scripts": [{
"run_at": "document_start",
"matches": [
@ -40,8 +41,11 @@
"icons/help.svg",
"icons/report.png",
"icons/close.png",
"icons/skipIcon.svg",
"icons/refresh.svg",
"icons/beep.ogg",
"icons/pause.svg",
"icons/stop.svg",
"icons/PlayerInfoIconSponsorBlocker.svg",
"icons/PlayerDeleteIconSponsorBlocker.svg",
"popup.html",

20154
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,8 +12,8 @@
"babel-loader": "^8.0.6",
"babel-preset-env": "^1.7.0",
"concurrently": "^5.1.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/chrome": "0.0.91",

View file

@ -25,9 +25,15 @@
"Segments": {
"message": "сегменти"
},
"upvoteButtonInfo": {
"message": "Одобряване на това предложение"
},
"reportButtonTitle": {
"message": "Докладвай"
},
"reportButtonInfo": {
"message": "Подайте сигнал за неправилно предложение."
},
"Dismiss": {
"message": "Отхвърли"
},
@ -49,6 +55,9 @@
"paused": {
"message": "На пауза"
},
"manualPaused": {
"message": "Таймерът е спрян"
},
"confirmMSG": {
"message": "За да редактирате или изтриете някои стойности, натиснете на \"инфо\" бутона или отворете изкачащият прозорец на добавката чрез кликване на иконата на добавката в горният ляв ъгъл."
},
@ -58,12 +67,27 @@
"Unknown": {
"message": "Възникна грешка при подаването на Вашите спонсорски времена, моля опитайте отново по-късно."
},
"sponsorFound": {
"message": "Този видеоклип има сегменти в базата данни!"
},
"sponsor404": {
"message": "Не са намерени сегменти"
},
"sponsorStart": {
"message": "Сегментът Започва Сега"
},
"sponsorEnd": {
"message": "Сегментът Свършва Сега"
},
"sponsorCancel": {
"message": "Отказ от създаването на сегмент"
},
"noVideoID": {
"message": "Не е намерен видеоклип в YouTube.\nАко това е неправилно, опреснете раздела."
},
"refreshSegments": {
"message": "Опресняване на сегментите"
},
"success": {
"message": "Успешно!"
},
@ -76,12 +100,67 @@
"connectionError": {
"message": "Възникна грешка с връзката. Код на грешката: "
},
"wantToSubmit": {
"message": "Искате ли да изпратите сегментите за видеоклип с id"
},
"clearTimes": {
"message": "Изчистване на сегментите"
},
"openPopup": {
"message": "Отворете изскачащия прозорец на SponsorBlock"
},
"closePopup": {
"message": "Затваряне на прозореца"
},
"SubmitTimes": {
"message": "Изпращане на сегментите"
},
"submitCheck": {
"message": "Сигурни ли сте, че искате да подадете това?"
},
"whitelistChannel": {
"message": "Добавяне на канала към белия списък"
},
"removeFromWhitelist": {
"message": "Премахване на канала от белия списък"
},
"voteOnTime": {
"message": "Гласувайте за сегмент"
},
"Submissions": {
"message": "Изпратени сегменти"
},
"savedPeopleFrom": {
"message": "Вие сте помогнали на хората да пропуснат "
},
"viewLeaderboard": {
"message": "Класиране"
},
"recordTimesDescription": {
"message": "Изпращане"
},
"submissionEditHint": {
"message": "Редактирането на частите ще се появи, след като щракнете върху Изпращане",
"description": "Appears in the popup to inform them that editing has been moved to the video player."
},
"popupHint": {
"message": "Съвет: Можете да настроите клавиши за изпращане в опциите"
},
"clearTimesButton": {
"message": "Изчистване на времената"
},
"submitTimesButton": {
"message": "Изпращане на времената"
},
"publicStats": {
"message": "Това се използва на страницата с публичната статистика, за да покаже колко сте допринесли. Вижте го"
},
"Username": {
"message": "Потребителско име"
},
"setUsername": {
"message": "Задайте потребителско име"
},
"discordAdvert": {
"message": "Елате в официалния Discord сървър за да давате предложения!"
},
@ -97,8 +176,339 @@
"hideButtons": {
"message": "Скриване на бутоните в YouTube Player-а"
},
"autoSkip": {
"message": "Автоматично пропускане"
"hideButtonsDescription": {
"message": "Това скрива бутоните, които се показват в плейъра на YouTube за изпращане на сегменти за пропускане."
},
"showInfoButton": {
"message": "Показване на бутона за информация в плейъра на YouTube"
},
"hideInfoButton": {
"message": "Скриване на бутона за информация в плейъра на YouTube"
},
"whatInfoButton": {
"message": "Това е бутонът, който отваря изскачащ прозорец в страницата на YouTube."
},
"autoHideInfoButton": {
"message": "Автоматично скриване на бутона за информация"
},
"hideDeleteButton": {
"message": "Скриване на бутона за изтриване в плейъра на YouTube"
},
"showDeleteButton": {
"message": "Показване на бутона за изтриване в плейъра на YouTube"
},
"whatDeleteButton": {
"message": "Това е бутонът в плейъра на YouTube, който ще изчисти всичките ви неизпратени сегменти за текущия видеоклип."
},
"enableViewTracking": {
"message": "Активиране проследяването на броя пропускания"
},
"whatViewTracking": {
"message": "Тази функция проследява кои сегменти сте пропуснали, за да уведоми потребителите доколко приносът им е помогнал на другите и се използва като показател заедно с положителните гласове, за да се гарантира, че спамът няма да попадне в базата данни. Разширението изпраща съобщение до сървъра всеки път, когато пропуснете сегмент. Надяваме се, че повечето хора няма да променят тази настройка, така че броят на прегледите да е точен. :)"
},
"enableViewTrackingInPrivate": {
"message": "Активиране проследяването на броя пропускания в раздели „Инкогнито“"
},
"enableQueryByHashPrefix": {
"message": "Заявка по префикс на хеш"
},
"whatQueryByHashPrefix": {
"message": "Вместо да се изискват сегменти от сървъра с помощта на videoID, се изпращат първите 4 знака от хеша на videoID. Този сървър ще изпрати обратно данни за всички видеоклипове с подобни хешове."
},
"enableRefetchWhenNotFound": {
"message": "Повторно извличане на сегментите при нови видеоклипове"
},
"whatRefetchWhenNotFound": {
"message": "Ако видеоклипът е нов и няма намерени сегменти, той ще продължи да извлича на всеки няколко минути, докато гледате."
},
"showNotice": {
"message": "Отново покажете известието"
},
"showSkipNotice": {
"message": "Показване на известие след пропускане на сегмент"
},
"noticeVisibilityMode0": {
"message": "Известия за пропускане в пълен размер"
},
"noticeVisibilityMode1": {
"message": "Малки известия за пропускане при автоматично пропускане"
},
"noticeVisibilityMode2": {
"message": "Изцяло малки известия за пропускане"
},
"noticeVisibilityMode3": {
"message": "Плавни известия за пропускане при автоматично пропускане"
},
"noticeVisibilityMode4": {
"message": "Изцяло плавни известия за пропускане"
},
"longDescription": {
"message": "SponsorBlock ви позволява да прескачате спонсори, въведения, заключения, напомняния за абониране и други досадни части от видеоклиповете в YouTube. SponsorBlock е разширение за браузър, създадено от множество хора, което позволява на всеки да изпраща началния и крайния час на спонсорирани сегменти и други сегменти от видеоклиповете в YouTube. След като един човек подаде тази информация, всички останали с това разширение ще прескочат спонсорирания сегмент. Можете също да пропуснете части без музика при музикалните видеоклипове.",
"description": "Full description of the extension on the store pages."
},
"website": {
"message": "Уебсайт",
"description": "Used on Firefox Store Page"
},
"sourceCode": {
"message": "Програмен код",
"description": "Used on Firefox Store Page"
},
"noticeUpdate": {
"message": "Известието е обновено!",
"description": "The first line of the message displayed after the notice was upgraded."
},
"noticeUpdate2": {
"message": "Ако все още не ви харесва, натиснете бутона „Никога да не се показва“.",
"description": "The second line of the message displayed after the notice was upgraded."
},
"setSkipShortcut": {
"message": "Задайте клавиш за пропускане на сегмент"
},
"setStartSponsorShortcut": {
"message": "Задайте клавиш за начало/край на сегмент"
},
"setSubmitKeybind": {
"message": "Задайте клавиш за изпращане"
},
"keybindDescription": {
"message": "Изберете клавиш, като го натиснете"
},
"keybindDescriptionComplete": {
"message": "Клавишът е зададен за: "
},
"0": {
"message": "Времето за изчакване на връзката изтече. Проверете връзката си с интернет. Ако вашият интернет работи, вероятно сървърът е претоварен или не работи."
},
"disableSkipping": {
"message": "Пропускането е активирано"
},
"enableSkipping": {
"message": "Пропускането е деактивирано"
},
"yourWork": {
"message": "Вашата работа",
"description": "Used to describe the section that will show you the statistics from your submissions."
},
"502": {
"message": "Сървърът изглежда претоварен. Опитайте отново след няколко секунди."
},
"errorCode": {
"message": "Код на грешката: "
},
"skip": {
"message": "Пропускане"
},
"skip_category": {
"message": "Пропускане на {0}?"
},
"skip_to_category": {
"message": "Прескачане до {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "{0} пропуснат",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Прескочено до {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Деактивиране на автоматичното пропускане"
},
"enableAutoSkip": {
"message": "Активиране на автоматичното пропускане"
},
"audioNotification": {
"message": "Звуково известие при пропускане"
},
"audioNotificationDescription": {
"message": "Звуковото известие при пропускане ще пуска звук всеки път, когато се пропусне сегмент. Ако е забранено (или автоматичното пропускане е деактивирано), няма да се пуска звук."
},
"showTimeWithSkips": {
"message": "Показване на времето с премахнати пропускания"
},
"showTimeWithSkipsDescription": {
"message": "Това време се показва в скоби до текущото време под лентата за прогреса. Това показва общата продължителност на видеоклипа минус всички сегменти. Това включва сегменти, маркирани само като „Показване в лентата за прогреса“."
},
"youHaveSkipped": {
"message": "Пропуснали сте "
},
"youHaveSaved": {
"message": "Спестили сте "
},
"minLower": {
"message": "минута"
},
"minsLower": {
"message": "минути"
},
"hourLower": {
"message": "час"
},
"hoursLower": {
"message": "часа"
},
"youHaveSavedTime": {
"message": "Спестили сте на хората"
},
"youHaveSavedTimeEnd": {
"message": " от живота им"
},
"statusReminder": {
"message": "Проверете status.sponsor.ajay.app за състоянието на сървъра."
},
"changeUserID": {
"message": "Импортиране/експортиране на вашия UserID"
},
"whatChangeUserID": {
"message": "Това трябва да се пази тайно. То е като парола и не трябва да се споделя с никого. Ако някой го притежава, той може да се представи за вас."
},
"setUserID": {
"message": "Задаване на UserID"
},
"userIDChangeWarning": {
"message": "Внимание: Промяната на UserID е постоянна. Наистина ли искате да направите това? Не забравяйте да архивирате стария си за всеки случай."
},
"createdBy": {
"message": "Създаден от"
},
"keybindCurrentlySet": {
"message": ". В момента е настроено на:"
},
"supportOtherSites": {
"message": "Поддръжка на YouTube-сайтове на трети страни"
},
"supportOtherSitesDescription": {
"message": "Поддръжка на клиенти за YouTube на трети страни. За да активирате поддръжката, трябва да приемете допълнителните разрешения. Това НЕ работи в режим инкогнито в Chrome и други варианти на Chromium.",
"description": "This replaces the 'supports Invidious' option because it now works on other YouTube sites such as Cloudtube"
},
"supportedSites": {
"message": "Поддържани сайтове: "
},
"optionsInfo": {
"message": "Активиране поддръжката на Invidious, деактивиране на автоматичното пропускане, скриване на бутоните и др."
},
"addInvidiousInstance": {
"message": "Добавяне екземпляр на клиент на трета страна"
},
"addInvidiousInstanceDescription": {
"message": "Добавяне на персонализиран екземпляр. Това трябва да бъде форматирано само с домейна. Пример: invidious.ajay.app"
},
"add": {
"message": "Добавяне"
},
"addInvidiousInstanceError": {
"message": "Това е невалиден домейн. Трябва да включва само частта на домейна. Пример: invidious.ajay.app"
},
"resetInvidiousInstance": {
"message": "Нулиране списъка на Invidious"
},
"resetInvidiousInstanceAlert": {
"message": "На път сте да нулирате списъка на Invidious"
},
"currentInstances": {
"message": "Текущи екземпляри:"
},
"minDuration": {
"message": "Минимална продължителност (секунди):"
},
"minDurationDescription": {
"message": "Сегменти, по-кратки от зададената стойност, няма да бъдат пропускани или показвани в плейъра."
},
"skipNoticeDuration": {
"message": "Продължителност на известието за пропускане (секунди):"
},
"skipNoticeDurationDescription": {
"message": "Известието за пропускане ще остане на екрана поне толкова дълго. За ръчно пропускане може да се вижда по-дълго."
},
"shortCheck": {
"message": "Следното предложение е по-кратко от опцията за минимална продължителност. Това може да означава, че вече е изпратено и просто е игнорирано поради тази опция. Наистина ли искате да го изпратите?"
},
"showUploadButton": {
"message": "Показване на бутона за качване"
},
"whatUploadButton": {
"message": "Този бутон се появява в плейъра на YouTube, след като сте избрали времева отметка и сте готови за изпращане."
},
"customServerAddress": {
"message": "Адрес на сървъра на SponsorBlock"
},
"customServerAddressDescription": {
"message": "Адресът, който SponsorBlock използва за осъществяване на заявки към сървъра.\nОсвен ако нямате собствен екземпляр на сървър, това не трябва да се променя."
},
"save": {
"message": "Запазване"
},
"reset": {
"message": "Начално състояние"
},
"customAddressError": {
"message": "Този адрес не е в правилната форма. Уверете се, че имате http:// или https:// в началото и няма последващи наклонени черти."
},
"areYouSureReset": {
"message": "Наистина ли искате да върнете началното състояние?"
},
"mobileUpdateInfo": {
"message": "m.youtube.com вече се поддържа"
},
"exportOptions": {
"message": "Импортиране/експортиране на всички опции"
},
"whatExportOptions": {
"message": "Това е цялата ви конфигурация в JSON. Това включва вашия userID, така че се уверете, че споделяте това разумно."
},
"setOptions": {
"message": "Задаване на опции"
},
"exportOptionsWarning": {
"message": "Внимание: Промяната на опциите е постоянна и може да повреди вашата инсталация. Наистина ли искате да направите това? Не забравяйте да архивирате старите си за всеки случай."
},
"incorrectlyFormattedOptions": {
"message": "Този JSON не е форматиран правилно. Вашите опции не са променени."
},
"confirmNoticeTitle": {
"message": "Изпращане на сегмента"
},
"submit": {
"message": "Изпращане"
},
"cancel": {
"message": "Отказ"
},
"delete": {
"message": "Изтриване"
},
"preview": {
"message": "Преглед"
},
"unsubmitted": {
"message": "Неизпратен"
},
"inspect": {
"message": "Изследване"
},
"edit": {
"message": "Редактиране"
},
"copyDebugInformation": {
"message": "Копиране на информацията за отстраняване на грешки в клипборда"
},
"copyDebugInformationFailed": {
"message": "Неуспешно записване в клипборда"
},
"copyDebugInformationOptions": {
"message": "Копира информацията в клипборда, за да се предостави на разработчика при възникване на грешка или когато разработчикът поиска това. Деликатната информация като вашия user ID, канали в белия списък и потребителски адрес на сървъра са премахнати. Съдържа се обаче информация като вашия потребителски агент, браузър, операционна система и номер на версия на разширението. "
},
"copyDebugInformationComplete": {
"message": "Информацията за отстраняване на грешки е копирана в клипборда. Чувствайте се свободни да премахнете всяка информация, която предпочитате да не споделяте. Запазете това в текстов файл или го поставете в доклада за грешки."
},
"theKey": {
"message": "Клавишът"
},
"keyAlreadyUsed": {
"message": "е обвързан с друго действие. Моля, изберете друг клавиш."
},
"to": {
"message": "до",
@ -107,6 +517,9 @@
"category_sponsor": {
"message": "Спонсорство"
},
"category_sponsor_description": {
"message": "Платена промоция, платени препоръки и директни реклами. Не за самореклама или безплатни препоръки за каузи/създатели/уебсайтове/продукти, които се харесват на автора."
},
"category_selfpromo": {
"message": "Неплатена/Само-реклама"
},
@ -119,29 +532,53 @@
"category_interaction_description": {
"message": "Когато има кратко напомняне да харесате, да се абонирате или да последвате канала по средата на съдържанието. Ако е дълго или заради нещо специфично, трябва да е под \"само-реклама\"."
},
"category_interaction_short": {
"message": "Напомняне за взаимодействие"
},
"category_intro": {
"message": "Пауза/Начална анимация"
},
"category_intro_description": {
"message": "Интервал без реално съдържание. Може да бъде пауза, статичен кадър, повтаряща се анимация. Това не трябва да се използва за преходи, съдържащи информация."
},
"category_intro_short": {
"message": "Антракт"
},
"category_outro": {
"message": "Крайни картички/Заслуги"
},
"category_outro_description": {
"message": "Заслуги или когато се показват крайните карти на YouTube. Не за заключения с информация."
},
"category_preview": {
"message": "Предварително изявление/Обобщение"
},
"category_preview_description": {
"message": "Бързо обобщение на предишни епизоди или преглед на това, което предстои по-късно в текущия видеоклип. Предназначен за монтирани заедно клипове, а не за речеви обобщения."
},
"category_music_offtopic": {
"message": "Музика: Част без музика"
},
"category_music_offtopic_description": {
"message": "Само за използване в музикални видеоклипове. Това трябва да се използва само за части от музикални видеоклипове, които вече не са обхванати от друга категория."
},
"category_music_offtopic_short": {
"message": "Без музика"
},
"category_poi_highlight": {
"message": "Акцент"
},
"category_poi_highlight_description": {
"message": "Частта от видеото, която повечето хора търсят. Подобно на коментарите „Видеото започва от х“."
},
"category_livestream_messages": {
"message": "Поточно предаване: Четене на съобщения/дарения"
},
"category_livestream_messages_short": {
"message": "Четене на съобщения"
},
"disable": {
"message": "Забрани"
"autoSkip": {
"message": "Автоматично пропускане"
},
"manualSkip": {
"message": "Ръчно Прескачане"
@ -149,6 +586,21 @@
"showOverlay": {
"message": "Показване в seek лентата"
},
"disable": {
"message": "Забрани"
},
"autoSkip_POI": {
"message": "Автоматично прескачане до началото"
},
"manualSkip_POI": {
"message": "Питане, когато видеото се зарежда"
},
"showOverlay_POI": {
"message": "Показване в лентата за превъртане"
},
"autoSkipOnMusicVideos": {
"message": "Автоматично пропускане на всички сегменти, когато има сегмент без музика"
},
"colorFormatIncorrect": {
"message": "Вашият цвят не е форматиран правилно. Трябва да бъде 3- или 6-цифрен hex код с \"#\" в началото."
},
@ -166,21 +618,106 @@
"message": "Метод за пропускане",
"description": "Used on the options page to describe the ways to skip the segment (auto skip, manual, etc.)"
},
"enableTestingServer": {
"message": "Активиране на сървъра за бета тестване"
},
"whatEnableTestingServer": {
"message": "Вашите предложения и гласове НЯМА ДА СЕ БРОЯТ към основния сървър. Използвайте това само за тестване."
},
"testingServerWarning": {
"message": "Всички предложения и гласове НЯМА ДА СЕ БРОЯТ към основния сървър, докато се свързвате с тестовия сървър. Не забравяйте да деактивирате това, когато искате да правите реални предложения."
},
"bracketNow": {
"message": "(Сега)"
},
"moreCategories": {
"message": "Още категории"
},
"chooseACategory": {
"message": "Изберете категория"
},
"enableThisCategoryFirst": {
"message": "За да изпратите сегменти с категория „{0}“, трябва да я активирате от опциите. Ще бъдете пренасочени към опциите сега.",
"description": "Used when submitting segments to only let them select a certain category if they have it enabled in the options."
},
"youMustSelectACategory": {
"message": "Трябва да изберете категория за всички сегменти, които изпращате!"
},
"bracketEnd": {
"message": "(Край)"
},
"hiddenDueToDownvote": {
"message": "скрито: глас против"
},
"hiddenDueToDuration": {
"message": "скрито: твърде кратко"
},
"channelDataNotFound": {
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
"message": "ID на канала все още не е зареден. Ако използвате вграден видеоклип, опитайте вместо това да използвате началната страница на YouTube. Това може да бъде причинено и от промени в оформлението на YouTube, ако мислите така, направете коментар тук:"
},
"videoInfoFetchFailed": {
"message": "Изглежда, че нещо блокира способността на SponsorBlock да получава видео данни. Моля, вижте https://github.com/ajayyy/SponsorBlock/issues/741 за повече информация."
},
"youtubePermissionRequest": {
"message": "Изглежда, че SponsorBlock не може да достигне API на YouTube. За да поправите това, приемете подканата за разрешение, която ще се появи след това, изчакайте няколко секунди и след това презаредете страницата."
},
"acceptPermission": {
"message": "Даване на разрешение"
},
"permissionRequestSuccess": {
"message": "Искането за разрешение е успешно!"
},
"permissionRequestFailed": {
"message": "Искането за разрешение не бе успешно, натиснахте ли Отказ?"
},
"adblockerIssueWhitelist": {
"message": "Ако не можете да разрешите това, деактивирайте настройката „Принудителна проверка на канала преди пропускане“, тъй като SponsorBlock не може да извлече информацията за канала за този видеоклип"
},
"forceChannelCheck": {
"message": "Принудителна проверка на канала преди пропускане"
},
"whatForceChannelCheck": {
"message": "По подразбиране ще пропусне сегменти веднага, преди дори да разбере какъв е каналът. По подразбиране някои сегменти в началото на видеоклипа може да бъдат пропуснати в канали от белия списък. Активирането на тази опция ще предотврати това, но при всички пропускания ще има леко забавяне, тъй като получаването на ID на канала може да отнеме известно време. Това забавяне може да бъде незабележимо, ако имате бърз интернет."
},
"forceChannelCheckPopup": {
"message": "Помислете за активиране на „Принудителна проверка на канала преди пропускане“"
},
"downvoteDescription": {
"message": "Грешно/Неправилно Време"
},
"incorrectCategory": {
"message": "Грешна Категория"
},
"nonMusicCategoryOnMusic": {
"message": "Това видео е категоризирано като музика. Сигурни ли сте, че това има спонсор? Ако това всъщност е „Немузикален сегмент“, отворете опциите на разширението и активирайте тази категория. След това можете да изпратите този сегмент като „Немузикален“ вместо като спонсор. Моля, прочетете указанията, ако сте объркани."
},
"multipleSegments": {
"message": "Няколко Сегмента"
},
"guidelines": {
"message": "Правила"
},
"readTheGuidelines": {
"message": "Прочетете указанията!",
"description": "Show the first time they submit or if they are \"high risk\""
},
"categoryUpdate1": {
"message": "Категориите са тук!"
},
"categoryUpdate2": {
"message": "Отворете опциите за пропускане на въведения, заключения, продажба на стоки и т.н."
},
"help": {
"message": "Помощ"
},
"experiementOptOut": {
"message": "Отказ от всички бъдещи експерименти",
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
},
"hideForever": {
"message": "Скриване завинаги"
},
"warningChatInfo": {
"message": "Получихте предупреждение и временно не можете да изпращате сегменти. Това означава, че забелязахме, че допускате някои често срещани грешки, които не са злонамерени, и просто искаме да изясним правилата. Можете също да се присъедините към този чат с помощта на discord.gg/SponsorBlock или matrix.to/#/+sponsor:ajay.app"
},

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Znovu zobrazit upozornění"
},
"showSkipNotice": {
"message": "Zobrazit upozornění po přeskočení segmentu"
},
"longDescription": {
"message": "SponsorBlock vám umožní přeskakovat sponzorské sekce, intra, outra, oznámení k odběru a další otravné části YouTube videí. SponsorBlock je crowdsourcované rozšíření prohlížeče, které dává komukoli možnost odeslat začátek a konec sponzorovaných segmentů a dalších segmentů YouTube videí. Jakmile jedna osoba odešle tuto informaci, všichni ostatní s tímto rozšířením automaticky přeskočí sponzorovaný segment. Můžete také přeskakovat nehudební sekce v hudebních videích.",
"description": "Full description of the extension on the store pages."
@ -284,9 +287,6 @@
"skip_category": {
"message": "Přeskočit {0}?"
},
"skipped": {
"message": "- přeskočeno"
},
"disableAutoSkip": {
"message": "Zakázat automatické přeskočení"
},
@ -347,12 +347,6 @@
"createdBy": {
"message": "Vytvořil"
},
"autoSkip": {
"message": "Automatické přeskočení"
},
"showSkipNotice": {
"message": "Zobrazit upozornění po přeskočení segmentu"
},
"keybindCurrentlySet": {
"message": ". Je momentálně nastaveno na:"
},
@ -550,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Čtení zpráv"
},
"disable": {
"message": "Zakázat"
"autoSkip": {
"message": "Automatické přeskočení"
},
"manualSkip": {
"message": "Ruční přeskočení"
@ -559,6 +553,12 @@
"showOverlay": {
"message": "Zobrazit v liště"
},
"disable": {
"message": "Zakázat"
},
"autoSkipOnMusicVideos": {
"message": "Automaticky přeskočit všechny segmenty, když je ve videu nehudební segment"
},
"colorFormatIncorrect": {
"message": "Vaše barva má nesprávný formát. Měl by to být 3 nebo 6 znaků dlouhý HEX kód s křížkem na začátku."
},
@ -675,5 +675,12 @@
},
"hideForever": {
"message": "Skrýt napořád"
},
"warningChatInfo": {
"message": "Dostali jste varování a nemůžete dočasně přidávat segmenty. To znamená, že jsme si všimli, že děláte běžné chyby, které nejsou škodlivé, jen chceme vyjasnit pravidla. Také se můžete připojit do tohoto chatu pomocí discord.gg/SponsorBlock nebo matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Hlas zamítnut kvůli varování. Klikněte pro otevření chatu pro vyřešení, nebo se vraťte později, až budete mít čas.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -85,6 +85,9 @@
"noVideoID": {
"message": "Kein YouTube-Video gefunden.\nWenn dies falsch ist, aktualisiere den Tab."
},
"refreshSegments": {
"message": "Segment aktualisieren"
},
"success": {
"message": "Geschafft!"
},
@ -185,6 +188,9 @@
"whatInfoButton": {
"message": "Dieser Knopf öffnet ein Pop-up auf der Youtube-Seite."
},
"autoHideInfoButton": {
"message": "Info-Button automatisch ausblenden"
},
"hideDeleteButton": {
"message": "Deaktiviere den Löschen-Knopf im Youtube-Videoplayer"
},
@ -200,6 +206,9 @@
"whatViewTracking": {
"message": "Diese Funktion erfasst, welche Segmente du übersprungen hast, um andere Nutzer zu zeigen, wie hilfreich ihre Beiträge sind. Außerdem stellt dies zusammen mit positiven Bewertungen sicher, dass keine unerwünschten Inhalte in die Datenbank gelangen. Die Erweiterung sendet jedes Mal, wenn du ein Segment überspringst, eine Meldung an den Server. Hoffentlich verändern die meisten Nutzer diese Einstellung nicht, um unsere Statistik zu verbessern :)"
},
"enableViewTrackingInPrivate": {
"message": "Aktiviere den Übersprungen Zähler in Privaten/Incognito Tabs"
},
"enableQueryByHashPrefix": {
"message": "Abfrage nach Hash-Präfix"
},
@ -215,6 +224,9 @@
"showNotice": {
"message": "Hinweis erneut anzeigen"
},
"showSkipNotice": {
"message": "Zeige Pop-up nach dem Überspringen eines Segments"
},
"longDescription": {
"message": "SponsorBlock lässt dich gesponserte Videosegmente, Intros, Outros, Interaktions-Erinnerungen, Musikvideoteile ohne Musik und andere nervige Teile von YouTube-Videos überspringen. SponsorBlock ist eine crowdsourced Browser-Erweiterung, in der jeder die Start- und Endzeit gesponserter Videosegmente und anderer Segmente von YouTube-Videos einreicht. Sobald eine Person diese Informationen einreicht, überspringen alle anderen mit dieser Erweiterung das gesponserte Segment.",
"description": "Full description of the extension on the store pages."
@ -275,8 +287,17 @@
"skip_category": {
"message": "{0} überspringen?"
},
"skip_to_category": {
"message": "Zu {0} springen?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Übersprungen"
"message": "{0} übersprungen",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Zu {0} gesprungen",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Automatisches Überspringen deaktivieren"
@ -338,18 +359,16 @@
"createdBy": {
"message": "Erstellt von"
},
"autoSkip": {
"message": "Automatisch überspringen"
},
"showSkipNotice": {
"message": "Zeige Pop-up nach dem Überspringen eines Segments"
},
"keybindCurrentlySet": {
"message": ". Aktuelle Einstellung:"
},
"supportOtherSites": {
"message": "Drittanbieter YouTube-Sites unterstützen"
},
"supportOtherSitesDescription": {
"message": "Unterstütze Drittanbieter YouTube Clients. Zum unterstützen müssen zusätzlichliche Berechtigungen akzeptiert werden. Dies funktioniert NICHT im Incognitomodus auf Chrome oder anderen Chromium Varianten.",
"description": "This replaces the 'supports Invidious' option because it now works on other YouTube sites such as Cloudtube"
},
"supportedSites": {
"message": "Unterstützte Seiten: "
},
@ -383,6 +402,12 @@
"minDurationDescription": {
"message": "Videosegmente, die kürzer als der festgelegte Wert sind, werden nicht übersprungen oder im Player angezeigt."
},
"skipNoticeDuration": {
"message": "Benachrichtigungsdauer überspringen (Sekunden):"
},
"skipNoticeDurationDescription": {
"message": "Die Überspringen Benachrichtigung wird mindestens so lange angezeigt. Für manuelles Überspringen kann sie länger sichtbar sein."
},
"shortCheck": {
"message": "Die folgende Einreichung ist kürzer als deine Mindestdauer. Das könnte bedeuten, dass dieses Videosegment bereits eingereicht wurde und aufgrund dieser Option einfach ignoriert wird. Bist du dir sicher, dass du es übermitteln möchtest?"
},
@ -513,6 +538,9 @@
"category_preview": {
"message": "Vorschau/Zusammenfassung"
},
"category_preview_description": {
"message": "Kurze Zusammenfassung bisheriger Videos oder eine Vorschau auf das aktuelle Video. Für zusammengeschnittene Clips gedacht, jedoch nicht für mündliche Zusammenfassungen."
},
"category_music_offtopic": {
"message": "Musikvideoteile ohne Musik"
},
@ -522,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Musikvideoteile ohne Musik"
},
"category_poi_highlight": {
"message": "Hervorheben"
},
"category_poi_highlight_description": {
"message": "Der Teil des Videos, nach dem die meisten Leute suchen, ähnlich wie \"Video startet bei x\" Kommentare."
},
"category_livestream_messages": {
"message": "In Livestreams Spenden/Nachrichten vorlesen"
},
"category_livestream_messages_short": {
"message": "Wertschätzungen im Livestream"
},
"disable": {
"message": "Deaktivieren"
"autoSkip": {
"message": "Automatisch überspringen"
},
"manualSkip": {
"message": "Manuelles Überspringen"
@ -537,6 +571,18 @@
"showOverlay": {
"message": "In der Video-Zeitleiste anzeigen"
},
"disable": {
"message": "Deaktivieren"
},
"autoSkip_POI": {
"message": "Automatisch zum Start springen"
},
"showOverlay_POI": {
"message": "In der Video-Zeitleiste anzeigen"
},
"autoSkipOnMusicVideos": {
"message": "Alle Segmente automatisch überspringen, wenn ein nicht-Musiksegment vorhanden ist"
},
"colorFormatIncorrect": {
"message": "Die Farbe ist falsch formatiert. Sie sollte ein 3-6-stelliger Hex-Code mit einer Raute am Anfang sein."
},
@ -644,6 +690,16 @@
"categoryUpdate2": {
"message": "Öffne die Optionen um das Verhalten bei Intros, Outros, Merchandising (Fanartikel) usw. einzustellen."
},
"help": {
"message": "Hilfe"
},
"experiementOptOut": {
"message": "Abmeldung aller zukünftigen Experimente",
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
},
"hideForever": {
"message": "Dauerhaft verbergen"
},
"warningChatInfo": {
"message": "Du wurdest ermahnt und kannst zur Zeit keine Segmente einreichen. Uns ist nämlich aufgefallen, dass du ein paar gängige Fehler machst, die nicht bösartig sind. Um die Regeln klarzustellen laden wir dich zu einem kurzem Gespräch auf discord.gg/SponsorBlock oder matrix.to/#/+sponsor:ajay.app ein"
},

View file

@ -62,9 +62,6 @@
"skip": {
"message": "Παράκαμψη"
},
"skipped": {
"message": "Παραλείφθηκε"
},
"minLower": {
"message": "λεπτό"
},

View file

@ -19,7 +19,7 @@
"channelWhitelisted": {
"message": "Channel Whitelisted!"
},
"Segment": {
"Segment": {
"message": "segment"
},
"Segments": {
@ -224,6 +224,24 @@
"showNotice": {
"message": "Show Notice Again"
},
"showSkipNotice": {
"message": "Show Notice After A Segment Is Skipped"
},
"noticeVisibilityMode0": {
"message": "Full Size Skip Notices"
},
"noticeVisibilityMode1": {
"message": "Small Skip Notices for Auto Skip"
},
"noticeVisibilityMode2": {
"message": "All Small Skip Notices"
},
"noticeVisibilityMode3": {
"message": "Faded Skip Notices for Auto Skip"
},
"noticeVisibilityMode4": {
"message": "All Faded Skip Notices"
},
"longDescription": {
"message": "SponsorBlock lets you skip over sponsors, intros, outros, subscription reminders, and other annoying parts of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments and other segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment. You can also skip over non music sections of music videos.",
"description": "Full description of the extension on the store pages."
@ -284,8 +302,17 @@
"skip_category": {
"message": "Skip {0}?"
},
"skip_to_category": {
"message": "Skip to {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Skipped"
"message": "{0} Skipped",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Skipped to {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Disable Auto Skip"
@ -347,12 +374,6 @@
"createdBy": {
"message": "Created By"
},
"autoSkip": {
"message": "Auto Skip"
},
"showSkipNotice": {
"message": "Show Notice After A Segment Is Skipped"
},
"keybindCurrentlySet": {
"message": ". It is currently set to:"
},
@ -544,14 +565,20 @@
"category_music_offtopic_short": {
"message": "Non-Music"
},
"category_poi_highlight": {
"message": "Highlight"
},
"category_poi_highlight_description": {
"message": "The part of the video that most people are looking for. Similar to \"Video starts at x\" comments."
},
"category_livestream_messages": {
"message": "Livestream: Donation/Message Readings"
},
"category_livestream_messages_short": {
"message": "Message Reading"
},
"disable": {
"message": "Disable"
"autoSkip": {
"message": "Auto Skip"
},
"manualSkip": {
"message": "Manual Skip"
@ -559,6 +586,21 @@
"showOverlay": {
"message": "Show In Seek Bar"
},
"disable": {
"message": "Disable"
},
"autoSkip_POI": {
"message": "Auto skip to the start"
},
"manualSkip_POI": {
"message": "Ask when video loads"
},
"showOverlay_POI": {
"message": "Show In Seek Bar"
},
"autoSkipOnMusicVideos": {
"message": "Auto skip all segments when there is a non-music segment"
},
"colorFormatIncorrect": {
"message": "Your color is formatted incorrectly. It should be a 3 or 6 digit hex code with a number sign at the beginning."
},
@ -669,6 +711,10 @@
"help": {
"message": "Help"
},
"GotIt": {
"message": "Got it",
"description": "Used as the button to dismiss a tooltip"
},
"experiementOptOut": {
"message": "Opt-out of all future experiments",
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
@ -682,5 +728,74 @@
"voteRejectedWarning": {
"message": "Vote rejected due to a warning. Click to open a chat to resolve it, or come back later when you have time.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
},
"Donate": {
"message": "Donate"
},
"hideDonationLink": {
"message": "Hide Donation Link"
},
"helpPageThanksForInstalling": {
"message": "Thanks for installing SponsorBlock."
},
"helpPageReviewOptions": {
"message": "Please review the options below"
},
"helpPageFeatureDisclaimer": {
"message": "Many features are disabled by default. If you want to skip intros, outros, use Invidious, etc., enable them below. You can also hide/show UI elements."
},
"helpPageHowSkippingWorks": {
"message": "How skipping works"
},
"helpPageHowSkippingWorks1": {
"message": "Video segments will automatically be skipped if they are found in the database. You can open the popup by clicking the extension icon to get a preview of what they are."
},
"helpPageHowSkippingWorks2": {
"message": "Whenever you skip a segment, you will get notice. If the timing seems wrong vote down by clicking downvote! You can also vote in the popup."
},
"Submitting": {
"message": "Submitting"
},
"helpPageSubmitting1": {
"message": "Submitting can either be done in the popup by hitting the \"Segment Starts Now\" button or in the video player with the buttons on the player."
},
"helpPageSubmitting2": {
"message": "Clicking the play button indicated the start of a segment and clicking the stop icon indicates the end. You can prepare multiple sponsors before hitting submit. Clicking the upload button will submit. Clicking the garbage can will delete."
},
"Editing": {
"message": "Editing"
},
"helpPageEditing1": {
"message": "If you messed up, you can edit or delete your segments after clicking the up arrow button."
},
"helpPageTooSlow": {
"message": "This is too slow"
},
"helpPageTooSlow1": {
"message": "There are hotkeys if you want to use them. Press the semicolon key to indicate the start/end of a sponsor segment and click the apostrophe to submit. These can be changed in the options. If you don't use QWERTY, you should probably change the keybinding."
},
"helpPageCopyOfDatabase": {
"message": "Can I get a copy of the Database? What happens if you disappear?"
},
"helpPageCopyOfDatabase1": {
"message": "The database is public and available at"
},
"helpPageCopyOfDatabase2": {
"message": "The source code is freely available. So, even if something happens to me, your submissions are not lost."
},
"helpPageNews": {
"message": "News and how it is made"
},
"helpPageSourceCode": {
"message": "Where can I get the source code?"
},
"Credits": {
"message": "Credits"
},
"highlightNewFeature": {
"message": "New! Get to the point of the video with one click with the new highlight category"
},
"LearnMore": {
"message": "Learn More"
}
}

View file

@ -224,6 +224,24 @@
"showNotice": {
"message": "Mostrar aviso de nuevo"
},
"showSkipNotice": {
"message": "Mostrar aviso después de que se omita un segmento"
},
"noticeVisibilityMode0": {
"message": "Avisos de Omisión de Tamaño Completo"
},
"noticeVisibilityMode1": {
"message": "Avisos de Omisión Pequeños para la Omisión Automática"
},
"noticeVisibilityMode2": {
"message": "Todos los Avisos de Omisión Pequeños"
},
"noticeVisibilityMode3": {
"message": "Avisos de Omisión Desvanecidos para la Omisión Automática"
},
"noticeVisibilityMode4": {
"message": "Todos los Avisos de Omisión Desvanecidos"
},
"longDescription": {
"message": "SponsorBlock te permite saltarte los patrocinadores, intros, outros, recordatorios de suscripción y otras partes molestas de los videos de YouTube. SponsorBlock es una extensión de navegador de código abierto que permite a cualquiera enviar el tiempo de inicio y fin de los segmentos de patrocinadores y otros segmentos de los videos de YouTube. Una vez que una persona envía esta información, todos los que tengan esta extensión podrán saltearse ese segmento. También es posible saltar las secciones no musicales de los videos musicales.",
"description": "Full description of the extension on the store pages."
@ -284,8 +302,17 @@
"skip_category": {
"message": "¿Saltar {0}?"
},
"skip_to_category": {
"message": "¿Saltar a {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Omitido/as"
"message": "{0} Omitido/as",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Se ha saltado a {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Desactivar la omisión automática"
@ -347,12 +374,6 @@
"createdBy": {
"message": "Creado Por"
},
"autoSkip": {
"message": "Omitir automáticamente"
},
"showSkipNotice": {
"message": "Mostrar aviso después de que se omita un segmento"
},
"keybindCurrentlySet": {
"message": ". Actualmente está configurado para:"
},
@ -544,14 +565,20 @@
"category_music_offtopic_short": {
"message": "No musical"
},
"category_poi_highlight": {
"message": "Destacar"
},
"category_poi_highlight_description": {
"message": "La parte del video que la mayoría de gente está buscando. Similar a los comentarios que dicen \"El video comienza en x\"."
},
"category_livestream_messages": {
"message": "Directo: Lecturas de donaciones y mensajes"
},
"category_livestream_messages_short": {
"message": "Lectura del mensaje"
},
"disable": {
"message": "Desactivar"
"autoSkip": {
"message": "Omitir automáticamente"
},
"manualSkip": {
"message": "Omisión manual"
@ -559,6 +586,21 @@
"showOverlay": {
"message": "Mostrar en la barra de búsqueda"
},
"disable": {
"message": "Desactivar"
},
"autoSkip_POI": {
"message": "Omitir automáticamente al inicio"
},
"manualSkip_POI": {
"message": "Preguntar cuando cargue el video"
},
"showOverlay_POI": {
"message": "Mostrar en la barra de búsqueda"
},
"autoSkipOnMusicVideos": {
"message": "Omitir automáticamente todos los segmentos cuando hay un segmento no musical"
},
"colorFormatIncorrect": {
"message": "Su color está formateado incorrectamente. Debería ser un código hexadecimal de 3 o 6 dígitos con un signo numérico al principio."
},

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Kuva märkus uuesti"
},
"showSkipNotice": {
"message": "Kuva segmendi vahelejätmisel teatis"
},
"longDescription": {
"message": "SponsorBlock lubab sul vahele jätta sponsorid, vaheajad, kanali tellimise meeldetuletused ja muud YouTube'i videote tüütud kohad. SponsorBlock on rahva ühistööna toimiv brauserilaiendus, mis lubab igaühel saata sponsoreeritud segmendi algus- ja lõpuaegu ning teiste video segmentide aegu. Kui üks inimene saadab sponsoreeritud segmendi, jätavad teised laienduse kasutajad kohe selle vahele. Laiendus võimaldab ka muusikavideotel mitte-muusika jaotised vahele jätta.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "Jätad {0} vahele?"
},
"skip_to_category": {
"message": "Jäta {0}-ni vahele?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "vahelejäetud"
"message": "{0} vahelejäetud",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "{0}-ni vahelejäetud",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Keela automaatne vahelejätmine"
@ -347,12 +359,6 @@
"createdBy": {
"message": "Autor"
},
"autoSkip": {
"message": "Autom. vahelejätmine"
},
"showSkipNotice": {
"message": "Kuva segmendi vahelejätmisel teatis"
},
"keybindCurrentlySet": {
"message": ". Hetkel on selleks määratud:"
},
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Mitte-muusika"
},
"category_poi_highlight": {
"message": "Esiletõst"
},
"category_poi_highlight_description": {
"message": "Video osa, mida enamus inimesed otsivad. Sarnaneb kommentaaridele stiilis \"video algab ajal x\"."
},
"category_livestream_messages": {
"message": "Otseülekanne: annetuste ja sõnumite lugemine"
},
"category_livestream_messages_short": {
"message": "Sõnumite lugemine"
},
"disable": {
"message": "Keela"
"autoSkip": {
"message": "Autom. vahelejätmine"
},
"manualSkip": {
"message": "Käsitsi vahelejätmine"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "Kuva mängija ajaribal"
},
"disable": {
"message": "Keela"
},
"autoSkip_POI": {
"message": "Jäta automaatselt alguseni vahele"
},
"manualSkip_POI": {
"message": "Küsi video laadimisel"
},
"showOverlay_POI": {
"message": "Kuva mängija ajaribal"
},
"autoSkipOnMusicVideos": {
"message": "Jäta automaatselt kõik segmendid vahele, kui eksisteerib mitte-muusika segment"
},
"colorFormatIncorrect": {
"message": "Sinu värv on sobimatult vormistatud. See peaks olema 3- või 6-numbriline 16-kümmendsüsteemis kood, arvu ees trellid."
},
@ -675,5 +702,12 @@
},
"hideForever": {
"message": "Peida igaveseks"
},
"warningChatInfo": {
"message": "Sa said hoiatuse ning ei saa ajutiselt segmente saata. See tähendab, et me leidsime sind tegemast teatud sagedasi, mitte-pahatahtlikke vigu, ning soovime sulle meie reegleid täpsustada (inglise keeles). Sa võid selle vestlusega liituda ka discord.gg/SponsorBlock või matrix.to/#/+sponsor:ajay.app kaudu."
},
"voteRejectedWarning": {
"message": "Hääletus hoiatuse tõttu tagasilükatud. Klõpsa, et avada selle lahendamiseks vestlus või tule hiljem tagasi, kui aega saad.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Näytä ilmoitus uudelleen"
},
"showSkipNotice": {
"message": "Näytä ilmoitus ohitetun segmentin jälkeen"
},
"longDescription": {
"message": "SponsorBlockin avulla voit ohittaa sponsorit, introt, outrot, tilausmuistutukset ja muut ärsyttävät osat YouTube-videoissa. SponsorBlock on joukkoistettu selainlaajennus, jonka avulla kuka tahansa voi lähettää Youtube-videoiden sponsoroitujen ja muiden segmenttien aloitus- ja päättymisajat. Kun yksi henkilö on lähettänyt tämän tiedon, kaikki muut, joilla on tämä laajennus, ohittavat sponsoroidun segmentin. Voit myös ohittaa musiikkivideoiden musiikittomat osat.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "Ohita {0}?"
},
"skip_to_category": {
"message": "Ohita {0}an?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Ohitettu"
"message": "{0} ohitettu",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Ohitettiin {0}an",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Poista automaattinen ohitus käytöstä"
@ -347,12 +359,6 @@
"createdBy": {
"message": "Luonut"
},
"autoSkip": {
"message": "Ohita automaattisesti"
},
"showSkipNotice": {
"message": "Näytä ilmoitus ohitetun segmentin jälkeen"
},
"keybindCurrentlySet": {
"message": ". Tällä hetkellä se on asetettu näppäimeen:"
},
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Musiikiton"
},
"category_poi_highlight": {
"message": "Kohokohta"
},
"category_poi_highlight_description": {
"message": "Kohta videossa, mitä suurin osa ihmisistä etsivät.\nSamankaltainen \"Video alkaa kohdassa x\" kommenttien kanssa."
},
"category_livestream_messages": {
"message": "Livestream: lahjoitusten/viestien lukeminen"
},
"category_livestream_messages_short": {
"message": "Viestien lukeminen"
},
"disable": {
"message": "Poista käytöstä"
"autoSkip": {
"message": "Ohita automaattisesti"
},
"manualSkip": {
"message": "Manuaalinen ohitus"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "Näytä liukusäätimessä"
},
"disable": {
"message": "Poista käytöstä"
},
"autoSkip_POI": {
"message": "Ohita automaattisesti alkuun"
},
"manualSkip_POI": {
"message": "Kysy kun video latautuu"
},
"showOverlay_POI": {
"message": "Näytä liukusäätimessä"
},
"autoSkipOnMusicVideos": {
"message": "Ohita kaikki segmentit automaattisesti, kun videossa on \"Musiikiton\" segmentti"
},
"colorFormatIncorrect": {
"message": "Väriformaattisi on muotoiltu väärin. Sen pitäisi olla 3 tai 6 numeroinen hex-koodi, jossa on # alussa."
},

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Afficher la notification"
},
"showSkipNotice": {
"message": "Notifier après qu'un segment ait été sauté"
},
"longDescription": {
"message": "SponsorBlock vous permet de passer les sponsors, les intros, les outros, les rappels d'abonnement et autres parties ennuyeuses des vidéos YouTube. SponsorBlock est une extension de navigateur qui permet à n'importe qui de soumettre les temps de début et de fin des segments sponsorisés et d'autres segments de vidéos YouTube. Une fois qu'une personne a soumis ces informations, toutes les autres personnes possédant cette extension passeront directement les segments sponsorisés. Vous pouvez également sauter les sections non musicales des vidéos musicales.",
"description": "Full description of the extension on the store pages."
@ -284,9 +287,6 @@
"skip_category": {
"message": "Passer {0} ?"
},
"skipped": {
"message": "Passé"
},
"disableAutoSkip": {
"message": "Désactiver le passage automatique"
},
@ -347,12 +347,6 @@
"createdBy": {
"message": "Créé par"
},
"autoSkip": {
"message": "Passage automatique"
},
"showSkipNotice": {
"message": "Notifier après qu'un segment ait été sauté"
},
"keybindCurrentlySet": {
"message": ". Il est actuellement réglé sur :"
},
@ -550,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Lecture de messages"
},
"disable": {
"message": "Désactiver"
"autoSkip": {
"message": "Passage automatique"
},
"manualSkip": {
"message": "Passer manuellement"
@ -559,6 +553,9 @@
"showOverlay": {
"message": "Afficher dans la barre de progression"
},
"disable": {
"message": "Désactiver"
},
"colorFormatIncorrect": {
"message": "Votre couleur est mal formatée. Il devrait s'agir d'un code hexadécimal à 3 ou 6 chiffres avec un signe numérique au début."
},

View file

@ -183,10 +183,10 @@
"createdBy": {
"message": "נוצר על ידי"
},
"autoSkip": {
"message": "דילוג אוטומטי"
},
"add": {
"message": "הוסף"
},
"autoSkip": {
"message": "דילוג אוטומטי"
}
}

View file

@ -131,6 +131,9 @@
"Options": {
"message": "Opcije"
},
"showSkipNotice": {
"message": "Pokaži obavijest nakon preskakanja isječka"
},
"website": {
"message": "Web-stranica",
"description": "Used on Firefox Store Page"
@ -158,9 +161,6 @@
"skip_category": {
"message": "Preskočiti {0}?"
},
"skipped": {
"message": "Preskočeno"
},
"disableAutoSkip": {
"message": "Deaktiviraj automatsko preskakanje"
},
@ -191,12 +191,6 @@
"createdBy": {
"message": "Izradio"
},
"autoSkip": {
"message": "Automatsko preskakanje"
},
"showSkipNotice": {
"message": "Pokaži obavijest nakon preskakanja isječka"
},
"keybindCurrentlySet": {
"message": ". Trenutno je postavljeno na:"
},
@ -290,6 +284,9 @@
"category_music_offtopic_short": {
"message": "Ne-glazbeni"
},
"autoSkip": {
"message": "Automatsko preskakanje"
},
"manualSkip": {
"message": "Ručno preskakanje"
},

View file

@ -221,6 +221,9 @@
"showNotice": {
"message": "Értesítés megjelenítése ismét"
},
"showSkipNotice": {
"message": "Jelezzen, ha egy szegmens át lett ugorva"
},
"longDescription": {
"message": "A SponsorBlock-al átugorhatja a szponzorokat, introkat, outrokat, feliratkozás emlékeztetőket és a YouTube videók többi idegesítő részeit. A SponsorBlock egy közösség által vezérelt böngészőbővítmény, ami lehetővé tesz bárkit arra, hogy megjelölhesse egy szponzor vagy más szegmens kezdő és végpontjait. Ha megosztja ezt az információt, mindenki más ennek a bővítménynek a birtokában egyenesen átugorja majd ezt a szponzorszegmenst. Emellett például a zene videók nem-zene részei is átugorhatóak.",
"description": "Full description of the extension on the store pages."
@ -278,9 +281,6 @@
"skip_category": {
"message": "Átugorja ezt: {0}?"
},
"skipped": {
"message": "Átugorva"
},
"disableAutoSkip": {
"message": "Auto átugrás kikapcsolása"
},
@ -341,12 +341,6 @@
"createdBy": {
"message": "Készítette"
},
"autoSkip": {
"message": "Auto átugrás"
},
"showSkipNotice": {
"message": "Jelezzen, ha egy szegmens át lett ugorva"
},
"keybindCurrentlySet": {
"message": ". Jelenleg erre van állítva:"
},
@ -513,8 +507,8 @@
"category_livestream_messages_short": {
"message": "Üzenet beolvasása"
},
"disable": {
"message": "Kikapcsol"
"autoSkip": {
"message": "Auto átugrás"
},
"manualSkip": {
"message": "Átugrás manuálisan"
@ -522,6 +516,9 @@
"showOverlay": {
"message": "Megjelenítés a keresősávban"
},
"disable": {
"message": "Kikapcsol"
},
"colorFormatIncorrect": {
"message": "A szín helytelenül van formázva. Egy 3 vagy 6 számjegyből álló hex kódnak kell lennie egy kettőskereszttel az elején."
},

View file

@ -218,6 +218,9 @@
"showNotice": {
"message": "Tampilkan Pemberitahuan Lagi"
},
"showSkipNotice": {
"message": "Tampilkan pemberitahuan setelah melewati segmen"
},
"longDescription": {
"message": "SponsorBlock membuat anda melewati sponsor, intro, outro, pengingat berlangganan dan segmen mengganggu lainnya di video YouTube. SponsorBlock adalah ekstensi browser crowdsourced yang membolehkan siapa saja mengirim waktu awal dan akhir dari segmen sponsor dan segmen video YouTube lainnya. Setelah seseorang mengirim informasi ini, orang lain yang memakai ekstensi ini akan melewati segmen sponsor di video yang sama. Anda juga dapat melewati bagian non-musik di musik video.",
"description": "Full description of the extension on the store pages."
@ -278,9 +281,6 @@
"skip_category": {
"message": "Lewati {0}?"
},
"skipped": {
"message": "Dilewati"
},
"disableAutoSkip": {
"message": "Nonaktifkan Lewati Otomatis"
},
@ -341,12 +341,6 @@
"createdBy": {
"message": "Dibuat Oleh"
},
"autoSkip": {
"message": "Lewati Otomatis"
},
"showSkipNotice": {
"message": "Tampilkan pemberitahuan setelah melewati segmen"
},
"keybindCurrentlySet": {
"message": ". Saat ini diatur pada:"
},
@ -513,8 +507,8 @@
"category_livestream_messages_short": {
"message": "Membaca Pesan Chat"
},
"disable": {
"message": "Nonaktif"
"autoSkip": {
"message": "Lewati Otomatis"
},
"manualSkip": {
"message": "Lewati Manual"
@ -522,6 +516,9 @@
"showOverlay": {
"message": "Tampilkan Di Bilah Waktu"
},
"disable": {
"message": "Nonaktif"
},
"colorFormatIncorrect": {
"message": "Warna anda tidak diformat dengan benar. Harusnya terdiri dari 3 atau 6 digit kode heksa dengan tagar di awal."
},

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Mostra di Nuovo l'Avviso"
},
"showSkipNotice": {
"message": "Mostra Avviso Dopo Aver Saltato un Segmento"
},
"longDescription": {
"message": "SponsorBlock ti consente di saltare sponsorizzazioni, introduzioni, conclusioni, promemoria di iscrizione e altre componenti fastidiose dei video su YouTube. SponsorBlock è un'estensione per browser in crowdsourcing, che consente a chiunque di inviare l'ora di inizio e di fine dei segmenti sponsorizzati e altri segmenti video su YouTube. Quando una persona invia queste informazioni, chiunque altro in possesso di questa estensione sarà in grado di saltare direttamente il segmento sponsorizzato. È possibile saltare anche le sezioni non musicali dei video musicali.",
"description": "Full description of the extension on the store pages."
@ -284,9 +287,6 @@
"skip_category": {
"message": "Vuoi saltare {0}?"
},
"skipped": {
"message": "Saltato"
},
"disableAutoSkip": {
"message": "Disabilita Salto Automatico"
},
@ -347,12 +347,6 @@
"createdBy": {
"message": "Creato da"
},
"autoSkip": {
"message": "Salta Automaticamente"
},
"showSkipNotice": {
"message": "Mostra Avviso Dopo Aver Saltato un Segmento"
},
"keybindCurrentlySet": {
"message": ". Attualmente è impostato su:"
},
@ -550,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Lettura Messaggi"
},
"disable": {
"message": "Disattiva"
"autoSkip": {
"message": "Salta Automaticamente"
},
"manualSkip": {
"message": "Salto Manuale"
@ -559,6 +553,9 @@
"showOverlay": {
"message": "Mostra nella Barra di Ricerca"
},
"disable": {
"message": "Disattiva"
},
"colorFormatIncorrect": {
"message": "Il tuo colore è formattato in modo errato. Dovrebbe essere un codice esadecimale a 3 o 6 cifre con un segno numerico iniziale."
},
@ -675,5 +672,12 @@
},
"hideForever": {
"message": "Nascondi per sempre"
},
"warningChatInfo": {
"message": "Hai ricevuto un ammonimento and non puoi inviare segmenti temporaneamente. Ciò significa che abbiamo notato che stavi commettendo alcuni errori comuni senza scopo malevolo, e vogliamo che tu ricontrollassi le regole. Puoi anche partecipare a questa chat su discord.gg/SponsorBlock o matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Voto rifiutato a causa di un ammonimento. Clicca per aprire una chat per risolverlo, oppure torna dopo quando hai tempo.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -137,17 +137,17 @@
"message": "リーダーボード"
},
"recordTimesDescription": {
"message": "送信"
"message": "提出"
},
"submissionEditHint": {
"message": "提出をクリックするとセクション編集画面が表示されます",
"description": "Appears in the popup to inform them that editing has been moved to the video player."
},
"popupHint": {
"message": "ヒント: オプションから提出時のキーバインドを設定できます"
"message": "心得: 利用者設定で提出時のキーバインドを設定できます"
},
"clearTimesButton": {
"message": "時間をクリア"
"message": "時間を消去"
},
"submitTimesButton": {
"message": "時間を提出"
@ -224,6 +224,24 @@
"showNotice": {
"message": "再度通知を表示する"
},
"showSkipNotice": {
"message": "セグメントがスキップされた後に通知を表示する"
},
"noticeVisibilityMode0": {
"message": "飛び越し通知(全体)"
},
"noticeVisibilityMode1": {
"message": "自動飛び越し通知(小)"
},
"noticeVisibilityMode2": {
"message": "すべての飛び越し通知(小)"
},
"noticeVisibilityMode3": {
"message": "表示の終了した自動飛び越し通知"
},
"noticeVisibilityMode4": {
"message": "表示の終了した全ての飛び越し通知"
},
"longDescription": {
"message": "SponsorBlockはスポンサー、イントロ、アウトロ、チャンネル登録のお願いなど、YouTube動画の煩わしい部分をスキップします。SponsorBlockはYouTube動画のスポンサー付きセグメントなどの開始時間と終了時間を誰でも投稿できる、クラウドソースのブラウザ拡張機能です。一人がセグメントの情報を送信すると、この拡張機能を使用している他の全員が、スポンサー付きセグメントをスキップできるようになります。また、ミュージックビデオの音楽がない部分をスキップすることもできます。",
"description": "Full description of the extension on the store pages."
@ -284,8 +302,17 @@
"skip_category": {
"message": "{0} をスキップしますか?"
},
"skip_to_category": {
"message": "{0}まで飛び越しますか?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "スキップしました"
"message": "{0}を飛び越しました",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "{0}まで飛び越しました",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "自動スキップを無効にする"
@ -347,12 +374,6 @@
"createdBy": {
"message": "作成者:"
},
"autoSkip": {
"message": "自動スキップ"
},
"showSkipNotice": {
"message": "セグメントがスキップされた後に通知を表示する"
},
"keybindCurrentlySet": {
"message": "。現在の設定は:"
},
@ -544,14 +565,20 @@
"category_music_offtopic_short": {
"message": "音楽以外の部分"
},
"category_poi_highlight": {
"message": "強調表示"
},
"category_poi_highlight_description": {
"message": "ほとんどの人が必要としている動画の箇所。「xx:xx 開始」というようなコメントと類似。"
},
"category_livestream_messages": {
"message": "ライブ配信: 寄付/メッセージの読み上げ"
},
"category_livestream_messages_short": {
"message": "寄付などの読み上げ"
},
"disable": {
"message": "無効"
"autoSkip": {
"message": "自動スキップ"
},
"manualSkip": {
"message": "手動スキップ"
@ -559,6 +586,21 @@
"showOverlay": {
"message": "シークバーに表示"
},
"disable": {
"message": "無効"
},
"autoSkip_POI": {
"message": "動画の開始時刻まで飛び越し"
},
"manualSkip_POI": {
"message": "動画を読み込んだ際に確認する"
},
"showOverlay_POI": {
"message": "シークバーに表示"
},
"autoSkipOnMusicVideos": {
"message": "非音楽区域がある場合,全区域を自動的に飛び越す"
},
"colorFormatIncorrect": {
"message": "カラーコードの書式が間違っています。 #から始まる3桁または6桁の16進数コードでなければなりません。"
},
@ -675,5 +717,12 @@
},
"hideForever": {
"message": "二度と表示しない"
},
"warningChatInfo": {
"message": "警告のため,区域の送信が一時的に禁止されています。これは利用者さまが間違いを犯されているというこちらどもの判断ではありますが,この間違いが悪意あるものとは思っておりません。単に,利用者さまに区域送信における規則を知っていただきたいだけです。連絡先: discord.gg/SponsorBlockmatrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "警告により投票が拒否されました。クリックして運営に連絡するか,少し時間を置いてからやりなおしてください。",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "알림 다시 보여주기"
},
"showSkipNotice": {
"message": "구간을 건너뛴 후 알림 표시"
},
"longDescription": {
"message": "SponsorBlock을 사용하면 영상에서 스폰서 광고, 인트로 영상, 아웃트로 영상, 구독 광고와 그 외 쓸데없는 부분을 즉시 건너뛸 수 있습니다. SponsorBlock은 모든 사람들이 참여하는 브라우저 확장 기능으로 확장 기능 사용자는 스폰서 광고 또는 다른 광고의 시작 시간과 끝 시간을 확인하여 서버로 전송할 수 있습니다. 이러한 정보가 전송되면 그 영상을 보는 다른 사용자들은 광고 구간이 나오기 전에 자동으로 건너뛸 수 있습니다. SponsorBlock을 사용하면 뮤직 비디오에서 음악이나 노래가 아닌 구간도 건너뛸 수 있습니다.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "{0} 을(를) 건너뛰겠어요?"
},
"skip_to_category": {
"message": "{0}(으)로 건너뛰겠어요?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "스킵됨"
"message": "{0} 건너뜀",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "{0}(으)로 건너뛰었습니다",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "자동 스킵 비활성화"
@ -347,12 +359,6 @@
"createdBy": {
"message": "개발자: "
},
"autoSkip": {
"message": "자동으로 건너뛰기"
},
"showSkipNotice": {
"message": "구간을 건너뛴 후 알림 표시"
},
"keybindCurrentlySet": {
"message": ". 현재 다음으로 설정되어 있습니다:"
},
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "음악이 아닌 구간"
},
"category_poi_highlight": {
"message": "하이라이트"
},
"category_poi_highlight_description": {
"message": "대부분의 사람들이 찾는 동영상의 파트를 말합니다. \"바쁘신 분들은...\" 댓글과 유사합니다."
},
"category_livestream_messages": {
"message": "라이브스트림: 후원/메시지 읽기"
},
"category_livestream_messages_short": {
"message": "메시지 읽기"
},
"disable": {
"message": "비활성화"
"autoSkip": {
"message": "자동으로 건너뛰기"
},
"manualSkip": {
"message": "수동 스킵"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "재생 시간 바 표시"
},
"disable": {
"message": "비활성화"
},
"autoSkip_POI": {
"message": "시점으로 자동 건너뛰기"
},
"manualSkip_POI": {
"message": "동영상을 불러왔을 때 묻기"
},
"showOverlay_POI": {
"message": "재생 시간 바에 표시"
},
"autoSkipOnMusicVideos": {
"message": "음악이 아닌 구간이 있을 때는 모든 구간 자동 건너뛰기"
},
"colorFormatIncorrect": {
"message": "올바르지 않은 색상 코드입니다. 색상 코드는 샵 (#) 기호로 시작하여 3자리 또는 6자리의 16진수로 구성되어야 합니다."
},
@ -675,5 +702,12 @@
},
"hideForever": {
"message": "다시 보지 않음"
},
"warningChatInfo": {
"message": "현재 귀하가 악의적이지 않은 일반적인 실수를 저지르고 있음을 발견했습니다. 이에 따라 경고 조치가 내려져 일시적으로 구간을 제출할 수 없게 되었습니다. 저희는 단지 규칙을 명확히 전달하고자 합니다. discord.gg/SponsorBlock 또는 matrix.to/#/+sponsor:ajay.app 링크를 통해 대화에 참여할 수도 있습니다."
},
"voteRejectedWarning": {
"message": "경고로 인해 투표가 거부되었습니다. 클릭하여 대화로 해결하거나, 나중에 시간이 나면 다시 오세요.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "അറിയിപ്പ് വീണ്ടും കാണിക്കുക"
},
"showSkipNotice": {
"message": "ഒരു സെഗ്മെന്റ് ഒഴിവാക്കിയതിനുശേഷം അറിയിപ്പ് കാണിക്കുക"
},
"longDescription": {
"message": "സ്പോൺസർമാർ, ആമുഖങ്ങൾ, ros ട്ട്‌ട്രോകൾ, സബ്‌സ്‌ക്രിപ്‌ഷൻ ഓർമ്മപ്പെടുത്തലുകൾ, YouTube വീഡിയോകളുടെ മറ്റ് ശല്യപ്പെടുത്തുന്ന ഭാഗങ്ങൾ എന്നിവ ഒഴിവാക്കാൻ സ്‌പോൺസർബ്ലോക്ക് നിങ്ങളെ അനുവദിക്കുന്നു. സ്പോൺ‌സർ‌ബ്ലോക്ക് ഒരു ക്ര crow ഡ്സോഴ്സ്ഡ് ബ്ര browser സർ എക്സ്റ്റൻഷനാണ്, ഇത് സ്പോൺസർ ചെയ്ത സെഗ്‌മെന്റുകളുടെയും YouTube വീഡിയോകളുടെ മറ്റ് സെഗ്‌മെൻറുകളുടെയും ആരംഭ, അവസാന സമയങ്ങൾ സമർപ്പിക്കാൻ ആരെയും അനുവദിക്കുക. ഒരു വ്യക്തി ഈ വിവരങ്ങൾ‌ സമർപ്പിച്ചുകഴിഞ്ഞാൽ‌, ഈ വിപുലീകരണമുള്ള മറ്റെല്ലാവരും സ്പോൺ‌സർ‌ ചെയ്‌ത സെഗ്‌മെൻറിനെ മറികടക്കും. സംഗീത വീഡിയോകളുടെ സംഗീതേതര വിഭാഗങ്ങളും നിങ്ങൾക്ക് ഒഴിവാക്കാം.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "{0} ഒഴിവാക്കുക?"
},
"skipped": {
"message": "ഒഴിവാക്കി"
},
"disableAutoSkip": {
"message": "യാന്ത്രിക ഒഴിവാക്കൽ പ്രവർത്തനരഹിതമാക്കുക"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "ഉണ്ടാക്കിയത്"
},
"autoSkip": {
"message": "യാന്ത്രിക ഒഴിവാക്കുക"
},
"showSkipNotice": {
"message": "ഒരു സെഗ്മെന്റ് ഒഴിവാക്കിയതിനുശേഷം അറിയിപ്പ് കാണിക്കുക"
},
"keybindCurrentlySet": {
"message": ". ഇത് നിലവിൽ ഇതായി സജ്ജീകരിച്ചിരിക്കുന്നു:"
},
@ -504,8 +498,8 @@
"category_livestream_messages_short": {
"message": "സന്ദേശ വായന"
},
"disable": {
"message": "പ്രവർത്തനരഹിതമാക്കുക"
"autoSkip": {
"message": "യാന്ത്രിക ഒഴിവാക്കുക"
},
"manualSkip": {
"message": "സ്വമേധയാലുള്ള ഒഴിവാക്കൽ"
@ -513,6 +507,9 @@
"showOverlay": {
"message": "സീക്ക് ബാറിൽ കാണിക്കുക"
},
"disable": {
"message": "പ്രവർത്തനരഹിതമാക്കുക"
},
"colorFormatIncorrect": {
"message": "നിങ്ങളുടെ നിറം തെറ്റായി ഫോർമാറ്റുചെയ്‌തു. ഇത് തുടക്കത്തിൽ ഒരു നമ്പർ ചിഹ്നമുള്ള 3 അല്ലെങ്കിൽ 6 അക്ക ഹെക്സ് കോഡായിരിക്കണം."
},

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "Tunjukkan Notis Lagi"
},
"showSkipNotice": {
"message": "Tunjukkan Makluman Setelah Segmen Dilangkau"
},
"longDescription": {
"message": "SponsorBlock membolehkan anda melewati penaja, intro, outro, peringatan langganan, dan bahagian lain dari video YouTube yang menjengkelkan. SponsorBlock adalah pelanjutan penyemak imbas yang banyak untuk membolehkan sesiapa sahaja menghantar segmen tajaan dan masa tayangan dari segmen video YouTube yang lain. Setelah satu orang menyerahkan maklumat ini, semua orang yang mempunyai pelanjutan ini akan melangkau segmen yang ditaja. Anda juga boleh melangkau bahagian muzik video muzik bukan.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "Langkau {0}?"
},
"skipped": {
"message": "Langkau"
},
"disableAutoSkip": {
"message": "Lumpuhkan Langkau Auto"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "Dicipta oleh"
},
"autoSkip": {
"message": "Langkau Auto"
},
"showSkipNotice": {
"message": "Tunjukkan Makluman Setelah Segmen Dilangkau"
},
"keybindCurrentlySet": {
"message": ". Pada masa ini ditetapkan untuk:"
},
@ -504,8 +498,8 @@
"category_livestream_messages_short": {
"message": "Bacaan Mesej"
},
"disable": {
"message": "Nyahaktifkan"
"autoSkip": {
"message": "Langkau Auto"
},
"manualSkip": {
"message": "Langkau Manual"
@ -513,6 +507,9 @@
"showOverlay": {
"message": "Tunjukkan Di Bar Mencari"
},
"disable": {
"message": "Nyahaktifkan"
},
"colorFormatIncorrect": {
"message": "Warna anda tidak diformat dengan betul. Ia mestilah kod hex 3 atau 6 digit dengan tanda nombor pada awalnya."
},

View file

@ -26,13 +26,13 @@
"message": "segmenten"
},
"upvoteButtonInfo": {
"message": "Stemmen op deze indiening"
"message": "Stemmen op deze inzending"
},
"reportButtonTitle": {
"message": "Rapporteren"
},
"reportButtonInfo": {
"message": "Deze indiening als onjuist rapporteren."
"message": "Deze inzending als onjuist rapporteren."
},
"Dismiss": {
"message": "Verwerpen"
@ -140,7 +140,7 @@
"message": "Indienen"
},
"submissionEditHint": {
"message": "Sectiebewerking verschijnt nadat u op verzenden hebt geklikt",
"message": "Sectiebewerking verschijnt nadat u op indienen hebt geklikt",
"description": "Appears in the popup to inform them that editing has been moved to the video player."
},
"popupHint": {
@ -204,7 +204,7 @@
"message": "Bijhouden van het aantal keren overslaan inschakelen"
},
"whatViewTracking": {
"message": "Deze functie houdt bij welke segmenten u heeft overgeslagen om gebruikers te laten weten hoezeer hun indiening anderen heeft geholpen en wordt samen met upvotes als meetwaarde gebruikt om ervoor te zorgen dat spam niet in de database terechtkomt. De extensie stuurt telkens wanneer u een segment overslaat een bericht naar de server. Hopelijk veranderen de meeste mensen deze instelling niet zodat de weergavenummers accuraat zijn. :)"
"message": "Deze functie houdt bij welke segmenten u heeft overgeslagen om gebruikers te laten weten hoezeer hun inzending anderen heeft geholpen en wordt samen met upvotes als meetwaarde gebruikt om ervoor te zorgen dat spam niet in de database terechtkomt. De extensie stuurt telkens wanneer u een segment overslaat een bericht naar de server. Hopelijk veranderen de meeste mensen deze instelling niet zodat de weergavenummers accuraat zijn. :)"
},
"enableViewTrackingInPrivate": {
"message": "Bijhouden van het aantal keren overslaan inschakelen in privé-/incognito-tabbladen"
@ -224,6 +224,9 @@
"showNotice": {
"message": "Melding opnieuw weergeven"
},
"showSkipNotice": {
"message": "Melding weergeven nadat een segment is overgeslagen"
},
"longDescription": {
"message": "SponsorBlock laat u sponsoring, intro's, outro's, herinneringen om te abonneren en andere vervelende onderdelen van YouTube-video's overslaan. SponsorBlock is een gecrowdsourcete browser-extensie waarmee iedereen de begin- en eindtijd van gesponsorde segmenten en andere segmenten van YouTube-video's kan indienen. Zodra één persoon deze informatie indient, zal iedereen met deze extensie het gesponsorde segment overslaan. U kunt ook secties zonder muziek in muziekvideo's overslaan.",
"description": "Full description of the extension on the store pages."
@ -251,7 +254,7 @@
"message": "Sneltoets instellen voor begin/einde van segment"
},
"setSubmitKeybind": {
"message": "Sneltoets instellen voor indienen"
"message": "Sneltoets instellen voor inzending"
},
"keybindDescription": {
"message": "Selecteer een toets door hem in te drukken"
@ -284,9 +287,6 @@
"skip_category": {
"message": "{0} overslaan?"
},
"skipped": {
"message": "Overgeslagen"
},
"disableAutoSkip": {
"message": "Automatisch overslaan uitschakelen"
},
@ -347,12 +347,6 @@
"createdBy": {
"message": "Gemaakt door"
},
"autoSkip": {
"message": "Automatisch overslaan"
},
"showSkipNotice": {
"message": "Melding weergeven nadat een segment is overgeslagen"
},
"keybindCurrentlySet": {
"message": ". Hij is momenteel ingesteld op:"
},
@ -550,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Lezen van berichten"
},
"disable": {
"message": "Uitschakelen"
"autoSkip": {
"message": "Automatisch overslaan"
},
"manualSkip": {
"message": "Handmatig overslaan"
@ -559,6 +553,12 @@
"showOverlay": {
"message": "Weergeven in tijdbalk"
},
"disable": {
"message": "Uitschakelen"
},
"autoSkipOnMusicVideos": {
"message": "Automatisch alle segmenten overslaan wanneer er een niet-muziek-segment is"
},
"colorFormatIncorrect": {
"message": "Uw kleur is verkeerd geformatteerd. Het moet een hexadecimale code van 3 of 6 cijfers zijn met een hekje aan het begin."
},
@ -675,5 +675,12 @@
},
"hideForever": {
"message": "Voor altijd verbergen"
},
"warningChatInfo": {
"message": "U heeft een waarschuwing gekregen en kunt tijdelijk geen segmenten indienen. Dit betekent dat we gemerkt hebben dat u een aantal veelvoorkomende fouten maakt die niet kwaadaardig zijn, en we willen gewoon de regels verduidelijken. U kunt ook deelnemen aan deze chat via discord.gg/SponsorBlock of matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Stem geweigerd vanwege een waarschuwing. Klik om een chat te openen om het op te lossen, of kom later terug als u tijd hebt.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "Vis varselet igjen"
},
"showSkipNotice": {
"message": "Vis varsel etter at et segment har blitt hoppet over"
},
"longDescription": {
"message": "SponsorBlock lar deg hoppe over sponsorer, introer, outro-er, abonnementspåminnelser, og andre irriterende deler av YouTube-videoer. SponsorBlock er en fellesskapsdrevet nettleserutvidelser som lar alle sende inn start- og sluttidspunktene til sponsede segmenter og andre segmenter i YouTube-videoer. Når en person sender inn denne informasjonen, vil alle andre med denne utvidelsen hoppe rett over det sponsede segmentet. Du kan også hoppe over ikke-musikk-seksjoner i musikkvideoer.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "Vil du hoppe over {0}?"
},
"skipped": {
"message": "Hoppet over"
},
"disableAutoSkip": {
"message": "Skru av autohopping"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "Opprettet av"
},
"autoSkip": {
"message": "Hopp over automatisk"
},
"showSkipNotice": {
"message": "Vis varsel etter at et segment har blitt hoppet over"
},
"keybindCurrentlySet": {
"message": ". Den er før øyeblikket satt til:"
},
@ -504,8 +498,8 @@
"category_livestream_messages_short": {
"message": "Høytlesning av meldinger"
},
"disable": {
"message": "Deaktiver"
"autoSkip": {
"message": "Hopp over automatisk"
},
"manualSkip": {
"message": "Manuelt hopp"
@ -513,6 +507,9 @@
"showOverlay": {
"message": "Vis i tidsstripen"
},
"disable": {
"message": "Deaktiver"
},
"colorFormatIncorrect": {
"message": "Fargen din er formattert feil. Det burde være en 3- eller 6-sifret heksadesimal kode med et nummertegn foran."
},

View file

@ -85,6 +85,9 @@
"noVideoID": {
"message": "Nie znaleziono filmu YouTube.\nJeżeli to błąd, odśwież stronę."
},
"refreshSegments": {
"message": "Odśwież segmenty"
},
"success": {
"message": "Sukces!"
},
@ -221,6 +224,9 @@
"showNotice": {
"message": "Pokaż informacje ponownie"
},
"showSkipNotice": {
"message": "Pokaż informację po pominięciu segmentu"
},
"longDescription": {
"message": "SponsorBlock pozwala pomijać sponsorów, intra, outra, przypomnienia o subskrypcjach i inne irytujące fragmenty filmów na YouTube. SponsorBlock jest opartym na crowdsourcingu rozszerzeniem do przeglądarki, które pozwala każdemu zgłosić początek i koniec segmentów sponsorowanych oraz innych segmentów w filmach na YouTube. Kiedy ktoś już zamieści te informacje, wszyscy pozostali z tym rozszerzeniem będą pomijać segment sponsorowany. Możesz również pomijać fragmenty teledysków bez muzyki.",
"description": "Full description of the extension on the store pages."
@ -281,9 +287,6 @@
"skip_category": {
"message": "Pominąć {0}?"
},
"skipped": {
"message": "Pominięto"
},
"disableAutoSkip": {
"message": "Wyłącz autopomijanie"
},
@ -344,12 +347,6 @@
"createdBy": {
"message": "Stworzony przez"
},
"autoSkip": {
"message": "Autopomijanie"
},
"showSkipNotice": {
"message": "Pokaż informację po pominięciu segmentu"
},
"keybindCurrentlySet": {
"message": ". Obecnie ustawiony:"
},
@ -547,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Czytanie wiadomości"
},
"disable": {
"message": "Wyłączone"
"autoSkip": {
"message": "Autopomijanie"
},
"manualSkip": {
"message": "Ręczne pomijanie"
@ -556,6 +553,12 @@
"showOverlay": {
"message": "Pokaż na pasku"
},
"disable": {
"message": "Wyłączone"
},
"autoSkipOnMusicVideos": {
"message": "Automatycznie pomiń wszystkie segmenty, gdy istnieje segment niemuzyczny"
},
"colorFormatIncorrect": {
"message": "Nieprawidłowy format koloru. Powinien to być zapis szesnastkowy (heksadecymalny) składający się z 3 lub 6 znaków poprzedzonych kratką (#)."
},
@ -672,5 +675,12 @@
},
"hideForever": {
"message": "Schowaj na zawsze"
},
"warningChatInfo": {
"message": "Otrzymałeś ostrzeżenie i nie możesz tymczasowo przesłać segmentów. Oznacza to, że zauważyliśmy, że popełniałeś pewne pospolite błędy, które nie są złośliwe i po prostu chcemy wyjaśnić zasady. Możesz również dołączyć do tego czatu używając discord.gg/SponsorBlock lub matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Głosowanie odrzucone z powodu ostrzeżenia. Kliknij, aby otworzyć czat w celu rozwiązania problemu lub wróć później, gdy będziesz miał czas.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -4,7 +4,7 @@
"description": "Name of the extension."
},
"Description": {
"message": "Pule patrocinadores, pedidos para se inscrever e mais nos vídeos do YouTube. Reporte patrocinadores nos vídeos que você assistir para economizar o tempo dos outros.",
"message": "Pule patrocinadores, pedidos para se inscrever, e outros nos vídeos do YouTube. Reporte patrocinadores nos vídeos que você assistir para economizar o tempo dos outros.",
"description": "Description of the extension."
},
"400": {
@ -74,10 +74,10 @@
"message": "Nenhum segmento encontrado"
},
"sponsorStart": {
"message": "O segmento começa agora"
"message": "O Segmento Começa Agora"
},
"sponsorEnd": {
"message": "O segmento termina agora"
"message": "O Segmento Termina Agora"
},
"sponsorCancel": {
"message": "Cancelar Criação de Segmento"
@ -131,7 +131,7 @@
"message": "Envios"
},
"savedPeopleFrom": {
"message": "Poupaste a outros de "
"message": "Você poupou as pessoas de "
},
"viewLeaderboard": {
"message": "Placar de classificação"
@ -140,7 +140,7 @@
"message": "Enviar"
},
"submissionEditHint": {
"message": "A edição da seção aparecerá depois que você clicar em enviar",
"message": "A edição da seção aparecerá após você clicar em enviar",
"description": "Appears in the popup to inform them that editing has been moved to the video player."
},
"popupHint": {
@ -189,7 +189,7 @@
"message": "Este é o botão que abre o popup na pagina do Youtube."
},
"autoHideInfoButton": {
"message": "Esconder automaticamente botão de informação"
"message": "Esconder Automaticamente o Botão de Informação"
},
"hideDeleteButton": {
"message": "Esconder botão de Apagar no player do Youtube"
@ -201,31 +201,49 @@
"message": "Este é o botão que lhe permite saltar todos os patrocínios do player do Youtube."
},
"enableViewTracking": {
"message": "Ativar contador de segmentos pulados"
"message": "Ativar Contador de Segmentos Pulados"
},
"whatViewTracking": {
"message": "Este recurso controla quais segmentos você pulou para permitir que os usuários saibam o quanto a submissão deles ajudou outros e é usado como métrica, juntamente com votos positivos para garantir que spam não entre no banco de dados. A extensão envia uma mensagem ao servidor cada vez que você pular um segmento. Espera-se que a maioria das pessoas não mude essa configuração, para que os números de exibição estejam corretos. :)"
"message": "Este recurso controla quais segmentos você pulou para permitir que os usuários saibam o quanto a submissão deles ajudou outros e foi usada como métrica, juntamente com votos positivos para garantir que nenhum spam entre no banco de dados. A extensão envia uma mensagem ao servidor cada vez que você pular um segmento. Espera-se que a maioria das pessoas não mude essa configuração, para que os números de exibição estejam corretos. :)"
},
"enableViewTrackingInPrivate": {
"message": "Ativar Pular Contagem de Rastreamento em abas Privadas/Incógnito"
"message": "Ativar Pular Contagem de Rastreamento em Abas Privadas/Incógnito"
},
"enableQueryByHashPrefix": {
"message": "Consulta Por Prefixo Hash"
},
"whatQueryByHashPrefix": {
"message": "Em vez de solicitar segmentos do servidor usando o videoID, os 4 primeiros caracteres do hash do videoID foram enviados. Este servidor irá enviar dados de volta para todos os vídeos com hashes similares."
"message": "Em vez de solicitar segmentos do servidor usando o videoID, os 4 primeiros caracteres do hash do videoID foram enviados. Este servidor enviará dados de volta para todos os vídeos com hashes similares."
},
"enableRefetchWhenNotFound": {
"message": "Recuperar Segmentos Em Novos Vídeos"
},
"whatRefetchWhenNotFound": {
"message": "Se o vídeo for novo e não houver segmentos encontrados, continuaremos buscando enquanto você assiste."
"message": "Se o vídeo for novo e nenhum segmento for encontrado, continuaremos buscando enquanto você assiste."
},
"showNotice": {
"message": "Mostrar notificação outra vez"
},
"showSkipNotice": {
"message": "Mostrar Aviso Após Um Segmento Ser Ignorado"
},
"noticeVisibilityMode0": {
"message": "Avisos de Ignorar em Tamanho Inteiro"
},
"noticeVisibilityMode1": {
"message": "Avisos de Ignorar pequenos quando Pulado Automaticamente"
},
"noticeVisibilityMode2": {
"message": "Todos os Avisos de Ignorar em Tamanho Pequeno"
},
"noticeVisibilityMode3": {
"message": "Avisos de Ignorar semi-transparentes quando Pulado Automaticamente"
},
"noticeVisibilityMode4": {
"message": "Todos os Avisos de Ignorar semi-transparentes"
},
"longDescription": {
"message": "O SponsorBlock permite que você pule patrocinadores, introduções, outros, lembretes de inscrição e outras partes irritantes dos vídeos do YouTube. O SponsorBlock é uma extensão de navegador de crowdsourcing que permite enviar o tempo inicial e final de segmentos patrocinados de vídeos do YouTube. Assim que uma pessoa enviar essa informação, todas as outras pessoas com essa extensão irão pular o segmento patrocinado. Você também pode pular seções que não são de música dos vídeos de música.",
"message": "O SponsorBlock permite que você pule patrocinadores, introduções, créditos finais, lembretes de inscrição, e outras partes irritantes dos vídeos do YouTube. O SponsorBlock é uma extensão de navegador de crowdsourcing que permite enviar a qualquer um o tempo inicial e final de segmentos patrocinados de vídeos do YouTube. Assim que uma pessoa enviar essa informação, todas as outras pessoas com essa extensão irão pular o segmento patrocinado. Você também pode pular seções que não são de música dos vídeos de música.",
"description": "Full description of the extension on the store pages."
},
"website": {
@ -284,8 +302,17 @@
"skip_category": {
"message": "Pular {0}?"
},
"skip_to_category": {
"message": "Pular para {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Pulado"
"message": "{0} Ignorado",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Pulado para {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Desativar Salto Automático"
@ -297,7 +324,7 @@
"message": "Notificação de áudio ao pular"
},
"audioNotificationDescription": {
"message": "A notificação de áudio ao pular irá tocar um som sempre que um segmento for ignorado. Se desativado (ou o pulo automático estiver desativado), nenhum som será reproduzido."
"message": "A notificação de áudio ao pular irá tocar um som sempre que um segmento for pulado. Se desativado (ou o pulo automático estiver desativado), nenhum som será reproduzido."
},
"showTimeWithSkips": {
"message": "Mostrar tempo com pulos removidos"
@ -347,20 +374,14 @@
"createdBy": {
"message": "Criado por"
},
"autoSkip": {
"message": "Pular automaticamente"
},
"showSkipNotice": {
"message": "Mostrar aviso após um segmento ser ignorado"
},
"keybindCurrentlySet": {
"message": ". Atualmente, está definido para:"
},
"supportOtherSites": {
"message": "Suporte a Sites do YouTube de terceiros"
"message": "Suporte a Sites do YouTube de Terceiros"
},
"supportOtherSitesDescription": {
"message": "Apoie clientes de terceiros do YouTube. Para habilitar o suporte, você deve aceitar as permissões extras. Isso NÃO funciona em incógnito no Chrome e outras variantes do Chromium.",
"message": "Suporte a clientes de terceiros do YouTube. Para habilitar o suporte, você deve aceitar as permissões extras. Isso NÃO funciona em incógnito no Chrome e outras variantes do Chromium.",
"description": "This replaces the 'supports Invidious' option because it now works on other YouTube sites such as Cloudtube"
},
"supportedSites": {
@ -373,7 +394,7 @@
"message": "Adicionar Instância de Cliente de Terceiros"
},
"addInvidiousInstanceDescription": {
"message": "Adicione uma instância personalizada. Isso deve ser formatado com APENAS o domínio. Exemplo: invidious.ajay.app"
"message": "Adicionar uma instância personalizada. Isso deve ser formatado APENAS com o domínio. Exemplo: invidious.ajay.app"
},
"add": {
"message": "Adicionar"
@ -400,7 +421,7 @@
"message": "Duração do aviso prévio de pular (segundos):"
},
"skipNoticeDurationDescription": {
"message": "O aviso de pular ficará na tela por pelo menos este tempo. Para o pular manual, pode ser visível por mais tempo."
"message": "O aviso de pular ficará na tela por pelo menos este tempo. Para o pulo manual, pode ser visível por mais tempo."
},
"shortCheck": {
"message": "A seguinte submissão é mais curta do que sua opção de duração mínima. Isto significa que já foi enviada e que está sendo ignorada devido a esta opção. Tem certeza que deseja enviar mesmo assim?"
@ -497,19 +518,19 @@
"message": "Patrocinador"
},
"category_sponsor_description": {
"message": "Promoção paga, indicações pagas e anúncios diretos. Não para auto-promoção ou mensagens grátis para causas/criadores/websites/produtos que eles gostam."
"message": "Promoção paga, referências pagas e anúncios diretos. Não deve ser usado para Auto promoção ou mensagens grátis para causas/criadores/sites/produtos que eles gostam."
},
"category_selfpromo": {
"message": "Não-pago/Auto promoção"
},
"category_selfpromo_description": {
"message": "Similar a \"patrocinador\", mas para auto promoções e segmentos não-pagos. Isto inclui seções sobre vendas, doações ou informações sobre com quem colaboraram."
"message": "Similar a \"patrocinador\", mas para auto promoções e segmentos não-pagos. Isso inclui seções sobre vendas, doações ou informações sobre com quem colaboraram."
},
"category_interaction": {
"message": "Lembrete de interação (inscrever-se)"
},
"category_interaction_description": {
"message": "Quando houver um pequeno lembrete para curtir, inscrever-se ou segui-los no meio do conteúdo. Se é longo ou sobre algo específico, deveria ser sob Não-pago/Auto promoção."
"message": "Quando houver um pequeno lembrete para curtir, inscrever-se ou segui-los no meio do conteúdo. Se é longo ou sobre algo em específico, deveria ser sob Não-pago/Auto promoção."
},
"category_interaction_short": {
"message": "Lembrete de interação"
@ -539,19 +560,25 @@
"message": "Música: Seção sem música"
},
"category_music_offtopic_description": {
"message": "Para uso em vídeos musicais somente. Deve ser usado exclusivamente para seções de vídeos musicais que já não pertençam à outra categoria."
"message": "Apenas para uso em vídeos musicais. Deve ser usado exclusivamente para seções de vídeos musicais que já não pertençam à outra categoria."
},
"category_music_offtopic_short": {
"message": "Não musical"
},
"category_poi_highlight": {
"message": "Destaques"
},
"category_poi_highlight_description": {
"message": "A parte do vídeo que a maioria das pessoas procura. Similar aos comentários \"Vídeo começa aos x\"."
},
"category_livestream_messages": {
"message": "Livestream: Leituras de Doação/Mensagem"
},
"category_livestream_messages_short": {
"message": "Leitura de mensagens"
},
"disable": {
"message": "Desativar"
"autoSkip": {
"message": "Pular automaticamente"
},
"manualSkip": {
"message": "Pular manualmente"
@ -559,8 +586,23 @@
"showOverlay": {
"message": "Mostrar barra de progresso"
},
"disable": {
"message": "Desativar"
},
"autoSkip_POI": {
"message": "Pular automaticamente para o início"
},
"manualSkip_POI": {
"message": "Perguntar quando o vídeo carregar"
},
"showOverlay_POI": {
"message": "Mostrar na barra de progresso"
},
"autoSkipOnMusicVideos": {
"message": "Pular automaticamente todos os segmentos quando há um segmento que não é música"
},
"colorFormatIncorrect": {
"message": "Sua cor está formatada incorretamente. Deve ser um código hexadecimal de 3 ou 6 dígitos com uma tralha / hashtag no início."
"message": "Sua cor está formatada incorretamente. Deve ser um código hexadecimal de 3 ou 6 dígitos com uma cerquilha (hashtag) no início."
},
"previewColor": {
"message": "Cor Não Enviada",
@ -595,7 +637,7 @@
"message": "Selecione uma Categoria"
},
"enableThisCategoryFirst": {
"message": "Para enviar os segmentos com a categoria de \"{0}\", você deve ativá-lo nas opções. Você será redirecionado para as opções agora.",
"message": "Para enviar os segmentos com a categoria de \"{0}\", você deve ativá-la nas opções. Você será redirecionado para as opções agora.",
"description": "Used when submitting segments to only let them select a certain category if they have it enabled in the options."
},
"youMustSelectACategory": {
@ -612,13 +654,13 @@
},
"channelDataNotFound": {
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
"message": "ID do canal ainda não foi carregado. Se você estiver usando um vídeo embutido, tente usar a página inicial do YouTube. Isso também pode ser causado por mudanças no layout do YouTube, se você achar que este é o caso, faça um comentário aqui:"
"message": "O ID do canal ainda não foi carregado. Se você estiver usando um vídeo embutido, tente usar a página inicial do YouTube. Isso também pode ser causado por mudanças no layout do YouTube, se você achar que este é o caso, faça um comentário aqui:"
},
"videoInfoFetchFailed": {
"message": "Parece que algo está bloqueando a habilidade do SponsorBlock de obter dados de vídeo. Por favor, veja https://github.com/ajayyy/SponsorBlock/issues/741 para mais informações."
},
"youtubePermissionRequest": {
"message": "Parece que o SponsorBlock é incapaz de acessar a API do YouTube. Para corrigir isso, aceite a permissão do prompt que aparecerá a seguir, espere alguns segundos e recarregue a página."
"message": "Parece que o SponsorBlock não foi capaz de acessar a API do YouTube. Para corrigir isso, aceite a permissão do prompt que aparecerá a seguir, espere alguns segundos, e recarregue a página."
},
"acceptPermission": {
"message": "Aceitar permissão"
@ -627,19 +669,19 @@
"message": "Solicitação de permissão bem-sucedida!"
},
"permissionRequestFailed": {
"message": "Falha na solicitação de permissão. Você clicou em negar?"
"message": "Falha na solicitação de permissão, você clicou em negar?"
},
"adblockerIssueWhitelist": {
"message": "Se você não consegue resolver isso, desative a configuração 'Forçar Verificação do Canal Antes de Pular', pois o SponsorBlock não pode recuperar as informações deste vídeo"
},
"forceChannelCheck": {
"message": "Forçar verificação do canal antes de pular"
"message": "Forçar Verificação do Canal Antes de Pular"
},
"whatForceChannelCheck": {
"message": "Por padrão, isso pulará os segimentos imediatamente mesmo antes de saber qual é o canal. Por padrão, alguns segimentos no inicio do video podem ser ignorados nos canais da lista branca. Habilitar esta opção evitará isso, mas irá fazer com que todos os saltos tenham um ligeiro atraso, já que obter o channelID pode levar algum tempo. Este atraso pode não ser perceptível se você tiver internet rápida."
"message": "Por padrão, isso pulará os seguimentos imediatamente, mesmo antes de saber qual é o canal. Por padrão, alguns seguimentos no inicio do vídeo podem ser ignorados nos canais da lista branca. Habilitar esta opção evitará isso, mas fará com que todos os pulos tenham um ligeiro atraso, já que obter o channelID pode levar algum tempo. Este atraso pode não ser perceptível se você tiver internet rápida."
},
"forceChannelCheckPopup": {
"message": "Considere ativar a 'forçar verificação de canal antes de pular\""
"message": "Considere Ativar a \"Forçar Verificação de Canal Antes de Pular\""
},
"downvoteDescription": {
"message": "Tempo errado ou incorreto"
@ -648,7 +690,7 @@
"message": "Categoria errada"
},
"nonMusicCategoryOnMusic": {
"message": "Este vídeo é categorizado como música. Tem certeza que isto tem um patrocinador? Se este é realmente um \"segmento não musical\", abra as opções da extensão e habilite esta categoria. Assim você pode enviar este segmento como \"não-musical\" ao invés de patrocinador. Por favor leia as diretrizes se estiver confuso."
"message": "Este vídeo é categorizado como música. Tem certeza de que isto tem um patrocinador? Se este é realmente um \"Segmento Não Musical\", abra as opções da extensão e habilite esta categoria. Assim você pode enviar este segmento como \"Não-Musical\" ao invés de patrocinador. Por favor leia as diretrizes se estiver confuso."
},
"multipleSegments": {
"message": "Múltiplos segmentos"
@ -664,7 +706,7 @@
"message": "As categorias estão aqui!"
},
"categoryUpdate2": {
"message": "Abra as opções para ignorar as introduções, outros, promoção de mercadoria, etc."
"message": "Abra as opções para ignorar as introduções, créditos finais, promoção de mercadoria, etc."
},
"help": {
"message": "Ajuda"
@ -675,5 +717,12 @@
},
"hideForever": {
"message": "Ocultar para sempre"
},
"warningChatInfo": {
"message": "Você recebeu um aviso e temporariamente não poderá enviar segmentos. Isso significa que notamos que você cometeu alguns erros comuns que não são maliciosos, e queremos apenas clarificar as regras. Você também pode participar desse chat usando discord.gg/SponsorBlock ou matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Voto rejeitado devido a um aviso. Clique para abrir um chat para resolvê-lo, ou volte mais tarde quando tiver tempo.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "Arată Notificarea Din Nou"
},
"showSkipNotice": {
"message": "Arată o notificare după ce un segment este sărit"
},
"longDescription": {
"message": "SponsorBlock vă permite să săriți peste sponsori, intro, outros, memento-uri pentru abonament și alte părți enervante ale videoclipurilor YouTube SponsorBlock este o extensie crowdsourced de browser, care hai să trimită oricui timpul de început și de sfârșit pentru segmente sponsorizate și alte segmente de videoclipuri YouTube. Odată ce o persoană transmite aceste informații, toți ceilalți cu această extensie vor sări peste segmentul sponsorizat. De asemenea, poți sări peste secțiunile non-muzicale ale videoclipurilor.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "Omiteți {0}?"
},
"skipped": {
"message": "Sărit"
},
"disableAutoSkip": {
"message": "Dezactivează Autoskip"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "Creat De"
},
"autoSkip": {
"message": "Sari Peste Automat"
},
"showSkipNotice": {
"message": "Arată o notificare după ce un segment este sărit"
},
"keybindCurrentlySet": {
"message": ". În prezent este setat:"
},
@ -501,8 +495,8 @@
"category_livestream_messages_short": {
"message": "Citire Mesaj"
},
"disable": {
"message": "Dezactivare"
"autoSkip": {
"message": "Sari Peste Automat"
},
"manualSkip": {
"message": "Sari Peste Manual"
@ -510,6 +504,9 @@
"showOverlay": {
"message": "Arată În Bara de Derulare"
},
"disable": {
"message": "Dezactivare"
},
"colorFormatIncorrect": {
"message": "Culoarea ta este formatată incorect. Ar trebui să fie un cod hexadecimal de 3 sau 6 cifre cu un hash la început."
},

View file

@ -71,7 +71,7 @@
"message": "В базе есть сегменты для этого видео!"
},
"sponsor404": {
"message": "Сегментов не найдено"
"message": "Сегменты не найдены"
},
"sponsorStart": {
"message": "Сегмент начинается отсюда"
@ -95,7 +95,7 @@
"message": "Голос засчитан!"
},
"serverDown": {
"message": "Кажется, сервера не работают. Незамедлительно свяжитесь с разработчиком."
"message": "Кажется, сервер не отвечает. Свяжитесь с разработчиком."
},
"connectionError": {
"message": "Ошибка соединения. Код ошибки: "
@ -224,6 +224,9 @@
"showNotice": {
"message": "Показать уведомление снова"
},
"showSkipNotice": {
"message": "Показывать уведомление после пропуска сегмента"
},
"longDescription": {
"message": "SponsorBlock позволяет пропускать спонсорские вставки, начальные и конечные заставки, просьбы подписаться и другое в видео на YouTube. SponsorBlock — коллективное расширение, которое позволяет каждому отправить время начала и конца подобных сегментов в видео. После того, как кто-нибудь отправляет эту информацию, все остальные пользователи расширения будут автоматически пропускать эти сегменты. Так же можно пропускать части клипов без музыки.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "Пропустить {0}?"
},
"skip_to_category": {
"message": "Пропустить до {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Пропущено"
"message": "Пропущено: {0}",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Пропущено до {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Отключить автоматический пропуск"
@ -303,7 +315,7 @@
"message": "Показывать длительность без сегментов"
},
"showTimeWithSkipsDescription": {
"message": "Эта длительность отображается в скобках рядом с фактической под полосой прокрутки. Показывает длительность видео без сегментов. Включает сегменты, для которых выбрано \"Отображать в полосе прокрутки\"."
"message": "Длительность отображается в скобках после фактической под полосой прокрутки. Показывает длительность видео без сегментов. Включает сегменты, для которых выбрано \"Отображать в полосе прокрутки\"."
},
"youHaveSkipped": {
"message": "Вы пропустили "
@ -342,17 +354,11 @@
"message": "Установить идентификатор пользователя"
},
"userIDChangeWarning": {
"message": "Внимание: изменение идентификатора пользователя необратимо. Вы действительно хотите это сделать? Сделайте резервную копию вашего старого на всякий случай."
"message": "Внимание: изменение идентификатора пользователя необратимо. Вы действительно хотите это сделать? Сделайте резервную копию на всякий случай."
},
"createdBy": {
"message": "Создано"
},
"autoSkip": {
"message": "Автоматический пропуск"
},
"showSkipNotice": {
"message": "Показывать уведомление после пропуска сегмента"
},
"keybindCurrentlySet": {
"message": ". Он сейчас назначен на:"
},
@ -400,7 +406,7 @@
"message": "Длительность отображения окошка о пропуске (в секундах):"
},
"skipNoticeDurationDescription": {
"message": "Окошко о пропуске будет оставаться на экране в течение как минимум этого времени. Может быть активно дольше при пропуске вручную."
"message": "Окошко о пропуске будет оставаться на экране как минимум в течение этого времени. Может быть активно дольше при пропуске вручную."
},
"shortCheck": {
"message": "Следующий диапазон времени короче, чем Ваша настройка минимальной длительности. Это может означать, что он уже был отправлен, и просто игнорируется из-за этой настройки. Вы действительно хотите отправить?"
@ -478,7 +484,7 @@
"message": "Не удалось скопировать в буфер"
},
"copyDebugInformationOptions": {
"message": "Копирует информацию в буфер обмена, которая будет предоставлена разработчику при возникновении ошибки / по запросу разработчика. Такие сведения, как ID пользователя, список разрешенных каналов и адрес пользовательского сервера не передаются. Однако, отправляются ваш user agent, браузер, операционная система и номер версии расширения. "
"message": "Копирует в буфер обмена информацию, которая будет предоставлена разработчику при возникновении ошибки / по запросу разработчика. Такие сведения, как ID пользователя, список разрешенных каналов и адрес пользовательского сервера не передаются. Однако, отправляются ваш user agent, браузер, операционная система и номер версии расширения. "
},
"copyDebugInformationComplete": {
"message": "Отладочная информация скопирована в буфер обмена. Вы можете удалить любую информацию, которой не хотите делиться. Сохраните ее в текстовом файле или вставьте в отчет об ошибке."
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Без музыки"
},
"category_poi_highlight": {
"message": "Важное"
},
"category_poi_highlight_description": {
"message": "Часть видео, которую ищет большинство людей. По сути заменяет комментарии типа \"Видео начинается с x:xx\"."
},
"category_livestream_messages": {
"message": "Прямые трансляции: пожертвование/чтение сообщения"
},
"category_livestream_messages_short": {
"message": "Чтение сообщений"
},
"disable": {
"message": "Отключить"
"autoSkip": {
"message": "Автоматический пропуск"
},
"manualSkip": {
"message": "Пропускать вручную"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "Показывать в полосе прокрутки"
},
"disable": {
"message": "Отключить"
},
"autoSkip_POI": {
"message": "Автоматически пропускать к началу видео"
},
"manualSkip_POI": {
"message": "Спрашивать после загрузки видео"
},
"showOverlay_POI": {
"message": "Показывать в полосе прокрутки"
},
"autoSkipOnMusicVideos": {
"message": "Пропускать все сегменты автоматически при наличии сегмента без музыки"
},
"colorFormatIncorrect": {
"message": "Вы ввели цвет в неправильном формате. Это должно быть 3-х или 6-ти значное шестнадцатеричное число с символом # в начале."
},
@ -642,7 +669,7 @@
"message": "Рекомендуем включить \"Принудительная проверка каналов перед пропуском\""
},
"downvoteDescription": {
"message": "Неверно указано время"
"message": "Не нужен/неверно указано время"
},
"incorrectCategory": {
"message": "Неверная категория"
@ -675,5 +702,12 @@
},
"hideForever": {
"message": "Скрыть навсегда"
},
"warningChatInfo": {
"message": "Вы получили предупреждение и временно не можете отправлять сегменты. Мы заметили, что вы совершали распространенные ошибки, которые не являются злонамеренными, и просто хотим уточнить для вас правила. Вы также можете присоединиться к нашему чату, используя discord.gg/SponsorBlock или matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Голосование отклонено из-за предупреждения. Нажмите, чтобы открыть чат, где вы можете решить проблему, или вернитесь, когда у вас будет время.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -23,7 +23,7 @@
"message": "segment"
},
"Segments": {
"message": "segmenty"
"message": "segmentov"
},
"upvoteButtonInfo": {
"message": "Hlasovať pre tento príspevok"
@ -224,6 +224,9 @@
"showNotice": {
"message": "Znovu zobraziť upozornenie"
},
"showSkipNotice": {
"message": "Zobraziť upozornenie pri preskočení segmentu"
},
"longDescription": {
"message": "SponsorBlock umožňuje preskočiť sponzorov, úvodné časti, záverečné časti, pripomienky na odber, nehudobné časti videoklipov alebo iné otravné časti YouTube videí. SponsorBlock je crowdsourceové rozšírenie prehliadača, pomocou ktorého môže ktokoľvek označiť začiatok a koniec takéhoto segmentu. Po odoslaní potom všetci ostatní s týmto rozšírením tieto segmenty automaticky preskočia.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "Preskočiť {0}?"
},
"skip_to_category": {
"message": "Preskočiť na {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "preskočené"
"message": "{0} preskočené",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Preskočené na {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Zakázať Automatické Preskočenie"
@ -315,7 +327,7 @@
"message": "minúta"
},
"minsLower": {
"message": "minúty"
"message": "minút"
},
"hourLower": {
"message": "hodina"
@ -347,12 +359,6 @@
"createdBy": {
"message": "Vytvoril"
},
"autoSkip": {
"message": "Automatické Preskočenie"
},
"showSkipNotice": {
"message": "Zobraziť upozornenie pri preskočení segmentu"
},
"keybindCurrentlySet": {
"message": ". Aktuálne je nastavené na:"
},
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Bez hudby"
},
"category_poi_highlight": {
"message": "Hlavný obsah videa"
},
"category_poi_highlight_description": {
"message": "Tá časť videa, ktorú ľudia vyhľadávajú. Podobné komentárom \"Video začína v čase x\"."
},
"category_livestream_messages": {
"message": "Živé vysielanie: oznamy a dary"
},
"category_livestream_messages_short": {
"message": "Oznamy"
},
"disable": {
"message": "Zakázať"
"autoSkip": {
"message": "Automatické Preskočenie"
},
"manualSkip": {
"message": "Manuálne Preskočenie"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "Zobraziť v časovej lište"
},
"disable": {
"message": "Zakázať"
},
"autoSkip_POI": {
"message": "Automaticky preskočiť na začiatok"
},
"manualSkip_POI": {
"message": "Opýtať sa, keď sa video nahraje"
},
"showOverlay_POI": {
"message": "Zobraziť v časovej lište"
},
"autoSkipOnMusicVideos": {
"message": "Automaticky preskočiť všetky segmenty ak neexistuje segment bez hudby"
},
"colorFormatIncorrect": {
"message": "Vaša farba je nesprávne naformátovaná. Mal by to byť 3 alebo 6-miestny hexadecimálny kód so znakom čísla na začiatku."
},
@ -675,5 +702,12 @@
},
"hideForever": {
"message": "Navždy skryť"
},
"warningChatInfo": {
"message": "Dostali ste varovanie a nemôžete tak dočasne odosielať segmenty. To znamená, že sme si všimli, že ste spravili nejaké chyby, ktoré nie sú myslené zle, a chceme Vám len objasniť pravidlá. Môžete sa pripojiť do konverzácie pomocou discord.gg/SponsorBlock alebo matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Hlasovanie bolo zamietnuté kvôli varovaniu. Kliknite pre otvorenie chatu, aby ste ho vyriešili, alebo sa vráťte až budete mať čas.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Visa Notisen Igen"
},
"showSkipNotice": {
"message": "Visa ett meddelande efter att ett segment har hoppats över"
},
"longDescription": {
"message": "SponsorBlock låter dig hoppa över sponsormeddelanden, introduktioner, eftertexter, prenumerationspåminnelser och andra irriterande delar av YouTube-videor. SponsorBlock är ett crowdsourced webbläsartillägg som låter vem som helst att skicka in start- och sluttid på sponsorsegment och andra segment av YouTube-videor. När en person skickar in denna information kommer alla andra som har detta tillägg installerat att hoppa över det sponsrade segmentet. Du kan även hoppa över icke-musikavsnitt i musikvideor.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "Hoppa över {0}?"
},
"skip_to_category": {
"message": "Hoppa till {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Skippat"
"message": "{0} överhoppad",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Hoppat till {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Inaktivera hoppa över automatiskt"
@ -347,12 +359,6 @@
"createdBy": {
"message": "Skapad av"
},
"autoSkip": {
"message": "Hoppa över automatiskt"
},
"showSkipNotice": {
"message": "Visa ett meddelande efter att ett segment har hoppats över"
},
"keybindCurrentlySet": {
"message": ". Nuvarande snabbtangent är:"
},
@ -544,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Icke-musik"
},
"category_poi_highlight": {
"message": "Markera"
},
"category_poi_highlight_description": {
"message": "Den del av videon som de flesta letar efter. Liknande kommentarer \"Video börjar på x\"."
},
"category_livestream_messages": {
"message": "Liveström: Donations-/meddelandeavläsningar"
},
"category_livestream_messages_short": {
"message": "Meddelandeläsning"
},
"disable": {
"message": "Inaktivera"
"autoSkip": {
"message": "Hoppa över automatiskt"
},
"manualSkip": {
"message": "Hoppa över manuellt"
@ -559,6 +571,21 @@
"showOverlay": {
"message": "Visa i sökfältet"
},
"disable": {
"message": "Inaktivera"
},
"autoSkip_POI": {
"message": "Hoppa automatiskt till start"
},
"manualSkip_POI": {
"message": "Fråga när video laddas"
},
"showOverlay_POI": {
"message": "Visa i sökfältet"
},
"autoSkipOnMusicVideos": {
"message": "Hoppa över alla segment automatiskt när det finns ett icke-musiksegment"
},
"colorFormatIncorrect": {
"message": "Din färg är felaktigt formaterad. Det ska vara en 3- eller 6-siffrig hex-kod med en siffra i början."
},
@ -675,5 +702,12 @@
},
"hideForever": {
"message": "Dölj för alltid"
},
"warningChatInfo": {
"message": "Du har fått en tillfällig varning och kan inte skicka in segment. Detta innebär att vi har upptäckt att några vanliga misstag är gjorda som inte är uppsåtliga och vi vill bara klargöra reglerna. Du kan också gå med i den här chatten genom att använda discord.gg/SponsorBlock eller matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Rösten avvisades på grund av en varning. Klicka för att öppna ett chattfönster för att lösa problemet eller kom tillbaka senare när du har tid.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "அறிவிப்பை மீண்டும் காட்டு"
},
"showSkipNotice": {
"message": "ஒரு பிரிவு தவிர்க்கப்பட்ட பிறகு அறிவிப்பைக் காட்டு"
},
"longDescription": {
"message": "ஸ்பான்சர்கள், அறிமுகங்கள், அவுட்ரோஸ், சந்தா நினைவூட்டல்கள் மற்றும் YouTube வீடியோக்களின் பிற எரிச்சலூட்டும் பகுதிகளைத் தவிர்க்க ஸ்பான்சர் பிளாக் உங்களை அனுமதிக்கிறது. ஸ்பான்சர் பிளாக் என்பது ஒரு கூட்ட நெரிசலான உலாவி நீட்டிப்பாகும், இது ஸ்பான்சர் செய்யப்பட்ட பிரிவுகளின் தொடக்க மற்றும் இறுதி நேரங்களையும் YouTube வீடியோக்களின் பிற பிரிவுகளையும் எவரும் சமர்ப்பிக்கலாம். ஒரு நபர் இந்த தகவலைச் சமர்ப்பித்தவுடன், இந்த நீட்டிப்பு உள்ள மற்றவர்கள் ஸ்பான்சர் செய்யப்பட்ட பிரிவைத் தவிர்த்து விடுவார்கள். இசை வீடியோக்களின் இசை அல்லாத பிரிவுகளையும் நீங்கள் தவிர்க்கலாம்.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "{0} ஐ தவிர்?"
},
"skipped": {
"message": "தவிர்க்கப்பட்டது"
},
"disableAutoSkip": {
"message": "ஆட்டோ ஸ்கிப்பை முடக்கு"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "உருவாக்கியது"
},
"autoSkip": {
"message": "ஆட்டோ ஸ்கிப்"
},
"showSkipNotice": {
"message": "ஒரு பிரிவு தவிர்க்கப்பட்ட பிறகு அறிவிப்பைக் காட்டு"
},
"keybindCurrentlySet": {
"message": ". இது தற்போது அமைக்கப்பட்டுள்ளது:"
},
@ -504,8 +498,8 @@
"category_livestream_messages_short": {
"message": "செய்தி வாசிப்பு"
},
"disable": {
"message": "முடக்கு"
"autoSkip": {
"message": "ஆட்டோ ஸ்கிப்"
},
"manualSkip": {
"message": "கையேடு தவிர்"
@ -513,6 +507,9 @@
"showOverlay": {
"message": "சீக் பட்டியில் காட்டு"
},
"disable": {
"message": "முடக்கு"
},
"colorFormatIncorrect": {
"message": "உங்கள் நிறம் தவறாக வடிவமைக்கப்பட்டுள்ளது. இது ஆரம்பத்தில் எண் அடையாளத்துடன் 3 அல்லது 6 இலக்க ஹெக்ஸ் குறியீடாக இருக்க வேண்டும்."
},

View file

@ -212,6 +212,9 @@
"showNotice": {
"message": "మళ్ళీ నోటీసు చూపించు"
},
"showSkipNotice": {
"message": "ఒక విభాగం దాటవేయబడిన తర్వాత నోటీసు చూపించు"
},
"longDescription": {
"message": "స్పాన్సర్లు, పరిచయాలు, ros ట్రోలు, చందా రిమైండర్‌లు మరియు YouTube వీడియోల యొక్క ఇతర బాధించే భాగాలను దాటవేయడానికి స్పాన్సర్‌బ్లాక్ మిమ్మల్ని అనుమతిస్తుంది. స్పాన్సర్బ్లాక్ అనేది క్రౌడ్ సోర్స్డ్ బ్రౌజర్ పొడిగింపు, ఇది ఎవరైనా స్పాన్సర్ చేసిన విభాగాలు మరియు యూట్యూబ్ వీడియోల యొక్క ప్రారంభ మరియు ముగింపు సమయాన్ని సమర్పించనివ్వండి. ఒక వ్యక్తి ఈ సమాచారాన్ని సమర్పించిన తర్వాత, ఈ పొడిగింపు ఉన్న ప్రతి ఒక్కరూ ప్రాయోజిత విభాగంలో దాటవేస్తారు. మీరు మ్యూజిక్ వీడియోల యొక్క నాన్-మ్యూజిక్ విభాగాలను కూడా దాటవేయవచ్చు.",
"description": "Full description of the extension on the store pages."
@ -269,9 +272,6 @@
"skip_category": {
"message": "{0} ని దాటవేయాలా?"
},
"skipped": {
"message": "దాటవేయబడింది"
},
"disableAutoSkip": {
"message": "ఆటో దాటవేయిని ఆపివేయి"
},
@ -332,12 +332,6 @@
"createdBy": {
"message": "సృష్టికర్త"
},
"autoSkip": {
"message": "ఆటో దాటవేయి"
},
"showSkipNotice": {
"message": "ఒక విభాగం దాటవేయబడిన తర్వాత నోటీసు చూపించు"
},
"keybindCurrentlySet": {
"message": ". ఇది ప్రస్తుతం దీనికి సెట్ చేయబడింది:"
},
@ -504,8 +498,8 @@
"category_livestream_messages_short": {
"message": "సందేశ పఠనం"
},
"disable": {
"message": "డిసేబుల్"
"autoSkip": {
"message": "ఆటో దాటవేయి"
},
"manualSkip": {
"message": "మాన్యువల్ దాటవేయి"
@ -513,6 +507,9 @@
"showOverlay": {
"message": "సీక్ బార్‌లో చూపించు"
},
"disable": {
"message": "డిసేబుల్"
},
"colorFormatIncorrect": {
"message": "మీ రంగు తప్పుగా ఆకృతీకరించబడింది. ఇది ప్రారంభంలో సంఖ్య గుర్తుతో 3 లేదా 6 అంకెల హెక్స్ కోడ్ అయి ఉండాలి."
},

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "Uyarıyı Tekrar Göster"
},
"showSkipNotice": {
"message": "Bir Kısmı Atladıktan Sonra Uyarı Göster"
},
"longDescription": {
"message": "SponsorBlock, sponsorları, giriş ve bitiş kısımlarını, abonelik hatırlatıcılarını ve YouTube videolarının diğer can sıkıcı kısımlarını atlamanıza olanak tanır. SponsorBlock, herkesin sponsorlu kısımları ve YouTube videolarının diğer kısımlarının başlangıç ve bitiş zamanlarını göndermesine izin veren kitle kaynaklı bir tarayıcı uzantısıdır. Bir kişi bu bilgiyi gönderdikten sonra, bu uzantıya sahip diğer herkes sponsorlu kısımları hemen atlayacaktır. Müzik videolarının müzik dışı bölümlerini de atlayabilirsiniz.",
"description": "Full description of the extension on the store pages."
@ -284,8 +287,17 @@
"skip_category": {
"message": "{0} atla?"
},
"skip_to_category": {
"message": "{0} kısmına atlansın mı?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Atlandı"
"message": "{0} Atlandı",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "{0} kısmına atlandı",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Otomatik Atlamayı Devredışı Bırak"
@ -347,12 +359,6 @@
"createdBy": {
"message": "Oluşturan"
},
"autoSkip": {
"message": "Otomatik Atla"
},
"showSkipNotice": {
"message": "Bir Kısmı Atladıktan Sonra Uyarı Göster"
},
"keybindCurrentlySet": {
"message": ". Şu an buna ayarlı:"
},
@ -550,8 +556,8 @@
"category_livestream_messages_short": {
"message": "Canlı Yayın Mesajlarını Okumak"
},
"disable": {
"message": "Devredışı"
"autoSkip": {
"message": "Otomatik Atla"
},
"manualSkip": {
"message": "Elle Atla"
@ -559,6 +565,21 @@
"showOverlay": {
"message": "Arama Çubuğunda Göster"
},
"disable": {
"message": "Devredışı"
},
"autoSkip_POI": {
"message": "Başlangıca otomatik atla"
},
"manualSkip_POI": {
"message": "Videonun başında sor"
},
"showOverlay_POI": {
"message": "Arama Çubuğunda Göster"
},
"autoSkipOnMusicVideos": {
"message": "Müzik olmayan kısım varsa tüm kısımları otomatik atla"
},
"colorFormatIncorrect": {
"message": "Renginiz yanlış biçimlendirilmiştir. Başında bir kare işareti bulunan 3 veya 6 basamaklı bir onaltılık kod olmalıdır."
},
@ -675,5 +696,12 @@
},
"hideForever": {
"message": "Asla gösterme"
},
"warningChatInfo": {
"message": "Bir uyarı aldınız ve geçici bir süreliğine kısım gönderemeyeceksiniz. Sizin kısım göndermede zararlı olmayan bazı hatalar yaptığınızı belirledik ve size kurallarııklamak istiyoruz. Bu sohbete discord.gg/SponsorBlock veya matrix.to/#/+sponsor:ajay.app üzerinden de katılabilirsiniz"
},
"voteRejectedWarning": {
"message": "Bir uyarı nedeniyle oy reddedildi. Çözüm bulmak için buraya tıklayarak bir sohbet açın veya daha sonra vaktiniz olduğunda uğrayın.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -85,6 +85,9 @@
"noVideoID": {
"message": "Відео YouTube, не знайдено.\nЯкщо це не так, поновіть вкладку."
},
"refreshSegments": {
"message": "Оновити сегменти"
},
"success": {
"message": "Успіх!"
},
@ -185,6 +188,9 @@
"whatInfoButton": {
"message": "Ця кнопка відкриває спливаюче вікно на сторінці YouTube."
},
"autoHideInfoButton": {
"message": "Кнопка \"Автоматично сховати інформацію\""
},
"hideDeleteButton": {
"message": "Приховати кнопку видалення в плеєрі YouTube"
},
@ -218,6 +224,9 @@
"showNotice": {
"message": "Показувати сповіщення знову"
},
"showSkipNotice": {
"message": "Показувати сповіщення після пропуску сегмента"
},
"longDescription": {
"message": "SponsorBlock дозволяє пропускати спонсорські вставки, початкові і кінцеві заставки, прохання підписатися і інше в відео на YouTube. SponsorBlock - колективне розширення, яке дозволяє кожному надіслати час початку і кінця подібних сегментів в відео. Після того, як хто-небудь надсилає цю інформацію, всі інші користувачі розширення будуть автоматично пропускати ці сегменти. Так само можна пропускати частини кліпів без музики.",
"description": "Full description of the extension on the store pages."
@ -278,8 +287,17 @@
"skip_category": {
"message": "Пропустити {0}?"
},
"skip_to_category": {
"message": "Пропустить до {0}?",
"description": "Used for skipping to things (Skip to Highlight)"
},
"skipped": {
"message": "Пропущено"
"message": "{0} Пропущено",
"description": "Example: Sponsor Skipped"
},
"skipped_to_category": {
"message": "Пропущено до {0}",
"description": "Used for skipping to things (Skipped to Highlight)"
},
"disableAutoSkip": {
"message": "Вимкнути автоматичний пропуск"
@ -341,12 +359,6 @@
"createdBy": {
"message": "Створено"
},
"autoSkip": {
"message": "Автоматичний пропуск"
},
"showSkipNotice": {
"message": "Показувати сповіщення після пропуску сегмента"
},
"keybindCurrentlySet": {
"message": ". Він зараз призначений на:"
},
@ -390,6 +402,12 @@
"minDurationDescription": {
"message": "Сегменти коротше цього значення не будуть пропускатися і не будуть показані в плеєрі."
},
"skipNoticeDuration": {
"message": "Тривалість повідомлення пропуску (в секундах):"
},
"skipNoticeDurationDescription": {
"message": "Повідомлення про пропуск залишиться на екрані принаймні так довго. Для пропуску вручну він може бути видимим довше."
},
"shortCheck": {
"message": "Наступний діапазон часу коротше, ніж Ваше налаштування мінімальної тривалості. Це може означати, що він вже був надісланий, і просто ігнорується через це налаштування. Ви дійсно хочете надіслати?"
},
@ -532,14 +550,20 @@
"category_music_offtopic_short": {
"message": "Без музики"
},
"category_poi_highlight": {
"message": "Основные"
},
"category_poi_highlight_description": {
"message": "Часть видео, которую ищут большинство людей. Аналогично комментарию «Видео начинается с X:XX»."
},
"category_livestream_messages": {
"message": "Прямі трансляції: пожертвування/читання повідомлення"
},
"category_livestream_messages_short": {
"message": "Читання повідомлень"
},
"disable": {
"message": "Вимкнути"
"autoSkip": {
"message": "Автоматичний пропуск"
},
"manualSkip": {
"message": "Пропуск вручну"
@ -547,6 +571,21 @@
"showOverlay": {
"message": "Показувати в смузі прокрутки"
},
"disable": {
"message": "Вимкнути"
},
"autoSkip_POI": {
"message": "Автоматический переход к началу"
},
"manualSkip_POI": {
"message": "Спросите, когда видео загружается"
},
"showOverlay_POI": {
"message": "Показать на панели поиска"
},
"autoSkipOnMusicVideos": {
"message": "Автоматично пропустити усі сегменти, якщо присутній сегмент без музики"
},
"colorFormatIncorrect": {
"message": "Ви ввели колір в неправильному форматі. Це повинно бути 3-х або 6-ти значне шістнадцяткове число з символом # на початку."
},
@ -654,11 +693,21 @@
"categoryUpdate2": {
"message": "Відкрийте налаштування, щоб пропускати початкові і кінцеві заставки, саморекламу та інше."
},
"help": {
"message": "Довідка"
},
"experiementOptOut": {
"message": "Відмова від усіх майбутніх експериментів",
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
},
"hideForever": {
"message": "Сховати назавжди"
},
"warningChatInfo": {
"message": "Ви отримали попередження, тому тимчасово не можете обирати сегменти. Це означає, що ми помітили, що ви робили кілька поширених помилок, які не є злісними. Тому ми хочемо нагадати вам правила. Ви можете приєднатися до чату з правилами використовуючи discord.gg/SponsorBlock або matrix.to/#/+sponsor:ajay.app"
},
"voteRejectedWarning": {
"message": "Голосування відхилено через попередження. Натисніть, щоб відкрити чат для вирішення цієї проблеми, або поверніться пізніше.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -77,7 +77,7 @@
"message": "Đoạn quảng cáo bắt đầu vào lúc này"
},
"sponsorEnd": {
"message": "Đoạn quảng cáo kết thúc vào lúc này"
"message": "Phân đoạn kết thúc vào lúc này"
},
"sponsorCancel": {
"message": "Huỷ tạo phân đoạn"
@ -224,6 +224,9 @@
"showNotice": {
"message": "Hiện thông báo lại"
},
"showSkipNotice": {
"message": "Hiển thị thông báo sau khi bỏ qua quảng cáo"
},
"longDescription": {
"message": "SponsorBlock giúp bạn bỏ qua quảng cáo từ nhà tài trợ, đoạn giới thiệu, đoạn kết, lời nhắc đăng ký kênh, và những phần khó chịu khác trong các video Youtube. SponsorBlock là một tiện ích mở rộng cho trình duyệt, cho phép tất cả người dùng đăng thời điểm bắt đầu và kết thúc của những đoạn quảng cáo từ nhà tài trợ và các đoạn khác trong video Youtube. Sau khi một người đăng thông tin này lên, tất cả mọi người dùng tiện ích mở rộng này sẽ bỏ qua đoạn quảng cáo đó. Bạn cũng có thể bỏ qua phần không có nhạc trong những video âm nhạc.",
"description": "Full description of the extension on the store pages."
@ -284,11 +287,8 @@
"skip_category": {
"message": "Bỏ qua {0}?"
},
"skipped": {
"message": "Đã bỏ qua"
},
"disableAutoSkip": {
"message": "Tắt tự động bỏ qua quảng cáo"
"message": "Tắt tự động bỏ qua"
},
"enableAutoSkip": {
"message": "Bật tự động bỏ qua quảng cáo"
@ -347,12 +347,6 @@
"createdBy": {
"message": "Được tạo bởi"
},
"autoSkip": {
"message": "Tự động bỏ qua quảng cáo"
},
"showSkipNotice": {
"message": "Hiển thị thông báo sau khi bỏ qua quảng cáo"
},
"keybindCurrentlySet": {
"message": ". Phím đang được đặt:"
},
@ -533,7 +527,7 @@
"message": "Xem trước/Tóm tắt"
},
"category_preview_description": {
"message": "Tóm tắt nhanh các tập trước, hoặc xem trước những gì sẽ xảy ra sau video hiện tại. Dùng cho các đoạn clip gắn kèm với nhau, không phải cho tóm tắt bằng lời."
"message": "Tóm tắt nhanh về tập trước/tập sau trong 1 chuỗi video (series) dài (hoặc cũng có thể là tóm tắt trước về video sắp chiếu)."
},
"category_music_offtopic": {
"message": "Nhạc: Phần không nhạc"
@ -550,8 +544,8 @@
"category_livestream_messages_short": {
"message": "Đọc tin nhắn"
},
"disable": {
"message": "Tắt"
"autoSkip": {
"message": "Tự động bỏ qua quảng cáo"
},
"manualSkip": {
"message": "Bỏ qua thủ công"
@ -559,6 +553,12 @@
"showOverlay": {
"message": "Hiện ở thanh xem trước"
},
"disable": {
"message": "Tắt"
},
"autoSkipOnMusicVideos": {
"message": "Tự động bỏ qua tất cả các phân đoạn nếu trong video có phân đoạn không phải nhạc"
},
"colorFormatIncorrect": {
"message": "Mã màu sai định dạng. Mã màu phải có 3 hoặc 6 ký tự hệ hex và có dấu thăng ở đầu."
},
@ -610,6 +610,13 @@
"hiddenDueToDuration": {
"message": "đã bị ẩn: quá ngắn"
},
"channelDataNotFound": {
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
"message": "Không xác định được ID kênh. Nếu bạn đang xem video này trên 1 trang web thứ 3, hãy mở lại video này trên trang chủ Youtube rồi thử lại. Điều này cũng có thể do những thay đổi trong mã nguồn trang web YouTube, nếu bạn nghĩ vậy, hãy bình luận tại đây:"
},
"videoInfoFetchFailed": {
"message": "SponsorBlock không thể truy vấn dữ liệu lịch sử phân đoạn video. Có thể do trình chặn quảng cáo của bạn. Bạn có thể tìm hiểu nguyên nhân và cách fix ở đây: https://github.com/ajayyy/SponsorBlock/issues/741."
},
"youtubePermissionRequest": {
"message": "Có vẻ như SponsorBlock không thể truy cập API YouTube. Để khắc phục điều này, hãy chấp nhận lời nhắc cấp quyền sẽ xuất hiện tiếp theo, đợi vài giây rồi tải lại trang."
},
@ -622,6 +629,9 @@
"permissionRequestFailed": {
"message": "Truy cập bị từ chối, bạn đã nhấp vào từ chối à?"
},
"adblockerIssueWhitelist": {
"message": "Nếu bạn không thể giải quyết được vấn đề này, hãy vô hiệu hoá cài đặt 'Bỏ qua video không công khai/riêng tư', vì SponsorBlock không thể lấy được thông tin của video này"
},
"forceChannelCheck": {
"message": "Bắt buộc kiểm tra kênh trước khi bỏ qua"
},
@ -659,7 +669,18 @@
"help": {
"message": "Trợ giúp"
},
"experiementOptOut": {
"message": "Từ chối tham gia thử nghiệm trong tương lai",
"description": "This is used in a popup about a new experiment to get a list of unlisted videos to back up since all unlisted videos uploaded before 2017 will be set to private."
},
"hideForever": {
"message": "Ẩn vĩnh viễn"
},
"warningChatInfo": {
"message": "Bạn đã nhận được một cảnh báo (Warring) và tạm thời không thể gửi các phân đoạn. Bạn đã mắc lỗi trong việc tạo quá nhiều lần (có thể là chọn sai kiểu phân đoạn hoặc sai thời gian phân đoạn). Chúng tôi muốn bạn nhận ra điều đó để có thể giúp bạn khắc phục điều này trong tương lai, không mắc lỗi nữa. Bạn có thể gặp các VIP User tại đây: discord.gg/SponsorBlock hoặc matrix.to/#/+sponsor:ajay.app. Bọn họ sẽ giúp bạn gỡ cảnh báo sau khi bạn đã hiểu ra lỗi sai của bạn."
},
"voteRejectedWarning": {
"message": "Bỏ phiếu bị từ chối do có cảnh báo. Nhấp để mở cuộc trò chuyện để giải quyết hoặc quay lại sau.",
"description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser."
}
}

View file

@ -215,6 +215,9 @@
"showNotice": {
"message": "重新显示通知"
},
"showSkipNotice": {
"message": "在跳过片段后显示通知"
},
"longDescription": {
"message": "SponsorBlock 可帮您跳过 YouTube 视频中的赞助商广告、开场、结尾、订阅提醒和其他烦人片段。SponsorBlock 是一个众包的浏览器扩展,可以让任何人提交 YouTube 视频的赞助商广告和其他片段的开始和结束时间。若有一人提交了信息,其他所有使用此扩展的人都能直接跳过赞助商广告片段。您也可以跳过音乐视频中的非音乐部分。",
"description": "Full description of the extension on the store pages."
@ -272,9 +275,6 @@
"skip_category": {
"message": "跳过{0}"
},
"skipped": {
"message": "跳过"
},
"disableAutoSkip": {
"message": "禁用自动跳过"
},
@ -335,12 +335,6 @@
"createdBy": {
"message": "创建者"
},
"autoSkip": {
"message": "自动跳过"
},
"showSkipNotice": {
"message": "在跳过片段后显示通知"
},
"keybindCurrentlySet": {
"message": "。目前被设定为:"
},
@ -510,8 +504,8 @@
"category_livestream_messages_short": {
"message": "阅读消息"
},
"disable": {
"message": "禁用"
"autoSkip": {
"message": "自动跳过"
},
"manualSkip": {
"message": "手动跳过"
@ -519,6 +513,9 @@
"showOverlay": {
"message": "在搜索栏中显示"
},
"disable": {
"message": "禁用"
},
"colorFormatIncorrect": {
"message": "颜色格式错误。应为以“#”开头的 3 位或 6 位十六进制数字。"
},
@ -605,5 +602,8 @@
},
"categoryUpdate2": {
"message": "打开选项,跳过开头,结尾,商业等。"
},
"help": {
"message": "帮助"
}
}

View file

@ -224,6 +224,9 @@
"showNotice": {
"message": "再次顯示通知"
},
"showSkipNotice": {
"message": "在跳過片段後顯示通知"
},
"longDescription": {
"message": "SponsorBlock 讓您可以跳過贊助工商,開場動畫,結束動畫,訂閱提醒等煩人的 YouTube 影片片段。SponsorBlock 是個大眾外包的網頁瀏覽器擴充功能,能讓任何人提交贊助片段的始與末。當一個人提交這個片段後,所有使用這個擴充功能的人都可以跳過該片段。您也可以跳過在音樂中的非音樂片段",
"description": "Full description of the extension on the store pages."
@ -284,9 +287,6 @@
"skip_category": {
"message": "跳過 {0}"
},
"skipped": {
"message": "已跳過"
},
"disableAutoSkip": {
"message": "停用自動跳過"
},
@ -347,12 +347,6 @@
"createdBy": {
"message": "創建者"
},
"autoSkip": {
"message": "自動跳過"
},
"showSkipNotice": {
"message": "在跳過片段後顯示通知"
},
"keybindCurrentlySet": {
"message": "。它目前被設定為:"
},
@ -393,6 +387,9 @@
"minDurationDescription": {
"message": "小於設定值的片段不會被跳過或在播放器中顯示"
},
"skipNoticeDuration": {
"message": "跳過通知持續顯示時間(秒):"
},
"skipNoticeDurationDescription": {
"message": "跳過片段提示的顯示時間將會以上列時間長度為準(單位:秒);手動跳過的時候會顯示較長於上面的時間"
},
@ -544,8 +541,8 @@
"category_livestream_messages_short": {
"message": "閱讀訊息"
},
"disable": {
"message": "停用"
"autoSkip": {
"message": "自動跳過"
},
"manualSkip": {
"message": "手動跳過"
@ -553,6 +550,12 @@
"showOverlay": {
"message": "在時間條顯示"
},
"disable": {
"message": "停用"
},
"autoSkipOnMusicVideos": {
"message": "自動跳過非音樂片段(如果有的話)"
},
"colorFormatIncorrect": {
"message": "您設定的顏色無效。它應該是三或六位數的 hex 碼,且以井字號開頭。"
},
@ -604,6 +607,10 @@
"hiddenDueToDuration": {
"message": "隱藏:太短"
},
"channelDataNotFound": {
"description": "This error appears in an alert when they try to whitelist a channel and the extension is unable to determine what channel they are looking at.",
"message": "未偵測到頻道ID如果您正在使用嵌入式YouTube播放器請移至YouTube網站上觀看本影片。此問題亦有可能是由於YouTube改變了系統架構如果你認為這是造成此問題的原因請留言告訴我們"
},
"videoInfoFetchFailed": {
"message": "似乎有東西在阻止 SponsorBlock 取得影片資料。請至 https://github.com/ajayyy/SponsorBlock/issues/741 以了解更多資訊。"
},

View file

@ -106,12 +106,10 @@
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
to { opacity: 0; }
}
.sponsorBlockSpacer {
@ -131,17 +129,18 @@
right: 10px;
}
.sponsorSkipNotice {
min-width: 350px;
max-width: 50%;
background-color: rgba(28, 28, 28, 0.9);
.sponsorSkipNoticeParent {
position: absolute;
right: 5px;
bottom: 100px;
right: 10px;
}
.sponsorSkipNoticeParent, .sponsorSkipNotice {
min-width: 350px;
max-width: 50%;
border-radius: 5px;
border-spacing: 5px 10px;
padding-left: 5px;
padding-right: 5px;
@ -149,17 +148,34 @@
border-collapse: unset;
}
.sponsorSkipNotice {
min-width: 350px;
background-color: rgba(28, 28, 28, 0.9);
transition: all 0.1s ease-out;
}
.sponsorSkipNotice .hidden {
display: none;
}
/* For Cloudtube */
.sponsorSkipNotice td, .sponsorSkipNotice table, .sponsorSkipNotice th {
border: none;
}
.sponsorSkipNoticeFadeIn {
animation: fadeIn 0.5s;
animation: fadeIn 0.5s ease-out;
}
.sponsorSkipNoticeFaded {
opacity: 0.5;
}
.sponsorSkipNoticeFadeOut {
animation: fadeOut 3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition: opacity 3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
opacity: 0 !important;
animation: none !important;
}
.sponsorSkipNotice .sponsorSkipNoticeTimeLeft {
@ -169,14 +185,28 @@
padding: 2px 5px;
font-size: 12px;
display: flex;
align-items: center;
border: 1px solid #eeeeee;
}
.sponsorSkipNoticeTimeLeft img {
vertical-align: middle;
height: 13px;
padding-top: 7.8%;
padding-bottom: 7.8%;
}
/* if two are very close to eachother */
.secondSkipNotice {
bottom: 250px;
}
transition: bottom 0.2s;
.noticeLeftIcon {
display: flex;
align-items: center;
}
.sponsorSkipNotice .sponsorSkipNoticeUnskipSection {
@ -220,7 +250,9 @@
float: right;
margin-right: 5px;
margin-right: 10px;
display: flex;
align-items: center;
}
.sponsorSkipNoticeRightButton {
@ -243,7 +275,9 @@
font-weight: bold;
color: rgb(235, 235, 235);
margin-top: auto;
display: inline-block;
margin-right: 10px;
}
.sponsorSkipInfo {
@ -467,4 +501,42 @@ input::-webkit-inner-spin-button {
.sbChatClose {
height: 14px;
cursor: pointer;
}
.skipButtonControlBarContainer {
cursor: pointer;
display: flex;
}
.skipButtonControlBarContainer.hidden {
display: none !important;
}
#sbSkipIconControlBarImage {
height: 60%;
top: 0px;
bottom: 0px;
display: block;
margin: auto;
}
.sponsorBlockTooltip {
position: absolute;
background-color: rgba(28, 28, 28, 0.7);
border-radius: 5px;
padding: 10px;
max-width: 300px;
white-space: normal;
line-height: 1.5em;
}
.sponsorBlockTooltip::after {
content: " ";
position: absolute;
top: 100%;
left: 15%;
margin-left: -15px;
border-width: 15px;
border-style: solid;
border-color: rgba(28, 28, 28, 0.7) transparent transparent transparent;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View file

@ -5,6 +5,9 @@
<meta charset="utf-8">
<link href="styles.css" rel="stylesheet"/>
<script src="../js/vendor.js"></script>
<script src="../js/help.js"></script>
</head>
<body>
@ -14,90 +17,92 @@
SponsorBlock
</div>
<div class="container">
<div class="container sponsorBlockPageBody">
<p class="createdBy">Created By <a href="https://ajay.app">Ajay Ramachandran</a> <img src="https://ajay.app/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<p>
Thanks for installing SponsorBlock. By using this extension, you agree to the <a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796">Privacy Policy</a> and <a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12">Terms of Use</a>.
<p class="createdBy">
<img src="https://ajay.app/newprofilepic.jpg" height="30" class="profilepiccircle"/>
Created By <a href="https://ajay.app">Ajay Ramachandran</a>
<a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(Donate)</a>
</p>
<p class="projectPreview">
<p>
__MSG_helpPageThanksForInstalling__ By using this extension, you agree to the <a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796">Privacy Policy</a> and <a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12">Terms of Use</a>.
</p>
<p>
Come contribute, make some suggestions and help out on <a href="https://discord.gg/QnmVMpU">Discord</a> or on <a href="https://matrix.to/#/#sponsor:ajay.app?via=ajay.app&via=matrix.org&via=mozilla.org">Matrix</a>.
</p>
<p style="margin-bottom: 0" class="bigText center">Please review the options below</p>
<p style="margin-bottom: 0; margin-top: 0" class="bigText center">__MSG_helpPageReviewOptions__</p>
<p>
Many features are disabled by default. If you want to skip intros, outros, use Invidious, etc., enable them below.
You can also hide/show UI elements.
<p class="smallText">
__MSG_helpPageFeatureDisclaimer__
</p>
<iframe src="../options/options.html#embed" width="100%" height="500px" style="border: none"></iframe>
<h1>How skipping works</h1>
<h1>__MSG_helpPageHowSkippingWorks__</h1>
<p class="projectPreview">
<span class="projectPreviewImageLarge">
<img src="https://i.imgur.com/caf5Bju.png">
<img src="images/popup.png">
</span>
Video segments will automatically be skipped if they are found in the database. You can open the popup by clicking the extension icon to get a preview of what they are.
__MSG_helpPageHowSkippingWorks1__
<br/>
<br/>
Whenever you skip a segment, you will get notice. If the timing seems wrong vote down by clicking downvote! You can also vote in the popup.
__MSG_helpPageHowSkippingWorks2__
</p>
<div class="center"><img height="120px" src="https://user-images.githubusercontent.com/12688112/63067735-5a638700-bede-11e9-8147-f321b57527ec.gif"></div>
<div class="center"><img height="120px" src="images/voting on notice.gif"></div>
<h1>Submitting</h1>
<h1>__MSG_Submitting__</h1>
<p class="projectPreview">
<span class="projectPreviewImageLargeRight">
<img src="https://i.imgur.com/A1ilk6x.gif">
</span>
Submitting can either be done in the popup by hitting the "Segment Starts Now" button or in the video player with the buttons on the player.
__MSG_helpPageSubmitting1__
<br/>
<br/>
Clicking the play button indicated the start of a segment and clicking the stop icon indicates the end. You can prepare multiple sponsors before hitting submit. Clicking the upload button will submit. Clicking the garbage can will delete.
__MSG_helpPageSubmitting2__
</p>
<h1>Editing</h1>
<h1>__MSG_Editing__</h1>
<p class="projectPreview">
<span class="projectPreviewImageLarge">
<img src="https://i.imgur.com/DZHqbsx.gif">
<img src="https://wiki.sponsor.ajay.app/images/6/6a/Popup_only.png">
</span>
If you messed up, you can edit or delete your segments in the popup or in the info menu (by hitting the info icon).
__MSG_helpPageEditing1__
</p>
<h1>This is too slow</h1>
<h1>__MSG_helpPageTooSlow__</h1>
<p>
There are hotkeys if you want to use them. Press the semicolon key to indicate the start/end of a sponsor segment and click the apostrophe to submit.
These can be changed in the options. If you don't use QWERTY, you should probably change the keybinding.
__MSG_helpPageTooSlow1__
</p>
<h1>Can I get a copy of the Database? What happens if you disappear?</h1>
<h1>__MSG_helpPageCopyOfDatabase__</h1>
<p>
The database is public and available at <a href="https://sponsor.ajay.app/database">https://sponsor.ajay.app/database</a> and the source code is freely available. So, even if something happens to me, your submissions are not lost.
__MSG_helpPageCopyOfDatabase1__ <a href="https://sponsor.ajay.app/database">https://sponsor.ajay.app/database</a>. __MSG_helpPageCopyOfDatabase2__
</p>
<h1>News and how it is made</h1>
<h1>__MSG_helpPageNews__</h1>
<p>
See <a href="https://sponsor.ajay.app/news">https://sponsor.ajay.app/news</a>.
</p>
<h1>Where can I get the source code?</h1>
<h1>__MSG_helpPageSourceCode__</h1>
<h4 style="display: inline">Client:</h4>
<!-- Github logo -->
@ -107,7 +112,7 @@
<!-- Github logo -->
<a href="https://github.com/ajayyy/SponsorBlockServer"><svg aria-hidden="true" version="1.1" viewBox="0 0 16 16" height="58px" style="padding-left: 15px"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a>
<h1>Credits</h1>
<h1>__MSG_Credits__</h1>
<p>
Thanks to all <a href="https://github.com/ajayyy/SponsorBlock/graphs/contributors">SponsorBlock contributors</a>,

View file

@ -129,8 +129,11 @@ a {
text-decoration: none;
}
p,li {
font-size: 16px;
}
p,li,a {
font-size: 20px;
color: #c4c4c4;
}
@ -180,4 +183,8 @@ h1,h2,h3,h4,h5,h6 {
svg {
text-decoration: none;
}
#sbDonate {
font-size: 10px;
}

View file

@ -41,12 +41,13 @@
id="namedview18"
showgrid="false"
inkscape:zoom="0.83098592"
inkscape:cx="-238.41697"
inkscape:cy="258.22009"
inkscape:cx="220.07455"
inkscape:cy="308.76246"
inkscape:window-x="477"
inkscape:window-y="961"
inkscape:window-maximized="1"
inkscape:current-layer="svg16" />
inkscape:current-layer="svg16"
inkscape:pagecheckerboard="true" />
<defs
id="defs4">
<style

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

59
public/icons/pause.svg Normal file
View file

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24px"
viewBox="0 0 24 24"
width="24px"
fill="#000000"
version="1.1"
id="svg6"
sodipodi:docname="pause.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="730"
inkscape:window-height="480"
id="namedview8"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6" />
<path
d="M0 0h24v24H0z"
fill="none"
id="path2" />
<path
d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"
id="path4"
style="fill:#ffffff" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

71
public/icons/skipIcon.svg Normal file
View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 565.15 568"
version="1.1"
id="svg16"
sodipodi:docname="skipIcon.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
inkscape:export-filename="D:\Dell Data\_Projects\_____SponsorSkip\ignored\svg\SponsorBlocker4.png"
inkscape:export-xdpi="43.436523"
inkscape:export-ydpi="43.436523">
<metadata
id="metadata20">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>LogoSponsorBlocker2</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1001"
id="namedview18"
showgrid="false"
inkscape:zoom="1.6619718"
inkscape:cx="316.31071"
inkscape:cy="330.01409"
inkscape:window-x="477"
inkscape:window-y="961"
inkscape:window-maximized="1"
inkscape:current-layer="svg16"
inkscape:pagecheckerboard="true" />
<defs
id="defs4">
<style
id="style2">.cls-1{fill:red;}.cls-2{fill:#fff;}</style>
</defs>
<title
id="title6">LogoSponsorBlocker2</title>
<path
class="cls-1"
d="m 282.58,568 a 65,65 0 0 1 -34.14,-9.66 C 95.41,463.94 2.54,300.46 0,121 a 64.91,64.91 0 0 1 34,-58.09 522.56,522.56 0 0 1 497.16,0 64.91,64.91 0 0 1 34,58.12 c -2.53,179.43 -95.4,342.91 -248.42,437.3 A 65,65 0 0 1 282.58,568 Z m 0,-548.31 A 502.24,502.24 0 0 0 43.4,80.22 45.27,45.27 0 0 0 19.7,120.75 c 2.44,172.67 91.81,330 239.07,420.83 a 46.19,46.19 0 0 0 47.61,0 C 453.64,450.73 543,293.42 545.45,120.75 A 45.26,45.26 0 0 0 521.75,80.21 502.26,502.26 0 0 0 282.58,19.69 Z"
id="path8"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
<path
style="fill:#ffffff"
d="M 284.70508 42.693359 A 479.9 479.9 0 0 0 54.369141 100.41992 A 22.53 22.53 0 0 0 42.669922 120.41992 C 45.069922 290.25992 135.67008 438.63977 270.83008 522.00977 A 22.48 22.48 0 0 0 294.32031 522.00977 C 429.48031 438.63977 520.08047 290.25992 522.48047 120.41992 A 22.53 22.53 0 0 0 510.7793 100.41992 A 479.9 479.9 0 0 0 284.70508 42.693359 z M 188.7168 140.07227 L 312.64844 264.00586 L 188.7168 387.9375 L 159.5918 358.8125 L 254.19336 264.00586 L 159.5918 169.19727 L 188.7168 140.07227 z M 305.625 140.07227 L 429.55859 264.00586 L 305.625 387.9375 L 276.50195 358.8125 L 371.10352 264.00586 L 276.50195 169.19727 L 305.625 140.07227 z "
id="path10" />
<g
id="g825"
transform="translate(-3.86549,36.564644)" />
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

59
public/icons/stop.svg Normal file
View file

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24px"
viewBox="0 0 24 24"
width="24px"
fill="#000000"
version="1.1"
id="svg6"
sodipodi:docname="stop.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="730"
inkscape:window-height="480"
id="namedview8"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6" />
<path
d="M0 0h24v24H0z"
fill="none"
id="path2" />
<path
d="M6 6h12v12H6z"
id="path4"
style="fill:#ffffff" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -343,10 +343,13 @@ svg {
.categoryTableElement > * {
padding-right: 15px;
}
.categoryTableDescription > * {
padding-bottom: 15px;
}
.categoryOptionsSelector {
.optionsSelector {
background-color: #c00000;
color: white;
@ -361,4 +364,8 @@ svg {
background: none;
border: none;
}
#sbDonate {
font-size: 10px;
}

View file

@ -19,7 +19,12 @@
</div>
<div class="center">
<p class="createdBy titleBar">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p>
<p class="createdBy titleBar">
<img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/>
__MSG_createdBy__
<a href="https://ajay.app">Ajay Ramachandran</a>
<a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(__MSG_Donate__)</a>
</p>
<h1>__MSG_Options__</h1>
@ -29,6 +34,22 @@
</div>
<div option-type="toggle" sync-option="autoSkipOnMusicVideos">
<label class="switch-container">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
<div class="switch-label">
__MSG_autoSkipOnMusicVideos__
</div>
</label>
<br/>
<br/>
<br/>
</div>
<br/>
<br/>
@ -194,9 +215,21 @@
</div>
</label>
</div>
<br/>
<br/>
<br/>
<div option-type="selector" sync-option="noticeVisibilityMode">
<select class="selector-element optionsSelector" >
<option value="0">__MSG_noticeVisibilityMode0__</option>
<option value="1">__MSG_noticeVisibilityMode1__</option>
<option value="2">__MSG_noticeVisibilityMode2__</option>
<option value="3">__MSG_noticeVisibilityMode3__</option>
<option value="4">__MSG_noticeVisibilityMode4__</option>
</select>
</div>
<br/>
<br/>
<br/>
<br/>
@ -423,6 +456,24 @@
<br/>
<br/>
<div option-type="toggle" toggle-type="reverse" sync-option="showDonationLink" no-safari="true">
<label class="switch-container">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
<div class="switch-label">
__MSG_hideDonationLink__
</div>
</label>
</div>
<br/>
<br/>
<br/>
<br/>
<div option-type="private-text-change" sync-option="userID" confirm-message="userIDChangeWarning">
<div class="option-button trigger-button">

View file

@ -318,6 +318,11 @@ label>p, #disableExtension>p, #usernameValue, #usernameElement > div > p,#sponso
transform: rotate(45deg);
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.SBWhitelistIconContainer, button#optionsButton {
display: flex;
align-items: center;

View file

@ -32,10 +32,10 @@ chrome.tabs.onUpdated.addListener(function(tabId) {
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
switch(request.message) {
case "openConfig":
chrome.runtime.openOptionsPage();
chrome.tabs.create({url: chrome.runtime.getURL('options/options.html' + (request.hash ? '#' + request.hash : ''))});
return;
case "openHelp":
chrome.tabs.create({url: chrome.runtime.getURL('help/index_en.html')});
chrome.tabs.create({url: chrome.runtime.getURL('help/index.html')});
return;
case "openPage":
chrome.tabs.create({url: chrome.runtime.getURL(request.url)});
@ -74,12 +74,14 @@ chrome.runtime.onInstalled.addListener(function () {
// If there is no userID, then it is the first install.
if (!userID){
//open up the install page
chrome.tabs.create({url: chrome.extension.getURL("/help/index_en.html")});
chrome.tabs.create({url: chrome.extension.getURL("/help/index.html")});
//generate a userID
const newUserID = utils.generateUserID();
//save this UUID
Config.config.userID = newUserID;
Config.config.highlightCategoryUpdate = false;
}
}, 1500);
});

View file

@ -1,6 +1,7 @@
import * as React from "react";
import * as CompileConfig from "../../config.json";
import { Category } from "../types";
import CategorySkipOptionsComponent from "./CategorySkipOptionsComponent";
export interface CategoryChooserProps {
@ -61,7 +62,7 @@ class CategoryChooserComponent extends React.Component<CategoryChooserProps, Cat
for (const category of CompileConfig.categoryList) {
elements.push(
<CategorySkipOptionsComponent category={category}
<CategorySkipOptionsComponent category={category as Category}
key={category}>
</CategorySkipOptionsComponent>
);

View file

@ -1,10 +1,12 @@
import * as React from "react";
import Config from "../config"
import { CategorySkipOption } from "../types";
import { Category, CategorySkipOption } from "../types";
import { getCategoryActionType } from "../utils/categoryUtils";
export interface CategorySkipOptionsProps {
category: string;
category: Category;
defaultColor?: string;
defaultPreviewColor?: string;
}
@ -59,7 +61,7 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
<td id={this.props.category + "SkipOption"}
className="skipOption">
<select
className="categoryOptionsSelector"
className="optionsSelector"
defaultValue={defaultOption}
onChange={this.skipOptionSelected.bind(this)}>
{this.getCategorySkipOptions()}
@ -87,7 +89,7 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
</tr>
<tr id={this.props.category + "DescriptionRow"}
className="small-description">
className="small-description categoryTableDescription">
<td
colSpan={2}>
{chrome.i18n.getMessage("category_" + this.props.category + "_description")}
@ -152,7 +154,8 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
for (const optionName of optionNames) {
elements.push(
<option key={optionName} value={optionName}>
{chrome.i18n.getMessage(optionName)}
{chrome.i18n.getMessage(optionName !== "disable" ? optionName + getCategoryActionType(this.props.category)
: optionName)}
</option>
);
}

View file

@ -1,20 +1,34 @@
import * as React from "react";
import Config from "../config";
enum CountdownMode {
Timer,
Paused,
Stopped
}
export interface NoticeProps {
noticeTitle: string,
maxCountdownTime?: () => number,
amountOfPreviousNotices?: number,
showInSecondSlot?: boolean,
timed?: boolean,
idSuffix?: string,
videoSpeed?: () => number,
fadeIn?: boolean,
startFaded?: boolean,
firstColumn?: React.ReactElement,
firstRow?: React.ReactElement,
bottomRow?: React.ReactElement[],
smaller?: boolean,
// Callback for when this is closed
closeListener: () => void,
onMouseEnter?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void,
zIndex?: number,
style?: React.CSSProperties
@ -26,8 +40,11 @@ export interface NoticeState {
maxCountdownTime: () => number,
countdownTime: number,
countdownText: string,
countdownManuallyPaused: boolean,
countdownMode: CountdownMode,
mouseHovering: boolean;
startFaded: boolean;
}
class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
@ -61,8 +78,10 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
//the countdown until this notice closes
countdownTime: maxCountdownTime(),
countdownText: null,
countdownManuallyPaused: false
countdownMode: CountdownMode.Timer,
mouseHovering: false,
startFaded: this.props.startFaded ?? false
}
}
@ -77,80 +96,149 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
}
return (
<table id={"sponsorSkipNotice" + this.idSuffix}
className={"sponsorSkipObject sponsorSkipNotice"
<div id={"sponsorSkipNotice" + this.idSuffix}
className={"sponsorSkipObject sponsorSkipNoticeParent"
+ (this.props.showInSecondSlot ? " secondSkipNotice" : "")}
onMouseEnter={(e) => this.onMouseEnter(e) }
onMouseLeave={() => this.timerMouseLeave()}
style={noticeStyle} >
<table className={"sponsorSkipObject sponsorSkipNotice"
+ (this.props.fadeIn ? " sponsorSkipNoticeFadeIn" : "")
+ (this.amountOfPreviousNotices > 0 ? " secondSkipNotice" : "")}
style={noticeStyle}
onMouseEnter={() => this.timerMouseEnter()}
onMouseLeave={() => this.timerMouseLeave()}>
<tbody>
+ (this.state.startFaded ? " sponsorSkipNoticeFaded" : "") } >
<tbody>
{/* First row */}
<tr id={"sponsorSkipNoticeFirstRow" + this.idSuffix}>
{/* Left column */}
<td>
{/* Logo */}
<img id={"sponsorSkipLogo" + this.idSuffix}
className="sponsorSkipLogo sponsorSkipObject"
src={chrome.extension.getURL("icons/IconSponsorBlocker256px.png")}>
</img>
{/* First row */}
<tr id={"sponsorSkipNoticeFirstRow" + this.idSuffix}>
{/* Left column */}
<td className="noticeLeftIcon">
{/* Logo */}
<img id={"sponsorSkipLogo" + this.idSuffix}
className="sponsorSkipLogo sponsorSkipObject"
src={chrome.extension.getURL("icons/IconSponsorBlocker256px.png")}>
</img>
<span id={"sponsorSkipMessage" + this.idSuffix}
style={{float: "left"}}
className="sponsorSkipMessage sponsorSkipObject">
{this.state.noticeTitle}
</span>
</td>
{/* Right column */}
<td className="sponsorSkipNoticeRightSection"
style={{top: "11px"}}>
{/* Time left */}
{this.props.timed ? (
<span id={"sponsorSkipNoticeTimeLeft" + this.idSuffix}
onClick={() => this.toggleManualPause()}
className="sponsorSkipObject sponsorSkipNoticeTimeLeft">
{this.state.countdownText || (this.state.countdownTime + "s")}
<span id={"sponsorSkipMessage" + this.idSuffix}
style={{float: "left"}}
className="sponsorSkipMessage sponsorSkipObject">
{this.state.noticeTitle}
</span>
) : ""}
{/* Close button */}
<img src={chrome.extension.getURL("icons/close.png")}
className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeCloseButton sponsorSkipNoticeRightButton"
onClick={() => this.close()}>
</img>
</td>
</tr>
{this.props.firstColumn}
</td>
{this.props.children}
{this.props.firstRow}
</tbody>
</table>
{/* Right column */}
<td className="sponsorSkipNoticeRightSection"
style={{top: "9.32px"}}>
{/* Time left */}
{this.props.timed ? (
<span id={"sponsorSkipNoticeTimeLeft" + this.idSuffix}
onClick={() => this.toggleManualPause()}
className="sponsorSkipObject sponsorSkipNoticeTimeLeft">
{this.getCountdownElements()}
</span>
) : ""}
{/* Close button */}
<img src={chrome.extension.getURL("icons/close.png")}
className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeCloseButton sponsorSkipNoticeRightButton"
onClick={() => this.close()}>
</img>
</td>
</tr>
{this.props.children}
{!this.props.smaller && this.props.bottomRow ?
this.props.bottomRow
: null}
</tbody>
</table>
{/* Add as a hidden table to keep the height constant */}
{this.props.smaller && this.props.bottomRow ?
<table style={{visibility: "hidden", paddingTop: "14px"}}>
<tbody>
{this.props.bottomRow}
</tbody>
</table>
: null}
</div>
);
}
getCountdownElements(): React.ReactElement[] {
return [(
<span
id={"skipNoticeTimerText" + this.idSuffix}
key="skipNoticeTimerText"
className={this.state.countdownMode !== CountdownMode.Timer ? "hidden" : ""} >
{this.state.countdownTime + "s"}
</span>
),(
<img
id={"skipNoticeTimerPaused" + this.idSuffix}
key="skipNoticeTimerPaused"
className={this.state.countdownMode !== CountdownMode.Paused ? "hidden" : ""}
src={chrome.runtime.getURL("icons/pause.svg")}
alt={chrome.i18n.getMessage("paused")} />
),(
<img
id={"skipNoticeTimerStopped" + this.idSuffix}
key="skipNoticeTimerStopped"
className={this.state.countdownMode !== CountdownMode.Stopped ? "hidden" : ""}
src={chrome.runtime.getURL("icons/stop.svg")}
alt={chrome.i18n.getMessage("manualPaused")} />
)];
}
onMouseEnter(event: React.MouseEvent<HTMLElement, MouseEvent>): void {
if (this.props.onMouseEnter) this.props.onMouseEnter(event);
this.fadedMouseEnter();
this.timerMouseEnter();
}
fadedMouseEnter(): void {
if (this.state.startFaded) {
this.setState({
startFaded: false
});
}
}
timerMouseEnter(): void {
if (this.state.countdownManuallyPaused) return;
if (this.state.countdownMode === CountdownMode.Stopped) return;
this.pauseCountdown();
this.setState({
mouseHovering: true
});
}
timerMouseLeave(): void {
if (this.state.countdownManuallyPaused) return;
if (this.state.countdownMode === CountdownMode.Stopped) return;
this.startCountdown();
this.setState({
mouseHovering: false
});
}
toggleManualPause(): void {
this.setState({
countdownManuallyPaused: !this.state.countdownManuallyPaused
countdownMode: this.state.countdownMode === CountdownMode.Stopped ? CountdownMode.Timer : CountdownMode.Stopped
}, () => {
if (this.state.countdownManuallyPaused) {
if (this.state.countdownMode === CountdownMode.Stopped || this.state.mouseHovering) {
this.pauseCountdown();
} else {
this.startCountdown();
@ -207,7 +295,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
//reset countdown and inform the user
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: this.state.countdownManuallyPaused ? chrome.i18n.getMessage("manualPaused") : chrome.i18n.getMessage("paused")
countdownMode: this.state.countdownMode === CountdownMode.Timer ? CountdownMode.Paused : this.state.countdownMode
});
this.removeFadeAnimation();
@ -221,7 +309,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: null
countdownMode: CountdownMode.Timer
});
this.setupInterval();
@ -243,7 +331,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
this.setState({
countdownTime: this.state.maxCountdownTime(),
countdownText: null
countdownMode: CountdownMode.Timer
});
this.removeFadeAnimation();

View file

@ -1,10 +1,12 @@
import * as React from "react";
import * as CompileConfig from "../../config.json";
import Config from "../config"
import { ContentContainer, SponsorHideType, SponsorTime } from "../types";
import { Category, ContentContainer, CategoryActionType, SponsorHideType, SponsorTime, NoticeVisbilityMode } from "../types";
import NoticeComponent from "./NoticeComponent";
import NoticeTextSelectionComponent from "./NoticeTextSectionComponent";
import { getCategoryActionType, getSkippingText } from "../utils/categoryUtils";
export enum SkipNoticeAction {
None,
Upvote,
@ -20,7 +22,11 @@ export interface SkipNoticeProps {
// Contains functions and variables from the content script needed by the skip notice
contentContainer: ContentContainer;
closeListener: () => void
closeListener: () => void;
showKeybindHint?: boolean;
smaller: boolean;
unskipTime?: number;
}
export interface SkipNoticeState {
@ -41,6 +47,10 @@ export interface SkipNoticeState {
thanksForVotingText?: string; //null until the voting buttons should be hidden
actionState?: SkipNoticeAction;
showKeybindHint?: boolean;
smaller?: boolean;
}
class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeState> {
@ -50,6 +60,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
contentContainer: ContentContainer;
amountOfPreviousNotices: number;
showInSecondSlot: boolean;
audio: HTMLAudioElement;
idSuffix: string;
@ -70,15 +81,12 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
this.contentContainer = props.contentContainer;
this.audio = null;
const categoryName = chrome.i18n.getMessage(this.segments.length > 1 ? "multipleSegments"
: "category_" + this.segments[0].category + "_short") || chrome.i18n.getMessage("category_" + this.segments[0].category);
let noticeTitle = categoryName + " " + chrome.i18n.getMessage("skipped");
if (!this.autoSkip) {
noticeTitle = chrome.i18n.getMessage("skip_category").replace("{0}", categoryName);
}
const noticeTitle = getSkippingText(this.segments, this.props.autoSkip);
//add notice
this.amountOfPreviousNotices = document.getElementsByClassName("sponsorSkipNotice").length;
const previousSkipNotices = document.getElementsByClassName("sponsorSkipNoticeParent");
this.amountOfPreviousNotices = previousSkipNotices.length;
// If there is at least one already in the first slot
this.showInSecondSlot = previousSkipNotices.length > 0 && [...previousSkipNotices].some(notice => !notice.classList.contains("secondSkipNotice"));
// Sort segments
if (this.segments.length > 1) {
@ -109,7 +117,11 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
choosingCategory: false,
thanksForVotingText: null,
actionState: SkipNoticeAction.None
actionState: SkipNoticeAction.None,
showKeybindHint: this.props.showKeybindHint ?? true,
smaller: this.props.smaller ?? false
}
if (!this.autoSkip) {
@ -132,145 +144,173 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
noticeStyle.transform = "scale(0.8) translate(10%, 10%)";
}
// If it started out as smaller, always keep the
// skip button there
const firstColumn = this.props.smaller ? (
this.getSkipButton()
) : null;
return (
<NoticeComponent noticeTitle={this.state.noticeTitle}
amountOfPreviousNotices={this.amountOfPreviousNotices}
showInSecondSlot={this.showInSecondSlot}
idSuffix={this.idSuffix}
fadeIn={true}
startFaded={Config.config.noticeVisibilityMode >= NoticeVisbilityMode.FadedForAll
|| (Config.config.noticeVisibilityMode >= NoticeVisbilityMode.FadedForAutoSkip && this.autoSkip)}
timed={true}
maxCountdownTime={this.state.maxCountdownTime}
videoSpeed={() => this.contentContainer().v?.playbackRate}
style={noticeStyle}
ref={this.noticeRef}
closeListener={() => this.closeListener()}>
closeListener={() => this.closeListener()}
smaller={this.state.smaller}
firstColumn={firstColumn}
bottomRow={[...this.getMessageBoxes(), ...this.getBottomRow() ]}
onMouseEnter={() => this.onMouseEnter() } >
{(Config.config.audioNotificationOnSkip) && <audio ref={(source) => { this.audio = source; }}>
<source src={chrome.extension.getURL("icons/beep.ogg")} type="audio/ogg"></source>
</audio>}
</NoticeComponent>
);
}
{/* Text Boxes */}
{this.getMessageBoxes()}
{/* Bottom Row */}
<tr id={"sponsorSkipNoticeSecondRow" + this.idSuffix}>
getBottomRow(): JSX.Element[] {
return [
/* Bottom Row */
(<tr id={"sponsorSkipNoticeSecondRow" + this.idSuffix}
key={0}>
{/* Vote Button Container */}
{!this.state.thanksForVotingText ?
<td id={"sponsorTimesVoteButtonsContainer" + this.idSuffix}
className="sponsorTimesVoteButtonsContainer">
{/* Vote Button Container */}
{!this.state.thanksForVotingText ?
<td id={"sponsorTimesVoteButtonsContainer" + this.idSuffix}
className="sponsorTimesVoteButtonsContainer">
{/* Upvote Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
style={{marginRight: "10px"}}
src={chrome.extension.getURL("icons/thumbs_up.svg")}
title={chrome.i18n.getMessage("upvoteButtonInfo")}
onClick={() => this.prepAction(SkipNoticeAction.Upvote)}>
</img>
{/* Upvote Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
style={{marginRight: "10px"}}
src={chrome.extension.getURL("icons/thumbs_up.svg")}
title={chrome.i18n.getMessage("upvoteButtonInfo")}
onClick={() => this.prepAction(SkipNoticeAction.Upvote)}>
</img>
{/* Report Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
src={chrome.extension.getURL("icons/thumbs_down.svg")}
title={chrome.i18n.getMessage("reportButtonInfo")}
onClick={() => this.adjustDownvotingState(true)}>
</img>
{/* Report Button */}
<img id={"sponsorTimesDownvoteButtonsContainer" + this.idSuffix}
className="sponsorSkipObject voteButton"
src={chrome.extension.getURL("icons/thumbs_down.svg")}
title={chrome.i18n.getMessage("reportButtonInfo")}
onClick={() => this.adjustDownvotingState(true)}>
</img>
</td>
</td>
:
:
<td id={"sponsorTimesVoteButtonInfoMessage" + this.idSuffix}
className="sponsorTimesInfoMessage sponsorTimesVoteButtonMessage"
style={{marginRight: "10px"}}>
{this.state.thanksForVotingText}
</td>
}
<td id={"sponsorTimesVoteButtonInfoMessage" + this.idSuffix}
className="sponsorTimesInfoMessage sponsorTimesVoteButtonMessage"
style={{marginRight: "10px"}}>
{this.state.thanksForVotingText}
</td>
}
{/* Unskip Button */}
<td className="sponsorSkipNoticeUnskipSection">
<button id={"sponsorSkipUnskipButton" + this.idSuffix}
className="sponsorSkipObject sponsorSkipNoticeButton"
style={{marginLeft: "4px"}}
onClick={() => this.prepAction(SkipNoticeAction.Unskip)}>
{/* Unskip/Skip Button */}
{!this.props.smaller ? this.getSkipButton() : null}
{this.state.unskipText + " (" + Config.config.skipKeybind + ")"}
{/* Never show button if autoSkip is enabled */}
{!this.autoSkip ? "" :
<td className="sponsorSkipNoticeRightSection"
key={1}>
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={this.contentContainer().dontShowNoticeAgain}>
{chrome.i18n.getMessage("Hide")}
</button>
</td>
}
</tr>),
/* Downvote Options Row */
(this.state.downvoting &&
<tr id={"sponsorSkipNoticeDownvoteOptionsRow" + this.idSuffix}
key={2}>
<td id={"sponsorTimesDownvoteOptionsContainer" + this.idSuffix}>
{/* Normal downvote */}
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.prepAction(SkipNoticeAction.Downvote)}>
{chrome.i18n.getMessage("downvoteDescription")}
</button>
{/* Category vote */}
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.openCategoryChooser()}>
{chrome.i18n.getMessage("incorrectCategory")}
</button>
</td>
{/* Never show button if autoSkip is enabled */}
{!this.autoSkip ? "" :
<td className="sponsorSkipNoticeRightSection">
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={this.contentContainer().dontShowNoticeAgain}>
{chrome.i18n.getMessage("Hide")}
</button>
</td>
}
</tr>
),
{/* Downvote Options Row */}
{this.state.downvoting &&
<tr id={"sponsorSkipNoticeDownvoteOptionsRow" + this.idSuffix}>
<td id={"sponsorTimesDownvoteOptionsContainer" + this.idSuffix}>
/* Category Chooser Row */
(this.state.choosingCategory &&
<tr id={"sponsorSkipNoticeCategoryChooserRow" + this.idSuffix}
key={3}>
<td>
{/* Category Selector */}
<select id={"sponsorTimeCategories" + this.idSuffix}
className="sponsorTimeCategories"
defaultValue={this.segments[0].category} //Just default to the first segment, as we don't know which they'll choose
ref={this.categoryOptionRef}>
{/* Normal downvote */}
{this.getCategoryOptions()}
</select>
{/* Submit Button */}
{this.segments.length === 1 &&
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.prepAction(SkipNoticeAction.Downvote)}>
{chrome.i18n.getMessage("downvoteDescription")}
onClick={() => this.prepAction(SkipNoticeAction.CategoryVote)}>
{chrome.i18n.getMessage("submit")}
</button>
}
</td>
</tr>
),
{/* Category vote */}
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.openCategoryChooser()}>
/* Segment Chooser Row */
(this.state.actionState !== SkipNoticeAction.None &&
<tr id={"sponsorSkipNoticeSubmissionOptionsRow" + this.idSuffix}
key={4}>
<td id={"sponsorTimesSubmissionOptionsContainer" + this.idSuffix}>
{this.getSubmissionChooser()}
</td>
</tr>
)
];
}
{chrome.i18n.getMessage("incorrectCategory")}
</button>
</td>
getSkipButton(): JSX.Element {
if (this.segments.length > 1
|| getCategoryActionType(this.segments[0].category) !== CategoryActionType.POI
|| this.props.unskipTime) {
return (
<span className="sponsorSkipNoticeUnskipSection">
<button id={"sponsorSkipUnskipButton" + this.idSuffix}
className="sponsorSkipObject sponsorSkipNoticeButton"
style={{marginLeft: "4px"}}
onClick={() => this.prepAction(SkipNoticeAction.Unskip)}>
</tr>
}
{/* Category Chooser Row */}
{this.state.choosingCategory &&
<tr id={"sponsorSkipNoticeCategoryChooserRow" + this.idSuffix}>
<td>
{/* Category Selector */}
<select id={"sponsorTimeCategories" + this.idSuffix}
className="sponsorTimeCategories"
defaultValue={this.segments[0].category} //Just default to the first segment, as we don't know which they'll choose
ref={this.categoryOptionRef}>
{this.getCategoryOptions()}
</select>
{/* Submit Button */}
{this.segments.length === 1 &&
<button className="sponsorSkipObject sponsorSkipNoticeButton"
onClick={() => this.prepAction(SkipNoticeAction.CategoryVote)}>
{chrome.i18n.getMessage("submit")}
</button>
}
</td>
</tr>
}
{/* Segment Chooser Row */}
{this.state.actionState !== SkipNoticeAction.None &&
<tr id={"sponsorSkipNoticeSubmissionOptionsRow" + this.idSuffix}>
<td id={"sponsorTimesSubmissionOptionsContainer" + this.idSuffix}>
{this.getSubmissionChooser()}
</td>
</tr>
}
</NoticeComponent>
);
{this.state.unskipText + (this.state.showKeybindHint ? " (" + Config.config.skipKeybind + ")" : "")}
</button>
</span>
);
}
}
getSubmissionChooser(): JSX.Element[] {
@ -289,6 +329,14 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
return elements;
}
onMouseEnter(): void {
if (this.state.smaller) {
this.setState({
smaller: false
});
}
}
prepAction(action: SkipNoticeAction): void {
if (this.segments.length === 1) {
this.performAction(0, action);
@ -299,14 +347,15 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
}
}
getMessageBoxes(): JSX.Element[] | JSX.Element {
getMessageBoxes(): JSX.Element[] {
if (this.state.messages.length === 0) {
// Add a spacer if there is no text
return (
return [
<tr id={"sponsorSkipNoticeSpacer" + this.idSuffix}
className="sponsorBlockSpacer">
className="sponsorBlockSpacer"
key={"messageBoxSpacer"}>
</tr>
);
];
}
const elements: JSX.Element[] = [];
@ -344,7 +393,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
this.contentContainer().vote(0, this.segments[index].UUID, undefined, this);
break;
case SkipNoticeAction.CategoryVote:
this.contentContainer().vote(undefined, this.segments[index].UUID, this.categoryOptionRef.current.value, this)
this.contentContainer().vote(undefined, this.segments[index].UUID, this.categoryOptionRef.current.value as Category, this)
break;
case SkipNoticeAction.Unskip:
this.state.unskipCallback(index);
@ -391,7 +440,8 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
getCategoryOptions(): React.ReactElement[] {
const elements = [];
for (const category of CompileConfig.categoryList) {
const categories = CompileConfig.categoryList.filter((cat => getCategoryActionType(cat as Category) === CategoryActionType.Skippable));
for (const category of categories) {
elements.push(
<option value={category}
key={category}>
@ -404,7 +454,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
}
unskip(index: number): void {
this.contentContainer().unskipSponsorTime(this.segments[index]);
this.contentContainer().unskipSponsorTime(this.segments[index], this.props.unskipTime);
this.unskippedMode(index, chrome.i18n.getMessage("reskip"));
}
@ -418,12 +468,14 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
}
getUnskippedModeInfo(index: number, buttonText: string): SkipNoticeState {
const maxCountdownTime = () => {
const changeCountdown = getCategoryActionType(this.segments[index].category) === CategoryActionType.Skippable;
const maxCountdownTime = changeCountdown ? () => {
const sponsorTime = this.segments[index];
const duration = Math.round((sponsorTime.segment[1] - this.contentContainer().v.currentTime) * (1 / this.contentContainer().v.playbackRate));
return Math.max(duration, Config.config.skipNoticeDuration);
};
} : this.state.maxCountdownTime;
return {
unskipText: buttonText,
@ -456,7 +508,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
});
}
afterVote(segment: SponsorTime, type: number, category: string): void {
afterVote(segment: SponsorTime, type: number, category: Category): void {
this.addVoteButtonInfo(chrome.i18n.getMessage("voted"));
if (type === 0) {

View file

@ -4,8 +4,9 @@ import Config from "../config";
import * as CompileConfig from "../../config.json";
import Utils from "../utils";
import { ContentContainer, SponsorTime } from "../types";
import { Category, CategoryActionType, ContentContainer, SponsorTime } from "../types";
import SubmissionNoticeComponent from "./SubmissionNoticeComponent";
import { getCategoryActionType } from "../utils/categoryUtils";
const utils = new Utils();
export interface SponsorTimeEditProps {
@ -16,6 +17,7 @@ export interface SponsorTimeEditProps {
contentContainer: ContentContainer,
submissionNotice: SubmissionNoticeComponent;
categoryList?: Category[];
}
export interface SponsorTimeEditState {
@ -106,43 +108,47 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
onChange={(e) => {
const sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[0] = e.target.value;
if (getCategoryActionType(sponsorTime.category) === CategoryActionType.POI) sponsorTimeEdits[1] = e.target.value;
this.setState({sponsorTimeEdits});
this.saveEditTimes();
}}>
</input>
<span>
{" " + chrome.i18n.getMessage("to") + " "}
</span>
{getCategoryActionType(sponsorTime.category) === CategoryActionType.Skippable ? (
<span>
<span>
{" " + chrome.i18n.getMessage("to") + " "}
</span>
<input id={"submittingTime1" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditInput"
ref={oldYouTubeDarkStyles}
type="text"
value={this.state.sponsorTimeEdits[1]}
onChange={(e) => {
const sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[1] = e.target.value;
<input id={"submittingTime1" + this.idSuffix}
className="sponsorTimeEdit sponsorTimeEditInput"
ref={oldYouTubeDarkStyles}
type="text"
value={this.state.sponsorTimeEdits[1]}
onChange={(e) => {
const sponsorTimeEdits = this.state.sponsorTimeEdits;
sponsorTimeEdits[1] = e.target.value;
this.setState({sponsorTimeEdits});
this.setState({sponsorTimeEdits});
this.saveEditTimes();
}}>
</input>
this.saveEditTimes();
}}>
</input>
<span id={"nowButton1" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToNow(1)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
<span id={"nowButton1" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToNow(1)}>
{chrome.i18n.getMessage("bracketNow")}
</span>
<span id={"endButton" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToEnd()}>
{chrome.i18n.getMessage("bracketEnd")}
</span>
<span id={"endButton" + this.idSuffix}
className="sponsorNowButton"
onClick={() => this.setTimeToEnd()}>
{chrome.i18n.getMessage("bracketEnd")}
</span>
</span>
): ""}
</div>
);
} else {
@ -151,7 +157,8 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
className="sponsorTimeDisplay"
onClick={this.toggleEditTime.bind(this)}>
{utils.getFormattedTime(segment[0], true) +
((!isNaN(segment[1])) ? " " + chrome.i18n.getMessage("to") + " " + utils.getFormattedTime(segment[1], true) : "")}
((!isNaN(segment[1]) && getCategoryActionType(sponsorTime.category) === CategoryActionType.Skippable)
? " " + chrome.i18n.getMessage("to") + " " + utils.getFormattedTime(segment[1], true) : "")}
</div>
);
}
@ -171,13 +178,14 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
{this.getCategoryOptions()}
</select>
<img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
className="helpButton"
src={chrome.extension.getURL("icons/help.svg")}
title={chrome.i18n.getMessage("categoryGuidelines")}
onClick={() => chrome.runtime.sendMessage({"message": "openConfig"})}>
</img>
{/* open in new tab */}
<a href="https://wiki.sponsor.ajay.app/index.php/Segment_Categories"
target="_blank" rel="noreferrer">
<img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
className="helpButton"
src={chrome.extension.getURL("icons/help.svg")}
title={chrome.i18n.getMessage("categoryGuidelines")} />
</a>
</div>
<br/>
@ -190,7 +198,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
{chrome.i18n.getMessage("delete")}
</span>
{(!isNaN(segment[1])) ? (
{(!isNaN(segment[1]) && getCategoryActionType(sponsorTime.category) === CategoryActionType.Skippable) ? (
<span id={"sponsorTimePreviewButton" + this.idSuffix}
className="sponsorTimeEditButton"
onClick={this.previewTime.bind(this)}>
@ -225,7 +233,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
</option>
)];
for (const category of CompileConfig.categoryList) {
for (const category of (this.props.categoryList ?? CompileConfig.categoryList)) {
elements.push(
<option value={category}
key={category}>
@ -239,7 +247,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>): void {
// See if show more categories was pressed
if (!Config.config.categorySelections.some((category) => category.name === event.target.value)) {
if (event.target.value !== DEFAULT_CATEGORY && !Config.config.categorySelections.some((category) => category.name === event.target.value)) {
const chosenCategory = event.target.value;
event.target.value = DEFAULT_CATEGORY;
@ -247,11 +255,16 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
if (confirm(chrome.i18n.getMessage("enableThisCategoryFirst")
.replace("{0}", chrome.i18n.getMessage("category_" + chosenCategory)))) {
// Open options page
chrome.runtime.sendMessage({"message": "openConfig"});
chrome.runtime.sendMessage({message: "openConfig", hash: chosenCategory + "OptionsName"});
}
return;
}
if (getCategoryActionType(event.target.value as Category) === CategoryActionType.POI) {
this.setTimeTo(1, null);
this.props.contentContainer().updateEditButtonsOnPlayer();
}
this.saveEditTimes();
}
@ -264,11 +277,16 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
this.setTimeTo(1, this.props.contentContainer().v.duration);
}
/**
* @param index
* @param time If null, will set time to the first index's time
*/
setTimeTo(index: number, time: number): void {
const sponsorTime = this.props.contentContainer().sponsorTimesSubmitting[this.props.index];
if (time === null) time = sponsorTime.segment[0];
sponsorTime.segment[index] =
time;
sponsorTime.segment[index] = time;
if (getCategoryActionType(sponsorTime.category) === CategoryActionType.POI) sponsorTime.segment[1] = time;
this.setState({
sponsorTimeEdits: this.getFormattedSponsorTimesEdits(sponsorTime)
@ -312,7 +330,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
}
}
sponsorTimesSubmitting[this.props.index].category = this.categoryOptionRef.current.value;
sponsorTimesSubmitting[this.props.index].category = this.categoryOptionRef.current.value as Category;
Config.config.segmentTimes.set(this.props.contentContainer().sponsorVideoID, sponsorTimesSubmitting);
@ -334,7 +352,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
const skipTime = sponsorTimes[index].segment[0];
this.props.contentContainer().previewTime(skipTime + 0.000001, false);
this.props.contentContainer().previewTime(skipTime + 0.0001, false);
}
deleteTime(): void {
@ -369,4 +387,4 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
}
}
export default SponsorTimeEditComponent;
export default SponsorTimeEditComponent;

View file

@ -12,7 +12,7 @@ export interface SubmissionNoticeProps {
callback: () => unknown;
closeListener: () => void
closeListener: () => void;
}
export interface SubmissionNoticeeState {
@ -95,7 +95,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{/* Guidelines button */}
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
onClick={() => window.open("https://github.com/ajayyy/SponsorBlock/wiki/Guidelines")}>
onClick={() => window.open("https://wiki.sponsor.ajay.app/index.php/Guidelines")}>
{chrome.i18n.getMessage(Config.config.submissionCountSinceCategories > 3 ? "guidelines" : "readTheGuidelines")}
</button>

View file

@ -1,14 +1,11 @@
import * as CompileConfig from "../config.json";
import { CategorySelection, CategorySkipOption, PreviewBarOption, SponsorTime, StorageChangesObject, UnEncodedSegmentTimes as UnencodedSegmentTimes } from "./types";
import Utils from "./utils";
const utils = new Utils();
import { Category, CategorySelection, CategorySkipOption, NoticeVisbilityMode, PreviewBarOption, SponsorTime, StorageChangesObject, UnEncodedSegmentTimes as UnencodedSegmentTimes } from "./types";
interface SBConfig {
userID: string,
/** Contains unsubmitted segments that the user has created. */
segmentTimes: SBMap<string, SponsorTime[]>,
defaultCategory: string,
defaultCategory: Category,
whitelistedChannels: string[],
forceChannelCheck: boolean,
skipKeybind: string,
@ -23,6 +20,7 @@ interface SBConfig {
trackViewCount: boolean,
trackViewCountInPrivate: boolean,
dontShowNotice: boolean,
noticeVisibilityMode: NoticeVisbilityMode,
hideVideoPlayerControls: boolean,
hideInfoButtonPlayerControls: boolean,
hideDeleteButtonPlayerControls: boolean,
@ -40,7 +38,10 @@ interface SBConfig {
refetchWhenNotFound: boolean,
ytInfoPermissionGranted: boolean,
allowExpirements: boolean,
showDonationLink: boolean,
autoHideInfoButton: boolean,
autoSkipOnMusicVideos: boolean,
highlightCategoryUpdate: boolean
// What categories should be skipped
categorySelections: CategorySelection[],
@ -62,6 +63,8 @@ interface SBConfig {
"preview-preview": PreviewBarOption,
"music_offtopic": PreviewBarOption,
"preview-music_offtopic": PreviewBarOption,
"poi_highlight": PreviewBarOption,
"preview-poi_highlight": PreviewBarOption,
}
}
@ -147,7 +150,7 @@ const Config: SBObject = {
defaults: {
userID: null,
segmentTimes: new SBMap("segmentTimes"),
defaultCategory: "chooseACategory",
defaultCategory: "chooseACategory" as Category,
whitelistedChannels: [],
forceChannelCheck: false,
skipKeybind: "Enter",
@ -162,6 +165,7 @@ const Config: SBObject = {
trackViewCount: true,
trackViewCountInPrivate: true,
dontShowNotice: false,
noticeVisibilityMode: NoticeVisbilityMode.FadedForAutoSkip,
hideVideoPlayerControls: false,
hideInfoButtonPlayerControls: false,
hideDeleteButtonPlayerControls: false,
@ -179,10 +183,13 @@ const Config: SBObject = {
refetchWhenNotFound: true,
ytInfoPermissionGranted: false,
allowExpirements: true,
showDonationLink: true,
autoHideInfoButton: true,
autoSkipOnMusicVideos: false,
highlightCategoryUpdate: false, // TODO: Remove this once update is done
categorySelections: [{
name: "sponsor",
name: "sponsor" as Category,
option: CategorySkipOption.AutoSkip
}],
@ -247,6 +254,14 @@ const Config: SBObject = {
"preview-music_offtopic": {
color: "#a6634a",
opacity: "0.7"
},
"poi_highlight": {
color: "#ff1684",
opacity: "0.7"
},
"preview-poi_highlight": {
color: "#9b044c",
opacity: "0.7"
}
}
},
@ -343,24 +358,28 @@ function fetchConfig(): Promise<void> {
}
function migrateOldFormats(config: SBConfig) {
if (!config["highlightCategoryAdded"] && !config.categorySelections.some((s) => s.name === "poi_highlight")) {
config["highlightCategoryAdded"] = true;
config.categorySelections.push({
name: "poi_highlight" as Category,
option: CategorySkipOption.ManualSkip
});
config.categorySelections = config.categorySelections;
}
if (config["askAboutUnlistedVideos"]) {
chrome.storage.sync.remove("askAboutUnlistedVideos");
}
// Adding preview category
if (!config["previewCategoryUpdate"]) {
config["previewCategoryUpdate"] = true;
if (!config["autoSkipOnMusicVideosUpdate"]) {
config["autoSkipOnMusicVideosUpdate"] = true;
for (const selection of config.categorySelections) {
if (selection.name === "intro"
&& selection.option === CategorySkipOption.AutoSkip || selection.option === CategorySkipOption.ManualSkip) {
if (selection.name === "music_offtopic"
&& selection.option === CategorySkipOption.AutoSkip) {
// Add a default skip option for preview category
config.categorySelections.push({
name: "preview",
option: CategorySkipOption.ManualSkip
});
// Ensure it gets updated
config.categorySelections = config.categorySelections;
config.autoSkipOnMusicVideos = true;
break;
}
}
@ -376,100 +395,6 @@ function migrateOldFormats(config: SBConfig) {
}
}
// Auto vote removal
if (config["autoUpvote"]) {
chrome.storage.sync.remove("autoUpvote");
}
// mobileUpdateShowCount removal
if (config["mobileUpdateShowCount"] !== undefined) {
chrome.storage.sync.remove("mobileUpdateShowCount");
}
// categoryUpdateShowCount removal
if (config["categoryUpdateShowCount"] !== undefined) {
chrome.storage.sync.remove("categoryUpdateShowCount");
}
// Channel URLS
if (config.whitelistedChannels.length > 0 &&
(config.whitelistedChannels[0] == null || config.whitelistedChannels[0].includes("/"))) {
const channelURLFixer = async() => {
const newChannelList: string[] = [];
for (const item of config.whitelistedChannels) {
if (item != null) {
if (item.includes("/channel/")) {
newChannelList.push(item.split("/")[2]);
} else if (item.includes("/user/") && utils.isContentScript()) {
// Replace channel URL with channelID
const response = await utils.asyncRequestToCustomServer("GET", "https://sponsor.ajay.app/invidious/api/v1/channels/" + item.split("/")[2] + "?fields=authorId");
if (response.ok) {
newChannelList.push((JSON.parse(response.responseText)).authorId);
} else {
// Add it at the beginning so it gets converted later
newChannelList.unshift(item);
}
} else if (item.includes("/user/")) {
// Add it at the beginning so it gets converted later (The API can only be called in the content script due to CORS issues)
newChannelList.unshift(item);
} else {
newChannelList.push(item);
}
}
}
config.whitelistedChannels = newChannelList;
}
channelURLFixer();
}
// Check if off-topic category needs to be removed
for (let i = 0; i < config.categorySelections.length; i++) {
if (config.categorySelections[i].name === "offtopic") {
config.categorySelections.splice(i, 1);
// Call set listener
config.categorySelections = config.categorySelections;
break;
}
}
// Migrate old "sponsorTimes"
if (config["sponsorTimes"]) {
let jsonData: unknown = config["sponsorTimes"];
// Check if data is stored in the old format for SBMap (a JSON string)
if (typeof jsonData === "string") {
try {
jsonData = JSON.parse(jsonData);
} catch(e) {
// Continue normally (out of this if statement)
}
}
// Otherwise junk data
if (Array.isArray(jsonData)) {
const oldMap = new Map(jsonData);
oldMap.forEach((sponsorTimes: [number, number][], key) => {
const segmentTimes: SponsorTime[] = [];
for (const segment of sponsorTimes) {
segmentTimes.push({
segment: segment,
category: "sponsor",
UUID: null
});
}
config.segmentTimes.rawSet(key, segmentTimes);
});
config.segmentTimes.update();
}
chrome.storage.sync.remove("sponsorTimes");
}
// Remove some old unused options
if (config["sponsorVideoID"] !== undefined) {
chrome.storage.sync.remove("sponsorVideoID");

View file

@ -1,6 +1,5 @@
import Config from "./config";
import { SponsorTime, CategorySkipOption, VideoID, SponsorHideType, VideoInfo, StorageChangesObject, ChannelIDInfo, ChannelIDStatus, SponsorSourceType } from "./types";
import { SponsorTime, CategorySkipOption, VideoID, SponsorHideType, VideoInfo, StorageChangesObject, CategoryActionType, ChannelIDInfo, ChannelIDStatus, SponsorSourceType, SegmentUUID, Category, SkipToTimeParams, ToggleSkippable } from "./types";
import { ContentContainer } from "./types";
import Utils from "./utils";
@ -14,6 +13,9 @@ import SkipNoticeComponent from "./components/SkipNoticeComponent";
import SubmissionNotice from "./render/SubmissionNotice";
import { Message, MessageResponse } from "./messageTypes";
import * as Chat from "./js-components/chat";
import { getCategoryActionType } from "./utils/categoryUtils";
import { SkipButtonControlBar } from "./js-components/skipButtonControlBar";
import { Tooltip } from "./render/Tooltip";
// Hack to get the CSS loaded on permission-based sites (Invidious)
utils.wait(() => Config.config !== null, 5000, 10).then(addCSS);
@ -26,6 +28,7 @@ let sponsorTimes: SponsorTime[] = null;
let sponsorVideoID: VideoID = null;
// List of open skip notices
const skipNotices: SkipNotice[] = [];
let activeSkipKeybindElement: ToggleSkippable = null;
// JSON video info
let videoInfo: VideoInfo = null;
@ -69,6 +72,7 @@ let channelWhitelisted = false;
// create preview bar
let previewBar: PreviewBar = null;
let skipButtonControlBar: SkipButtonControlBar = null;
/** Element containing the player controls on the YouTube player. */
let controls: HTMLElement | null = null;
@ -123,7 +127,7 @@ const manualSkipPercentCount = 0.5;
//get messages from the background script and the popup
chrome.runtime.onMessage.addListener(messageListener);
function messageListener(request: Message, sender: unknown, sendResponse: (response: MessageResponse) => void): void {
function messageListener(request: Message, sender: unknown, sendResponse: (response: MessageResponse) => void): void | boolean {
//messages from popup script
switch(request.message){
case "update":
@ -144,7 +148,7 @@ function messageListener(request: Message, sender: unknown, sendResponse: (respo
sponsorTimes: sponsorTimes
});
if (popupInitialised && document.getElementById("sponsorBlockPopupContainer") != null) {
if (!request.updating && popupInitialised && document.getElementById("sponsorBlockPopupContainer") != null) {
//the popup should be closed now that another is opening
closeInfoMenu();
}
@ -179,8 +183,12 @@ function messageListener(request: Message, sender: unknown, sendResponse: (respo
submitSponsorTimes();
break;
case "refreshSegments":
sponsorsLookup(sponsorVideoID, false).then(() => sendResponse({}));
break;
sponsorsLookup(sponsorVideoID, false).then(() => sendResponse({
found: sponsorDataFound,
sponsorTimes: sponsorTimes
}));
return true;
}
}
@ -426,7 +434,7 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?:
skippingSegments = [];
for (const segment of skipInfo.array) {
if (utils.getCategorySelection(segment.category).option === CategorySkipOption.AutoSkip &&
if (shouldAutoSkip(segment) &&
segment.segment[0] >= skipTime[0] && segment.segment[1] <= skipTime[1]) {
skippingSegments.push(segment);
}
@ -445,7 +453,12 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?:
if (incorrectVideoCheck(videoID, currentSkip)) return;
if (video.currentTime >= skipTime[0] && video.currentTime < skipTime[1]) {
skipToTime(video, skipTime, skippingSegments, skipInfo.openNotice);
skipToTime({
v: video,
skipTime,
skippingSegments,
openNotice: skipInfo.openNotice
});
if (utils.getCategorySelection(currentSkip.category)?.option === CategorySkipOption.ManualSkip) {
forcedSkipTime = skipTime[0] + 0.001;
@ -507,6 +520,7 @@ function refreshVideoAttachments() {
videosWithEventListeners.push(video);
setupVideoListeners();
setupSkipButtonControlBar();
}
}
}
@ -558,6 +572,22 @@ function setupVideoListeners() {
startSponsorSchedule();
}
if (!Config.config.dontShowNotice) {
const currentPoiSegment = sponsorTimes.find((segment) =>
getCategoryActionType(segment.category) === CategoryActionType.POI &&
video.currentTime - segment.segment[0] > 0 &&
video.currentTime - segment.segment[0] < video.duration * 0.006); // Approximate size on preview bar
if (currentPoiSegment && !skipNotices.some((notice) => notice.segments.some((s) => s.UUID === currentPoiSegment.UUID))) {
skipToTime({
v: video,
skipTime: currentPoiSegment.segment,
skippingSegments: [currentPoiSegment],
openNotice: true,
forceAutoSkip: true
});
}
}
});
video.addEventListener('ratechange', () => startSponsorSchedule());
// Used by videospeed extension (https://github.com/igrigorik/videospeed/pull/740)
@ -574,6 +604,22 @@ function setupVideoListeners() {
}
}
function setupSkipButtonControlBar() {
if (!skipButtonControlBar) {
skipButtonControlBar = new SkipButtonControlBar({
skip: (segment) => skipToTime({
v: video,
skipTime: segment.segment,
skippingSegments: [segment],
openNotice: true,
forceAutoSkip: true
})
});
}
skipButtonControlBar.attachToPage();
}
async function sponsorsLookup(id: string, keepOldSubmissions = true) {
if (!video) refreshVideoAttachments();
//there is still no video here
@ -596,7 +642,8 @@ async function sponsorsLookup(id: string, keepOldSubmissions = true) {
// Check for hashPrefix setting
const hashPrefix = (await utils.getHash(id, 1)).substr(0, 4);
const response = await utils.asyncRequestToServer('GET', "/api/skipSegments/" + hashPrefix, {
categories
categories,
userAgent: `${chrome.runtime.id}`
});
if (response?.ok) {
@ -702,24 +749,47 @@ function retryFetch(): void {
function startSkipScheduleCheckingForStartSponsors() {
if (!switchingVideos) {
// See if there are any starting sponsors
let startingSponsor = -1;
let startingSegmentTime = -1;
let startingSegment: SponsorTime = null;
for (const time of sponsorTimes) {
if (time.segment[0] <= video.currentTime && time.segment[0] > startingSponsor && time.segment[1] > video.currentTime) {
startingSponsor = time.segment[0];
if (time.segment[0] <= video.currentTime && time.segment[0] > startingSegmentTime && time.segment[1] > video.currentTime
&& getCategoryActionType(time.category) === CategoryActionType.Skippable) {
startingSegmentTime = time.segment[0];
startingSegment = time;
break;
}
}
if (startingSponsor === -1) {
if (startingSegmentTime === -1) {
for (const time of sponsorTimesSubmitting) {
if (time.segment[0] <= video.currentTime && time.segment[0] > startingSponsor && time.segment[1] > video.currentTime) {
startingSponsor = time.segment[0];
if (time.segment[0] <= video.currentTime && time.segment[0] > startingSegmentTime && time.segment[1] > video.currentTime
&& getCategoryActionType(time.category) === CategoryActionType.Skippable) {
startingSegmentTime = time.segment[0];
startingSegment = time;
break;
}
}
}
if (startingSponsor !== -1) {
startSponsorSchedule(undefined, startingSponsor);
// For highlight category
const poiSegments = sponsorTimes
.filter((time) => time.segment[1] > video.currentTime && getCategoryActionType(time.category) === CategoryActionType.POI)
.sort((a, b) => b.segment[0] - a.segment[0]);
for (const time of poiSegments) {
const skipOption = utils.getCategorySelection(time.category)?.option;
if (skipOption !== CategorySkipOption.ShowOverlay) {
skipToTime({
v: video,
skipTime: time.segment,
skippingSegments: [time],
openNotice: true,
unskipTime: video.currentTime
});
if (skipOption === CategorySkipOption.AutoSkip) break;
}
}
if (startingSegmentTime !== -1) {
startSponsorSchedule(undefined, startingSegmentTime);
} else {
startSponsorSchedule();
}
@ -806,7 +876,6 @@ function updatePreviewBar(): void {
if (video === null) return;
const previewBarSegments: PreviewBarSegment[] = [];
if (sponsorTimes) {
sponsorTimes.forEach((segment) => {
if (segment.hidden !== SponsorHideType.Visible) return;
@ -815,6 +884,7 @@ function updatePreviewBar(): void {
segment: segment.segment as [number, number],
category: segment.category,
unsubmitted: false,
showLarger: getCategoryActionType(segment.category) === CategoryActionType.POI
});
});
}
@ -824,6 +894,7 @@ function updatePreviewBar(): void {
segment: segment.segment as [number, number],
category: segment.category,
unsubmitted: true,
showLarger: getCategoryActionType(segment.category) === CategoryActionType.POI
});
});
@ -926,7 +997,7 @@ function getNextSkipIndex(currentTime: number, includeIntersectingSegments: bool
function getLatestEndTimeIndex(sponsorTimes: SponsorTime[], index: number, hideHiddenSponsors = true): number {
// Only combine segments for AutoSkip
if (index == -1 ||
utils.getCategorySelection(sponsorTimes[index].category)?.option !== CategorySkipOption.AutoSkip) return index;
shouldAutoSkip(sponsorTimes[index])) return index;
// Default to the normal endTime
let latestEndTimeIndex = index;
@ -937,7 +1008,7 @@ function getLatestEndTimeIndex(sponsorTimes: SponsorTime[], index: number, hideH
if (currentSegment[0] <= latestEndTime && currentSegment[1] > latestEndTime
&& (!hideHiddenSponsors || sponsorTimes[i].hidden === SponsorHideType.Visible)
&& utils.getCategorySelection(sponsorTimes[i].category).option === CategorySkipOption.AutoSkip) {
&& shouldAutoSkip(sponsorTimes[i])) {
// Overlapping segment
latestEndTimeIndex = i;
}
@ -972,7 +1043,8 @@ function getStartTimes(sponsorTimes: SponsorTime[], includeIntersectingSegments:
|| ((includeNonIntersectingSegments && sponsorTimes[i].segment[0] >= minimum)
|| (includeIntersectingSegments && sponsorTimes[i].segment[0] < minimum && sponsorTimes[i].segment[1] > minimum)))
&& (!onlySkippableSponsors || utils.getCategorySelection(sponsorTimes[i].category).option !== CategorySkipOption.ShowOverlay)
&& (!hideHiddenSponsors || sponsorTimes[i].hidden === SponsorHideType.Visible)) {
&& (!hideHiddenSponsors || sponsorTimes[i].hidden === SponsorHideType.Visible)
&& getCategoryActionType(sponsorTimes[i].category) === CategoryActionType.Skippable) {
startTimes.push(sponsorTimes[i].segment[0]);
}
@ -1016,9 +1088,9 @@ function sendTelemetryAndCount(skippingSegments: SponsorTime[], secondsSkipped:
}
//skip from the start time to the end time for a certain index sponsor time
function skipToTime(v: HTMLVideoElement, skipTime: number[], skippingSegments: SponsorTime[], openNotice: boolean) {
function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, unskipTime}: SkipToTimeParams): void {
// There will only be one submission if it is manual skip
const autoSkip: boolean = utils.getCategorySelection(skippingSegments[0].category)?.option === CategorySkipOption.AutoSkip;
const autoSkip: boolean = forceAutoSkip || shouldAutoSkip(skippingSegments[0]);
if ((autoSkip || sponsorTimesSubmitting.includes(skippingSegments[0])) && v.currentTime !== skipTime[1]) {
// Fix for looped videos not working when skipping to the end #426
@ -1030,10 +1102,35 @@ function skipToTime(v: HTMLVideoElement, skipTime: number[], skippingSegments: S
}
}
if (openNotice) {
//send out the message saying that a sponsor message was skipped
if (!Config.config.dontShowNotice || !autoSkip) {
skipNotices.push(new SkipNotice(skippingSegments, autoSkip, skipNoticeContentContainer));
if (!autoSkip
&& skippingSegments.length === 1
&& getCategoryActionType(skippingSegments[0].category) === CategoryActionType.POI) {
skipButtonControlBar.enable(skippingSegments[0], !Config.config.highlightCategoryUpdate ? 15 : 0);
if (!Config.config.highlightCategoryUpdate) {
new Tooltip({
text: chrome.i18n.getMessage("highlightNewFeature"),
link: "https://blog.ajay.app/highlight-sponsorblock",
referenceNode: skipButtonControlBar.getElement().parentElement,
prependElement: skipButtonControlBar.getElement(),
timeout: 15
});
Config.config.highlightCategoryUpdate = true;
}
activeSkipKeybindElement?.setShowKeybindHint(false);
activeSkipKeybindElement = skipButtonControlBar;
} else {
if (openNotice) {
//send out the message saying that a sponsor message was skipped
if (!Config.config.dontShowNotice || !autoSkip) {
const newSkipNotice = new SkipNotice(skippingSegments, autoSkip, skipNoticeContentContainer, unskipTime);
skipNotices.push(newSkipNotice);
activeSkipKeybindElement?.setShowKeybindHint(false);
activeSkipKeybindElement = newSkipNotice;
}
}
}
@ -1041,11 +1138,10 @@ function skipToTime(v: HTMLVideoElement, skipTime: number[], skippingSegments: S
if (autoSkip) sendTelemetryAndCount(skippingSegments, skipTime[1] - skipTime[0], true);
}
function unskipSponsorTime(segment: SponsorTime) {
if (sponsorTimes != null) {
//add a tiny bit of time to make sure it is not skipped again
video.currentTime = segment.segment[0] + 0.001;
}
function unskipSponsorTime(segment: SponsorTime, unskipTime: number = null) {
//add a tiny bit of time to make sure it is not skipped again
console.log(unskipTime)
video.currentTime = unskipTime ?? segment.segment[0] + 0.001;
}
function reskipSponsorTime(segment: SponsorTime) {
@ -1096,6 +1192,11 @@ function createButton(baseID: string, title: string, callback: () => void, image
return newButton;
}
function shouldAutoSkip(segment: SponsorTime): boolean {
return utils.getCategorySelection(segment.category)?.option === CategorySkipOption.AutoSkip ||
(Config.config.autoSkipOnMusicVideos && sponsorTimes.some((s) => s.category === "music_offtopic"));
}
function getControls(): HTMLElement | false {
const controlsSelectors = [
// YouTube
@ -1179,7 +1280,7 @@ function updateEditButtonsOnPlayer(): void {
creatingSegment = isSegmentCreationInProgress();
// Show only if there are any segments to submit
submitButtonVisible = sponsorTimesSubmitting.length > 1 || (sponsorTimesSubmitting.length > 0 && !creatingSegment);
submitButtonVisible = sponsorTimesSubmitting.length > 0;
// Show only if there are any segments to delete
deleteButtonVisible = sponsorTimesSubmitting.length > 1 || (sponsorTimesSubmitting.length > 0 && !creatingSegment);
@ -1417,7 +1518,7 @@ function clearSponsorTimes() {
}
//if skipNotice is null, it will not affect the UI
function vote(type: number, UUID: string, category?: string, skipNotice?: SkipNoticeComponent) {
function vote(type: number, UUID: SegmentUUID, category?: Category, skipNotice?: SkipNoticeComponent) {
if (skipNotice !== null && skipNotice !== undefined) {
//add loading info
skipNotice.addVoteButtonInfo.bind(skipNotice)(chrome.i18n.getMessage("Loading"))
@ -1536,7 +1637,8 @@ async function sendSubmitMessage() {
videoID: sponsorVideoID,
userID: Config.config.userID,
segments: sponsorTimesSubmitting,
videoDuration: video?.duration
videoDuration: video?.duration,
userAgent: `${chrome.runtime.id}/v${chrome.runtime.getManifest().version}`
});
if (response.status === 200) {
@ -1620,9 +1722,8 @@ function hotkeyListener(e: KeyboardEvent): void {
switch (key) {
case skipKey:
if (skipNotices.length > 0) {
const latestSkipNotice = skipNotices[skipNotices.length - 1];
latestSkipNotice.toggleSkip.call(latestSkipNotice);
if (activeSkipKeybindElement) {
activeSkipKeybindElement.toggleSkip.call(activeSkipKeybindElement);
}
break;
case startSponsorKey:

17
src/help.ts Normal file
View file

@ -0,0 +1,17 @@
import Config from "./config";
import { showDonationLink } from "./utils/configUtils";
import Utils from "./utils";
const utils = new Utils();
window.addEventListener('DOMContentLoaded', init);
async function init() {
utils.localizeHtmlPage();
await utils.wait(() => Config.config !== null);
if (!showDonationLink()) {
document.getElementById("sbDonate").style.display = "none";
}
}

View file

@ -34,11 +34,12 @@ export async function openWarningChat(warningMessage: string): Promise<void> {
const userNameData = await utils.asyncRequestToServer("GET", "/api/getUsername?userID=" + Config.config.userID);
const userName = userNameData.ok ? JSON.parse(userNameData.responseText).userName : "";
const publicUserID = await utils.getHash(Config.config.userID);
const warningReasonMatch = warningMessage.match(/Warning reason: '(.+)'/);
openChat({
displayName: `${userName ? `${userName} | `: ``}${userName !== publicUserID ? publicUserID : ``}`,
composerInitialValue: `I got a warning and want to know what I need to do to improve. ` +
`Warning reason: ${warningMessage.match(/Warning reason: '(.+)'/)[1]}`,
displayName: `${userName ? userName : ``}${userName !== publicUserID ? ` | ${publicUserID}` : ``}`,
composerInitialValue: `I got a warning and want to know what I need to do to improve.` +
warningReasonMatch ? ` Warning reason: ${warningReasonMatch[1]}` : ``,
customDescription: chrome.i18n.getMessage("warningChatInfo")
});
}

View file

@ -15,6 +15,7 @@ export interface PreviewBarSegment {
segment: [number, number];
category: string;
unsubmitted: boolean;
showLarger: boolean;
}
class PreviewBar {
@ -102,9 +103,10 @@ class PreviewBar {
let currentSegmentLength = Infinity;
for (const seg of this.segments) {
if (seg.segment[0] <= timeInSeconds && seg.segment[1] > timeInSeconds) {
const segmentLength = seg.segment[1] - seg.segment[0];
const segmentLength = seg.segment[1] - seg.segment[0];
const startTime = segmentLength !== 0 ? seg.segment[0] : Math.floor(seg.segment[0]);
const endTime = segmentLength !== 0 ? seg.segment[1] : Math.ceil(seg.segment[1]);
if (startTime <= timeInSeconds && endTime >= timeInSeconds) {
if (segmentLength < currentSegmentLength) {
currentSegmentLength = segmentLength;
segment = seg;
@ -181,10 +183,10 @@ class PreviewBar {
});
}
createBar({category, unsubmitted, segment}: PreviewBarSegment): HTMLLIElement {
createBar({category, unsubmitted, segment, showLarger}: PreviewBarSegment): HTMLLIElement {
const bar = document.createElement('li');
bar.classList.add('previewbar');
bar.innerHTML = '&nbsp;';
bar.innerHTML = showLarger ? '&nbsp;&nbsp;' : '&nbsp;';
const fullCategoryName = (unsubmitted ? 'preview-' : '') + category;
bar.setAttribute('sponsorblock-category', fullCategoryName);
@ -193,7 +195,7 @@ class PreviewBar {
if (!this.onMobileYouTube) bar.style.opacity = Config.config.barTypes[fullCategoryName]?.opacity;
bar.style.position = "absolute";
bar.style.width = this.timeToPercentage(segment[1] - segment[0]);
if (segment[1] - segment[0] > 0) bar.style.width = this.timeToPercentage(segment[1] - segment[0]);
bar.style.left = this.timeToPercentage(segment[0]);
return bar;

View file

@ -0,0 +1,100 @@
import Config from "../config";
import { SponsorTime } from "../types";
import { getSkippingText } from "../utils/categoryUtils";
export interface SkipButtonControlBarProps {
skip: (segment: SponsorTime) => void;
}
export class SkipButtonControlBar {
container: HTMLElement;
skipIcon: HTMLImageElement;
textContainer: HTMLElement;
chapterText: HTMLElement;
segment: SponsorTime;
showKeybindHint = true;
timeout: NodeJS.Timeout;
duration = 0;
skip: (segment: SponsorTime) => void;
constructor(props: SkipButtonControlBarProps) {
this.skip = props.skip;
this.container = document.createElement("div");
this.container.classList.add("skipButtonControlBarContainer");
this.container.classList.add("hidden");
this.skipIcon = document.createElement("img");
this.skipIcon.src = chrome.runtime.getURL("icons/skipIcon.svg");
this.skipIcon.classList.add("ytp-button");
this.skipIcon.id = "sbSkipIconControlBarImage";
this.textContainer = document.createElement("div");
this.container.appendChild(this.skipIcon);
this.container.appendChild(this.textContainer);
this.container.addEventListener("click", () => this.toggleSkip());
this.container.addEventListener("mouseenter", () => this.stopTimer());
this.container.addEventListener("mouseleave", () => this.startTimer());
}
getElement(): HTMLElement {
return this.container;
}
attachToPage(): void {
const leftControlsContainer = document.querySelector(".ytp-left-controls");
this.chapterText = document.querySelector(".ytp-chapter-container");
if (!leftControlsContainer.contains(this.container)) {
leftControlsContainer.insertBefore(this.container, this.chapterText);
}
}
enable(segment: SponsorTime, duration?: number): void {
if (duration) this.duration = duration;
this.segment = segment;
this.refreshText();
this.startTimer();
}
refreshText(): void {
if (this.segment) {
this.chapterText?.classList?.add("hidden");
this.container.classList.remove("hidden");
this.textContainer.innerText = getSkippingText([this.segment], false) + (this.showKeybindHint ? " (" + Config.config.skipKeybind + ")" : "");
}
}
setShowKeybindHint(show: boolean): void {
this.showKeybindHint = show;
this.refreshText();
}
stopTimer(): void {
if (this.timeout) clearTimeout(this.timeout);
}
startTimer(): void {
this.stopTimer();
this.timeout = setTimeout(() => this.disable(), Math.max(Config.config.skipNoticeDuration, this.duration) * 1000);
}
disable(): void {
this.container.classList.add("hidden");
this.chapterText?.classList?.remove("hidden");
}
toggleSkip(): void {
this.skip(this.segment);
this.disable();
}
}

View file

@ -12,7 +12,6 @@ interface DefaultMessage {
message:
"update"
| "sponsorStart"
| "isInfoFound"
| "getVideoID"
| "getChannelID"
| "isChannelWhitelisted"
@ -25,7 +24,12 @@ interface BoolValueMessage {
value: boolean;
}
export type Message = BaseMessage & (DefaultMessage | BoolValueMessage);
interface IsInfoFoundMessage {
message: "isInfoFound";
updating: boolean;
}
export type Message = BaseMessage & (DefaultMessage | BoolValueMessage | IsInfoFoundMessage);
interface IsInfoFoundMessageResponse {
found: boolean;

View file

@ -6,6 +6,7 @@ window.SB = Config;
import Utils from "./utils";
import CategoryChooser from "./render/CategoryChooser";
import { showDonationLink } from "./utils/configUtils";
const utils = new Utils();
window.addEventListener('DOMContentLoaded', init);
@ -28,6 +29,10 @@ async function init() {
await utils.wait(() => Config.config !== null);
if (!showDonationLink()) {
document.getElementById("sbDonate").style.visibility = "hidden";
}
// Set all of the toggle options to the correct option
const optionsContainer = document.getElementById("options");
const optionsElements = optionsContainer.querySelectorAll("*");
@ -40,9 +45,10 @@ async function init() {
continue;
}
const option = optionsElements[i].getAttribute("sync-option");
switch (optionsElements[i].getAttribute("option-type")) {
case "toggle": {
const option = optionsElements[i].getAttribute("sync-option");
const optionResult = Config.config[option];
const checkbox = optionsElements[i].querySelector("input");
@ -95,16 +101,15 @@ async function init() {
break;
}
case "text-change": {
const textChangeOption = optionsElements[i].getAttribute("sync-option");
const textChangeInput = <HTMLInputElement> optionsElements[i].querySelector(".option-text-box");
const textChangeSetButton = <HTMLElement> optionsElements[i].querySelector(".text-change-set");
textChangeInput.value = Config.config[textChangeOption];
textChangeInput.value = Config.config[option];
textChangeSetButton.addEventListener("click", async () => {
// See if anything extra must be done
switch (textChangeOption) {
switch (option) {
case "serverAddress": {
const result = validateServerAddress(textChangeInput.value);
@ -130,7 +135,7 @@ async function init() {
}
}
Config.config[textChangeOption] = textChangeInput.value;
Config.config[option] = textChangeInput.value;
});
// Reset to the default if needed
@ -138,9 +143,9 @@ async function init() {
textChangeResetButton.addEventListener("click", () => {
if (!confirm(chrome.i18n.getMessage("areYouSureReset"))) return;
Config.config[textChangeOption] = Config.defaults[textChangeOption];
Config.config[option] = Config.defaults[option];
textChangeInput.value = Config.config[textChangeOption];
textChangeInput.value = Config.config[option];
});
break;
@ -175,30 +180,42 @@ async function init() {
break;
}
case "display":{
case "display": {
updateDisplayElement(<HTMLElement> optionsElements[i])
break;
}
case "number-change": {
const numberChangeOption = optionsElements[i].getAttribute("sync-option");
const configValue = Config.config[numberChangeOption];
const configValue = Config.config[option];
const numberInput = optionsElements[i].querySelector("input");
if (isNaN(configValue) || configValue < 0) {
numberInput.value = Config.defaults[numberChangeOption];
numberInput.value = Config.defaults[option];
} else {
numberInput.value = configValue;
}
numberInput.addEventListener("input", () => {
Config.config[numberChangeOption] = numberInput.value;
Config.config[option] = numberInput.value;
});
break;
}
case "selector": {
const configValue = Config.config[option];
const selectorElement = optionsElements[i].querySelector(".selector-element") as HTMLSelectElement;
selectorElement.value = configValue;
selectorElement.addEventListener("change", () => {
let value: string | number = selectorElement.value;
if (!isNaN(Number(value))) value = Number(value);
Config.config[option] = value;
});
break;
}
case "react-CategoryChooserComponent":
new CategoryChooser(optionsElements[i]);
break;
break;
}
}
@ -492,6 +509,22 @@ function activatePrivateTextChange(element: HTMLElement) {
}
});
// See if anything extra must be done
switch (option) {
case "userID":
utils.asyncRequestToServer("GET", "/api/userInfo", {
userID: Config.config[option],
values: ["warnings", "banned"]
}).then((result) => {
const userInfo = JSON.parse(result.responseText);
if (userInfo.warnings > 0 || userInfo.banned) {
setButton.classList.add("hidden");
}
});
break;
}
element.querySelector(".option-hidden-section").classList.remove("hidden");
}

View file

@ -3,6 +3,7 @@ import Config from "./config";
import Utils from "./utils";
import { SponsorTime, SponsorHideType } from "./types";
import { Message, MessageResponse } from "./messageTypes";
import { showDonationLink } from "./utils/configUtils";
const utils = new Utils();
interface MessageListener {
@ -12,7 +13,7 @@ interface MessageListener {
class MessageHandler {
messageListener: MessageListener;
constructor (messageListener?: MessageListener) {
constructor(messageListener?: MessageListener) {
this.messageListener = messageListener;
}
@ -107,14 +108,14 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
"sbDonate"
].forEach(id => PageElements[id] = document.getElementById(id));
// Hide donate button on safari
if (navigator.vendor === "Apple Computer, Inc.") {
// Hide donate button if wanted (Safari, or user choice)
if (!showDonationLink()) {
PageElements.sbDonate.style.display = "none";
}
//setup click listeners
PageElements.sponsorStart.addEventListener("click", sendSponsorStartMessage);
PageElements.whitelistToggle.addEventListener("change", function() {
PageElements.whitelistToggle.addEventListener("change", function () {
if (this.checked) {
whitelistChannel();
} else {
@ -122,7 +123,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}
});
PageElements.whitelistForceCheck.addEventListener("click", openOptions);
PageElements.toggleSwitch.addEventListener("change", function() {
PageElements.toggleSwitch.addEventListener("change", function () {
toggleSkipping(!this.checked);
});
PageElements.submitTimes.addEventListener("click", submitTimes);
@ -174,7 +175,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
if (userID != undefined) {
//there are probably some views on these submissions then
//get the amount of views from the sponsors submitted
utils.sendRequestToServer("GET", "/api/getViewsForUser?userID=" + userID, function(response) {
utils.sendRequestToServer("GET", "/api/getViewsForUser?userID=" + userID, function (response) {
if (response.status == 200) {
const viewCount = JSON.parse(response.responseText).viewCount;
if (viewCount != 0) {
@ -191,7 +192,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
});
//get this time in minutes
utils.sendRequestToServer("GET", "/api/getSavedTimeForUser?userID=" + userID, function(response) {
utils.sendRequestToServer("GET", "/api/getSavedTimeForUser?userID=" + userID, function (response) {
if (response.status == 200) {
const minutesSaved = JSON.parse(response.responseText).timeSaved;
if (minutesSaved != 0) {
@ -234,19 +235,15 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
// Must be delayed so it only happens once loaded
setTimeout(() => PageElements.sponsorblockPopup.classList.remove("preload"), 250);
messageHandler.query({
active: true,
currentWindow: true
}, onTabs);
getSegmentsFromContentScript(false);
function onTabs(tabs) {
messageHandler.sendMessage(tabs[0].id, {message: 'getVideoID'}, function(result) {
console.log(result)
function onTabs(tabs, updating: boolean): void {
messageHandler.sendMessage(tabs[0].id, { message: 'getVideoID' }, function (result) {
if (result !== undefined && result.videoID) {
currentVideoID = result.videoID;
creatingSegment = result.creatingSegment;
loadTabData(tabs);
loadTabData(tabs, updating);
} else if (result === undefined && chrome.runtime.lastError) {
//this isn't a YouTube video then, or at least the content script is not loaded
displayNoVideo();
@ -254,31 +251,32 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
});
}
function loadTabData(tabs) {
function loadTabData(tabs, updating: boolean): void {
if (!currentVideoID) {
//this isn't a YouTube video then
displayNoVideo();
return;
}
//load video times for this video
const sponsorTimesStorage = Config.config.segmentTimes.get(currentVideoID);
if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) {
sponsorTimes = sponsorTimesStorage;
}
sponsorTimes = Config.config.segmentTimes.get(currentVideoID) ?? [];
updateSegmentEditingUI();
//check if this video's sponsors are known
messageHandler.sendMessage(
tabs[0].id,
{message: 'isInfoFound'},
{ message: 'isInfoFound', updating },
infoFound
);
}
function infoFound(request: {found: boolean, sponsorTimes: SponsorTime[]}) {
if(chrome.runtime.lastError) {
function getSegmentsFromContentScript(updating: boolean): void {
messageHandler.query({
active: true,
currentWindow: true
}, (tabs) => onTabs(tabs, updating));
}
function infoFound(request: { found: boolean, sponsorTimes: SponsorTime[] }) {
if (chrome.runtime.lastError) {
//This page doesn't have the injected content script, or at least not yet
displayNoVideo();
return;
@ -309,8 +307,8 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'isChannelWhitelisted'},
function(response) {
{ message: 'isChannelWhitelisted' },
function (response) {
if (response.value) {
PageElements.whitelistChannel.style.display = "none";
PageElements.unwhitelistChannel.style.display = "unset";
@ -318,7 +316,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
document.querySelectorAll('.SBWhitelistIcon')[0].classList.add("rotated");
}
});
}
}
);
}
@ -330,7 +328,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, (tabs) => {
messageHandler.sendMessage(
tabs[0].id,
{from: 'popup', message: 'sponsorStart'},
{ from: 'popup', message: 'sponsorStart' },
async (response) => {
startSponsorCallback(response);
@ -354,7 +352,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
});
}
function startSponsorCallback(response: {creatingSegment: boolean}) {
function startSponsorCallback(response: { creatingSegment: boolean }) {
creatingSegment = response.creatingSegment;
// Only update the segments after a segment was created
@ -367,16 +365,19 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}
//display the video times from the array at the top, in a different section
function displayDownloadedSponsorTimes(request: {found: boolean, sponsorTimes: SponsorTime[]}) {
function displayDownloadedSponsorTimes(request: { found: boolean, sponsorTimes: SponsorTime[] }) {
if (request.sponsorTimes != undefined) {
// Sort list by start time
const segmentTimes = request.sponsorTimes
.sort((a, b) => a.segment[1] - b.segment[1])
.sort((a, b) => a.segment[0] - b.segment[0]);
.sort((a, b) => a.segment[1] - b.segment[1])
.sort((a, b) => a.segment[0] - b.segment[0]);
//add them as buttons to the issue reporting container
const container = document.getElementById("issueReporterTimeButtons");
while (container.firstChild) {
container.removeChild(container.firstChild);
}
for (let i = 0; i < segmentTimes.length; i++) {
const UUID = segmentTimes[i].UUID;
@ -388,7 +389,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
categoryColorCircle.style.backgroundColor = Config.config.barTypes[segmentTimes[i].category]?.color;
categoryColorCircle.classList.add("dot");
categoryColorCircle.classList.add("sponsorTimesCategoryColorCircle");
let extraInfo = "";
if (segmentTimes[i].hidden === SponsorHideType.Downvoted) {
//this one is downvoted
@ -397,7 +398,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
//this one is too short
extraInfo = " (" + chrome.i18n.getMessage("hiddenDueToDuration") + ")";
}
const textNode = document.createTextNode(utils.shortCategoryName(segmentTimes[i].category) + extraInfo);
const segmentTimeFromToNode = document.createElement("div");
segmentTimeFromToNode.innerText = utils.getFormattedTime(segmentTimes[i].segment[0], true) + " " + chrome.i18n.getMessage("to") + " " + utils.getFormattedTime(segmentTimes[i].segment[1], true);
@ -446,7 +447,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
voteButtonsContainer.appendChild(uuidButton);
//add click listener to open up vote panel
sponsorTimeButton.addEventListener("click", function() {
sponsorTimeButton.addEventListener("click", function () {
voteButtonsContainer.classList.toggle("voteButtonsContainer--hide");
});
@ -478,15 +479,15 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'submitTimes'},
{ message: 'submitTimes' },
);
});
}
}
function showNoticeAgain() {
Config.config.dontShowNotice = false;
PageElements.showNoticeAgain.style.display = "none";
}
@ -499,11 +500,11 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
//make the options div visible
function openOptions() {
chrome.runtime.sendMessage({"message": "openConfig"});
chrome.runtime.sendMessage({ "message": "openConfig" });
}
function openHelp() {
chrome.runtime.sendMessage({"message": "openHelp"});
chrome.runtime.sendMessage({ "message": "openHelp" });
}
//make the options username setting option visible
@ -516,7 +517,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
PageElements.setUsernameContainer.style.display = "none";
PageElements.setUsername.style.display = "flex";
PageElements.setUsername.classList.add("SBExpanded");
PageElements.setUsernameStatusContainer.style.display = "none";
PageElements.sponsorTimesContributionsContainer.classList.add("hidden");
@ -555,18 +556,18 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
function displayNoVideo() {
document.getElementById("loadingIndicator").innerText = chrome.i18n.getMessage("noVideoID");
}
function addVoteMessage(message, UUID) {
const voteButtonsContainer = document.getElementById("sponsorTimesVoteButtonsContainer" + UUID);
voteButtonsContainer.style.display = "none";
const voteStatusContainer = document.getElementById("sponsorTimesVoteStatusContainer" + UUID);
voteStatusContainer.style.removeProperty("display");
const thanksForVotingText = document.getElementById("sponsorTimesThanksForVotingText" + UUID);
thanksForVotingText.innerText = message;
}
function vote(type, UUID) {
//add loading info
addVoteMessage(chrome.i18n.getMessage("Loading"), UUID);
@ -597,8 +598,8 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'getChannelID'},
function(response) {
{ message: 'getChannelID' },
function (response) {
if (!response.channelID) {
alert(chrome.i18n.getMessage("channelDataNotFound") + " https://github.com/ajayyy/SponsorBlock/issues/753");
return;
@ -630,10 +631,10 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id, {
message: 'whitelistChange',
value: true
});
}
message: 'whitelistChange',
value: true
});
}
);
}
);
@ -648,38 +649,38 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'getChannelID'},
function(response) {
{ message: 'getChannelID' },
function (response) {
//get whitelisted channels
let whitelistedChannels = Config.config.whitelistedChannels;
if (whitelistedChannels == undefined) {
whitelistedChannels = [];
}
let whitelistedChannels = Config.config.whitelistedChannels;
if (whitelistedChannels == undefined) {
whitelistedChannels = [];
}
//remove this channel
const index = whitelistedChannels.indexOf(response.channelID);
whitelistedChannels.splice(index, 1);
//remove this channel
const index = whitelistedChannels.indexOf(response.channelID);
whitelistedChannels.splice(index, 1);
//change button
PageElements.whitelistChannel.style.display = "unset";
PageElements.unwhitelistChannel.style.display = "none";
document.querySelectorAll('.SBWhitelistIcon')[0].classList.remove("rotated");
//change button
PageElements.whitelistChannel.style.display = "unset";
PageElements.unwhitelistChannel.style.display = "none";
document.querySelectorAll('.SBWhitelistIcon')[0].classList.remove("rotated");
//save this
Config.config.whitelistedChannels = whitelistedChannels;
//save this
Config.config.whitelistedChannels = whitelistedChannels;
//send a message to the client
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id, {
message: 'whitelistChange',
value: false
});
}
);
//send a message to the client
messageHandler.query({
active: true,
currentWindow: true
}, tabs => {
messageHandler.sendMessage(
tabs[0].id, {
message: 'whitelistChange',
value: false
});
}
);
}
);
});
@ -694,9 +695,13 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}, tabs => {
messageHandler.sendMessage(
tabs[0].id,
{message: 'refreshSegments'},
() => stopAnimation()
)}
{ message: 'refreshSegments' },
(response) => {
infoFound(response);
stopAnimation();
}
)
}
);
}
@ -704,7 +709,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
* Should skipping be disabled (visuals stay)
*/
function toggleSkipping(disabled) {
Config.config.disableSkipping = disabled;
Config.config.disableSkipping = disabled;
let hiddenButton = PageElements.disableSkipping;
let shownButton = PageElements.enableSkipping;
@ -725,13 +730,13 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
* @param {float} seconds
* @returns {string}
*/
function getFormattedHours(minutes) {
minutes = Math.round(minutes * 10) / 10
const hours = Math.floor(minutes / 60);
return (hours > 0 ? hours + "h " : "") + (minutes % 60).toFixed(1);
}
//end of function
function getFormattedHours(minutes) {
minutes = Math.round(minutes * 10) / 10
const hours = Math.floor(minutes / 60);
return (hours > 0 ? hours + "h " : "") + (minutes % 60).toFixed(1);
}
//end of function
}
if (chrome.tabs != undefined) {

View file

@ -5,7 +5,8 @@ import Utils from "../utils";
const utils = new Utils();
import SkipNoticeComponent, { SkipNoticeAction } from "../components/SkipNoticeComponent";
import { SponsorTime, ContentContainer } from "../types";
import { SponsorTime, ContentContainer, NoticeVisbilityMode } from "../types";
import Config from "../config";
class SkipNotice {
segments: SponsorTime[];
@ -17,7 +18,7 @@ class SkipNotice {
skipNoticeRef: React.MutableRefObject<SkipNoticeComponent>;
constructor(segments: SponsorTime[], autoSkip = false, contentContainer: ContentContainer) {
constructor(segments: SponsorTime[], autoSkip = false, contentContainer: ContentContainer, unskipTime: number = null) {
this.skipNoticeRef = React.createRef();
this.segments = segments;
@ -44,11 +45,20 @@ class SkipNotice {
autoSkip={autoSkip}
contentContainer={contentContainer}
ref={this.skipNoticeRef}
closeListener={() => this.close()} />,
closeListener={() => this.close()}
smaller={Config.config.noticeVisibilityMode >= NoticeVisbilityMode.MiniForAll
|| (Config.config.noticeVisibilityMode >= NoticeVisbilityMode.MiniForAutoSkip && autoSkip)}
unskipTime={unskipTime} />,
this.noticeElement
);
}
setShowKeybindHint(value: boolean): void {
this.skipNoticeRef.current.setState({
showKeybindHint: value
});
}
close(): void {
ReactDOM.unmountComponentAtNode(this.noticeElement);

73
src/render/Tooltip.tsx Normal file
View file

@ -0,0 +1,73 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
export interface TooltipProps {
text: string,
link?: string,
referenceNode: HTMLElement,
prependElement?: HTMLElement, // Element to append before
bottomOffset?: string
timeout?: number;
}
export class Tooltip {
text: string;
container: HTMLDivElement;
timer: NodeJS.Timeout;
constructor(props: TooltipProps) {
props.bottomOffset ??= "70px";
this.text = props.text;
this.container = document.createElement('div');
this.container.id = "sponsorTooltip" + props.text;
this.container.style.display = "relative";
if (props.prependElement) {
props.referenceNode.insertBefore(this.container, props.prependElement);
} else {
props.referenceNode.appendChild(this.container);
}
if (props.timeout) {
this.timer = setTimeout(() => this.close(), props.timeout * 1000);
}
ReactDOM.render(
<div style={{bottom: props.bottomOffset}}
className="sponsorBlockTooltip" >
<div>
<img className="sponsorSkipLogo sponsorSkipObject"
src={chrome.extension.getURL("icons/IconSponsorBlocker256px.png")}>
</img>
<span className="sponsorSkipObject">
{this.text + (props.link ? ". " : "")}
{props.link ?
<a style={{textDecoration: "underline"}}
target="_blank"
rel="noopener noreferrer"
href={props.link}>
{chrome.i18n.getMessage("LearnMore")}
</a>
: null}
</span>
</div>
<button className="sponsorSkipObject sponsorSkipNoticeButton"
style ={{float: "right" }}
onClick={() => this.close()}>
{chrome.i18n.getMessage("GotIt")}
</button>
</div>,
this.container
)
}
close(): void {
ReactDOM.unmountComponentAtNode(this.container);
this.container.remove();
if (this.timer) clearTimeout(this.timer);
}
}

View file

@ -4,9 +4,9 @@ import SkipNotice from "./render/SkipNotice";
export interface ContentContainer {
(): {
vote: (type: number, UUID: string, category?: string, skipNotice?: SkipNoticeComponent) => void,
vote: (type: number, UUID: SegmentUUID, category?: Category, skipNotice?: SkipNoticeComponent) => void,
dontShowNoticeAgain: () => void,
unskipSponsorTime: (segment: SponsorTime) => void,
unskipSponsorTime: (segment: SponsorTime, unskipTime: number) => void,
sponsorTimes: SponsorTime[],
sponsorTimesSubmitting: SponsorTime[],
skipNotices: SkipNotice[],
@ -41,7 +41,7 @@ export enum CategorySkipOption {
}
export interface CategorySelection {
name: string;
name: Category;
option: CategorySkipOption
}
@ -51,6 +51,14 @@ export enum SponsorHideType {
MinimumDuration
}
export enum CategoryActionType {
Skippable = "", // Strings are used to find proper language configs
POI = "_POI"
}
export type SegmentUUID = string & { __segmentUUIDBrand: unknown };
export type Category = string & { __categoryBrand: unknown };
export enum SponsorSourceType {
Server = undefined,
Local = 1
@ -58,9 +66,9 @@ export enum SponsorSourceType {
export interface SponsorTime {
segment: [number] | [number, number];
UUID: string;
UUID: SegmentUUID;
category: string;
category: Category;
hidden?: SponsorHideType;
source?: SponsorSourceType;
@ -151,7 +159,7 @@ export interface VideoInfo {
isUnlisted: boolean,
hasYpcMetadata: boolean,
viewCount: string,
category: string,
category: Category,
publishDate: string,
ownerChannelName: string,
uploadDate: string,
@ -177,4 +185,26 @@ export enum ChannelIDStatus {
export interface ChannelIDInfo {
id: string,
status: ChannelIDStatus
}
export interface SkipToTimeParams {
v: HTMLVideoElement,
skipTime: number[],
skippingSegments: SponsorTime[],
openNotice: boolean,
forceAutoSkip?: boolean,
unskipTime?: number
}
export interface ToggleSkippable {
toggleSkip: () => void;
setShowKeybindHint: (show: boolean) => void;
}
export enum NoticeVisbilityMode {
FullSize = 0,
MiniForAutoSkip = 1,
MiniForAll = 2,
FadedForAutoSkip = 3,
FadedForAll = 4
}

View file

@ -261,7 +261,6 @@ export default class Utils {
const objects = document.getElementsByClassName("sponsorBlockPageBody")[0].children;
for (let j = 0; j < objects.length; j++) {
const obj = objects[j];
const localizedMessage = this.getLocalizedMessage(obj.innerHTML.toString());
if (localizedMessage) obj.innerHTML = localizedMessage;
}
@ -356,7 +355,7 @@ export default class Utils {
}, (response) => {
resolve(response);
});
})
});
}
/**
@ -429,6 +428,8 @@ export default class Utils {
}
getFormattedTime(seconds: number, precise?: boolean): string {
seconds = Math.max(seconds, 0);
const hours = Math.floor(seconds / 60 / 60);
const minutes = Math.floor(seconds / 60) % 60;
let minutesDisplay = String(minutes);

View file

@ -0,0 +1,23 @@
import { Category, CategoryActionType, SponsorTime } from "../types";
export function getSkippingText(segments: SponsorTime[], autoSkip: boolean): string {
const categoryName = chrome.i18n.getMessage(segments.length > 1 ? "multipleSegments"
: "category_" + segments[0].category + "_short") || chrome.i18n.getMessage("category_" + segments[0].category);
if (autoSkip) {
const messageId = getCategoryActionType(segments[0].category) === CategoryActionType.Skippable
? "skipped" : "skipped_to_category";
return chrome.i18n.getMessage(messageId).replace("{0}", categoryName);
} else {
const messageId = getCategoryActionType(segments[0].category) === CategoryActionType.Skippable
? "skip_category" : "skip_to_category";
return chrome.i18n.getMessage(messageId).replace("{0}", categoryName);
}
}
export function getCategoryActionType(category: Category): CategoryActionType {
if (category.startsWith("poi_")) {
return CategoryActionType.POI;
} else {
return CategoryActionType.Skippable;
}
}

5
src/utils/configUtils.ts Normal file
View file

@ -0,0 +1,5 @@
import Config from "../config";
export function showDonationLink(): boolean {
return navigator.vendor !== "Apple Computer, Inc." && Config.config.showDonationLink;
}

View file

@ -10,6 +10,7 @@ module.exports = env => ({
background: path.join(__dirname, srcDir + 'background.ts'),
content: path.join(__dirname, srcDir + 'content.ts'),
options: path.join(__dirname, srcDir + 'options.ts'),
help: path.join(__dirname, srcDir + 'help.ts'),
permissions: path.join(__dirname, srcDir + 'permissions.ts')
},
output: {