mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 13:04:06 +02:00
Clarify lock reason
This commit is contained in:
parent
28982dc84b
commit
4f981c1229
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ async function checkEachSegmentValid(userID: string, videoID: VideoID
|
|||
errorCode: 403,
|
||||
errorMessage:
|
||||
`New submissions are not allowed for the following category: ` +
|
||||
`'${segments[i].category}'. A moderator has decided that no new segments are needed and that all current segments of this category are timed perfectly.\n` +
|
||||
`'${segments[i].category}'. A moderator has decided that no new segments are needed on this video and that all current segments of this category are timed perfectly.\n` +
|
||||
`${lockedCategoryList[lockIndex].reason?.length !== 0 ? `\nLock reason: '${lockedCategoryList[lockIndex].reason}'` : ""}\n` +
|
||||
`${(segments[i].category === "sponsor" ? "\nMaybe the segment you are submitting is a different category that you have not enabled and is not a sponsor. " +
|
||||
"Categories that aren't sponsor, such as self-promotion can be enabled in the options.\n" : "")}` +
|
||||
|
|
Loading…
Reference in a new issue