diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 73c56782..354e7739 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -567,5 +567,8 @@ }, "incorrectCategory": { "message": "Wrong Category" + }, + "nonMusicCategoryOnMusic": { + "message": "This video is categorized as music. Are you sure you would like to submit segments with non-music categories? Unless this video is not actually music, you should not be submitting this segment. Please read the guidelines if you are confused." } } diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index 05d987ac..de7d4df9 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -160,6 +160,18 @@ class SubmissionNoticeComponent extends React.Component ({ sponsorSubmissionNotice: submissionNotice, resetSponsorSubmissionNotice, changeStartSponsorButton, - previewTime + previewTime, + videoInfo }); //get messages from the background script and the popup diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 1652f9e7..6793e42d 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -50,11 +50,11 @@ let barTypes = { color: "#bfbf35", opacity: "0.7" }, - "offtopic": { + "music_offtopic": { color: "#ff9900", opacity: "0.7" }, - "preview-offtopic": { + "preview-music_offtopic": { color: "#a6634a", opacity: "0.7" } diff --git a/src/types.ts b/src/types.ts index 268795f3..2976024c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -16,7 +16,8 @@ interface ContentContainer { sponsorSubmissionNotice: SubmissionNotice, resetSponsorSubmissionNotice: () => void, changeStartSponsorButton: (showStartSponsor: any, uploadButtonVisible: any) => Promise, - previewTime: (time: number) => void + previewTime: (time: number) => void, + videoInfo: any } }