Added small guideline reminder to submission confirmation dialog.

This commit is contained in:
Ajay Ramachandran
2019-12-08 12:08:36 -05:00
parent 9c51df9159
commit 1d342b21fd
2 changed files with 6 additions and 3 deletions

View File

@@ -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)."
} }
} }

View File

@@ -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();