mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-28 01:56:00 -05:00
Update generic message copy
Updated copy requres two paragraphs in the content. Modified the inputs to pass a content array and output one paragraph per item.
This commit is contained in:
parent
015f036e93
commit
501147060d
3 changed files with 10 additions and 6 deletions
|
@ -53,9 +53,12 @@ class MuteModal extends React.Component {
|
|||
bottomImgClass="bottom-img"
|
||||
header={this.props.intl.formatMessage({id: this.props.muteModalMessages.muteStepHeader})}
|
||||
>
|
||||
<p>
|
||||
<FormattedMessage id={this.props.muteModalMessages.muteStepContent} />
|
||||
{this.props.muteModalMessages.muteStepContent.map(message => (
|
||||
<p key={message}>
|
||||
<FormattedMessage id={message} />
|
||||
</p>
|
||||
))}
|
||||
|
||||
</MuteStep>
|
||||
<MuteStep
|
||||
header={this.props.intl.formatMessage(
|
||||
|
|
|
@ -164,7 +164,7 @@ class ComposeComment extends React.Component {
|
|||
return {
|
||||
commentType: 'comment.type.disrespectful',
|
||||
muteStepHeader: 'comment.disrespectful.header',
|
||||
muteStepContent: 'comment.disrespectful.content'
|
||||
muteStepContent: ['comment.disrespectful.content1', 'comment.disrespectful.content2']
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
"project.usernameBlockAlert": "This project can detect who is using it, through the \"username\" block. To hide your identity, sign out before using the project.",
|
||||
"project.inappropriateUpdate": "Hmm...the bad word detector thinks there is a problem with your text. Please change it and remember to be respectful.",
|
||||
"comment.type.disrespectful": "Scratch thinks your most recent comment was disrespectful.",
|
||||
"comment.disrespectful.header": "Make sure to be respectful to others when commenting on Scratch.",
|
||||
"comment.disrespectful.content": "The Scratch comment filter thinks that your comment was disrespectful. Remember that there is a person behind this Scratch account, and sometimes, a mean comment can really hurt someone's feelings."
|
||||
"comment.disrespectful.header": "Make sure to be friendly and respectful when using Scratch.",
|
||||
"comment.disrespectful.content1": "The Scratch comment filter thinks your comment was disrespectful.",
|
||||
"comment.disrespectful.content2": "Remember: There is a person behind every Scratch account and unfriendly comments can really hurt someone's feelings."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue