Merge pull request #5669 from apple502j/add-cg-link

Link community guidelines in project.defaultCensoredMessage
This commit is contained in:
Sarah Otts 2021-10-21 13:50:37 -04:00 committed by GitHub
commit d01d66101e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -32,7 +32,10 @@ const CensoredMessage = ({censoredByCommunity, messageHTML, reshareable}) => (
) : (
// if message is blank or missing, use default
<React.Fragment>
<FormattedMessage id="project.defaultCensoredMessage" />
<FormattedMessage
id="project.defaultCensoredMessage"
values={{communityGuidelinesLink: communityGuidelinesLink}}
/>
<br />
<br />
{reshareable ? (

View file

@ -30,7 +30,7 @@
"project.notesAndCreditsLabel": "Notes and Credits",
"project.credit": "Thanks to {userLink} for the original project {projectLink}.",
"project.deletedBanner": "Note: This project is in the trash folder",
"project.defaultCensoredMessage": "This project was removed by the Scratch Team because it was disrespectful, inappropriate for all ages, or otherwise breaks the Scratch community guidelines.",
"project.defaultCensoredMessage": "This project was removed by the Scratch Team because it was disrespectful, inappropriate for all ages, or otherwise breaks the Scratch {communityGuidelinesLink}.",
"project.communityCensoredMessage": "Your project has been temporarily un-shared because multiple people reported it as inappropriate.",
"project.willReviewCensoredMessage": "The Scratch Team will review the project based on the {communityGuidelinesLink}, and either restore the project or confirm the censorship.",
"project.tempCensoredMessage": "Please read the {communityGuidelinesLink} and be sure to edit the project to make sure it's respectful before resharing it.",