mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 13:07:05 +03:00
Added new text values to translation file.
This commit is contained in:
@@ -42,6 +42,12 @@
|
|||||||
"Segments": {
|
"Segments": {
|
||||||
"message": "sponsor segments"
|
"message": "sponsor segments"
|
||||||
},
|
},
|
||||||
|
"noticeTitle": {
|
||||||
|
"message": "Sponsor Skipped"
|
||||||
|
},
|
||||||
|
"noticeClosingMessage": {
|
||||||
|
"message": "closes in 7s"
|
||||||
|
},
|
||||||
"Dismiss": {
|
"Dismiss": {
|
||||||
"message": "Dismiss"
|
"message": "Dismiss"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ function openSkipNotice(UUID){
|
|||||||
noticeMessage.id = "sponsorSkipMessage" + UUID;
|
noticeMessage.id = "sponsorSkipMessage" + UUID;
|
||||||
noticeMessage.classList.add("sponsorSkipMessage");
|
noticeMessage.classList.add("sponsorSkipMessage");
|
||||||
noticeMessage.classList.add("sponsorSkipObject");
|
noticeMessage.classList.add("sponsorSkipObject");
|
||||||
noticeMessage.innerText = "Sponsor Skipped";
|
noticeMessage.innerText = chrome.i18n.getMessage("noticeTitle");
|
||||||
|
|
||||||
//create the first column
|
//create the first column
|
||||||
logoColumn.appendChild(logoElement);
|
logoColumn.appendChild(logoElement);
|
||||||
@@ -900,7 +900,7 @@ function openSkipNotice(UUID){
|
|||||||
closeButtonContainer.style.top = "11px";
|
closeButtonContainer.style.top = "11px";
|
||||||
|
|
||||||
let timeLeft = document.createElement("span");
|
let timeLeft = document.createElement("span");
|
||||||
timeLeft.innerText = "closes in 7s";
|
timeLeft.innerText = chrome.i18n.getMessage("noticeClosingMessage");
|
||||||
timeLeft.className = "sponsorSkipObject sponsorSkipNoticeTimeLeft";
|
timeLeft.className = "sponsorSkipObject sponsorSkipNoticeTimeLeft";
|
||||||
|
|
||||||
let hideButton = document.createElement("img");
|
let hideButton = document.createElement("img");
|
||||||
|
|||||||
Reference in New Issue
Block a user