From 1d342b21fd2730ab801aba64f7f235f4e40adbba Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 8 Dec 2019 12:08:36 -0500 Subject: [PATCH] Added small guideline reminder to submission confirmation dialog. --- _locales/en/messages.json | 5 ++++- content.js | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f34542a7..6d2b40dc 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -76,7 +76,7 @@ "message": "Paused" }, "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": { "message": "Are you sure you want to clear this?\n\n" @@ -314,5 +314,8 @@ }, "youHaveSavedTimeEnd": { "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)." } } diff --git a/content.js b/content.js index 228172de..80ee0fea 100644 --- a/content.js +++ b/content.js @@ -1047,8 +1047,8 @@ function submitSponsorTimes() { //update sponsorTimes chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes}); - let confirmMessage = chrome.i18n.getMessage("submitCheck") + "\n\n" + getSponsorTimesMessage(sponsorTimes); - confirmMessage += "\n\n" + chrome.i18n.getMessage("confirmMSG"); + let confirmMessage = chrome.i18n.getMessage("submitCheck") + "\n\n" + getSponsorTimesMessage(sponsorTimes) + + "\n\n" + chrome.i18n.getMessage("confirmMSG") + "\n\n" + chrome.i18n.getMessage("guildlinesSummary"); if(!confirm(confirmMessage)) return; sendSubmitMessage();