mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-30 19:38:34 +03:00
Added small guideline reminder to submission confirmation dialog.
This commit is contained in:
@@ -76,7 +76,7 @@
|
|||||||
"message": "Paused"
|
"message": "Paused"
|
||||||
},
|
},
|
||||||
"confirmMSG": {
|
"confirmMSG": {
|
||||||
"message": "\n\nTo edit or delete individual values, click the info button or open the extension popup by clicking the extension icon in the top right corner."
|
"message": "To edit or delete individual values, click the info button or open the extension popup by clicking the extension icon in the top right corner."
|
||||||
},
|
},
|
||||||
"clearThis": {
|
"clearThis": {
|
||||||
"message": "Are you sure you want to clear this?\n\n"
|
"message": "Are you sure you want to clear this?\n\n"
|
||||||
@@ -314,5 +314,8 @@
|
|||||||
},
|
},
|
||||||
"youHaveSavedTimeEnd": {
|
"youHaveSavedTimeEnd": {
|
||||||
"message": " of their lives."
|
"message": " of their lives."
|
||||||
|
},
|
||||||
|
"guildlinesSummary": {
|
||||||
|
"message": "- Make sure your segment only contains paid promotion segment, nothing else.\n- Make sure skipping this segment will not skip valuable content\n- If the whole video is a sponsor, please do not report it. A full video reporting system will come out soon.\n- Please do not report disclaimers that could show bias (if a review video is sponsored, don't skip when they mention that)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1047,8 +1047,8 @@ function submitSponsorTimes() {
|
|||||||
//update sponsorTimes
|
//update sponsorTimes
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
|
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
|
||||||
|
|
||||||
let confirmMessage = chrome.i18n.getMessage("submitCheck") + "\n\n" + getSponsorTimesMessage(sponsorTimes);
|
let confirmMessage = chrome.i18n.getMessage("submitCheck") + "\n\n" + getSponsorTimesMessage(sponsorTimes)
|
||||||
confirmMessage += "\n\n" + chrome.i18n.getMessage("confirmMSG");
|
+ "\n\n" + chrome.i18n.getMessage("confirmMSG") + "\n\n" + chrome.i18n.getMessage("guildlinesSummary");
|
||||||
if(!confirm(confirmMessage)) return;
|
if(!confirm(confirmMessage)) return;
|
||||||
|
|
||||||
sendSubmitMessage();
|
sendSubmitMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user