Merge pull request #5088 from seotts/chainmail-message

Add spam mute message
This commit is contained in:
Sarah Otts 2021-03-04 16:47:14 -05:00 committed by GitHub
commit 6d96c7f265
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -224,6 +224,12 @@ class ComposeComment extends React.Component {
muteStepHeader: 'comment.vulgarity.header',
muteStepContent: ['comment.vulgarity.content1', 'comment.vulgarity.content2']
},
spam: {
name: 'spam',
commentType: 'comment.type.spam',
muteStepHeader: 'comment.spam.header',
muteStepContent: ['comment.spam.content1', 'comment.spam.content2']
},
general: {
name: 'general',
commentType: 'comment.type.general',

View file

@ -61,5 +61,9 @@
"comment.type.vulgarity": "Your most recent comment appeared to include a bad word.",
"comment.vulgarity.header": "We encourage you to use language thats appropriate for all ages.",
"comment.vulgarity.content1": "It appears that your comment contains a bad word.",
"comment.vulgarity.content2": "Scratch has users of all ages, so its important to use language that is appropriate for all Scratchers."
"comment.vulgarity.content2": "Scratch has users of all ages, so its important to use language that is appropriate for all Scratchers.",
"comment.type.spam": "Your most recent comment appeared to contain advertising, text art, or a chain message.",
"comment.spam.header": "We encourage you not to advertise, copy and paste text art, or ask others to copy comments.",
"comment.spam.content1": "Even though advertisements, text art, and chain mail can be fun, they start to fill up the website, and we want to make sure there is room for other comments.",
"comment.spam.content2": "Thank you for helping us keep Scratch a friendly, creative community!"
}