Merge pull request from scratchfoundation/hotfix/remix-message-title

fix: exclude new project title from remix notifications
This commit is contained in:
Christopher Willis-Ford 2025-05-08 14:31:35 -07:00 committed by GitHub
commit 4de0bc160f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions
src/views/messages

View file

@ -21,7 +21,8 @@
"messages.profileOther": "{username}'s profile",
"messages.profileSelf": "your profile",
"messages.projectComment": "{profileLink} commented on your project {commentLink}",
"messages.remixText": "{profileLink} remixed your project {remixedProjectLink} as {projectLink}",
"messages.remixText": "{profileLink} remixed your project {remixedProjectLink}. Check out {theRemixLink}!",
"messages.theRemixLinkText": "the remix",
"messages.scratcherInvite": "You are invited to become a Scratcher! {learnMore}!",
"messages.scratchTeamTitle": "Messages from the Scratch Team",
"messages.studioActivityText": "There was new activity in {studioLink} today",

View file

@ -26,9 +26,9 @@ const RemixProjectMessage = props => (
{props.actorUsername}
</a>
),
projectLink: (
theRemixLink: (
<a href={`/projects/${props.projectId}`}>
{props.projectTitle}
<FormattedMessage id="messages.theRemixLinkText" />
</a>
),
remixedProjectLink: (
@ -47,7 +47,6 @@ RemixProjectMessage.propTypes = {
parentId: PropTypes.number.isRequired,
parentTitle: PropTypes.string.isRequired,
projectId: PropTypes.number.isRequired,
projectTitle: PropTypes.string.isRequired,
remixDate: PropTypes.string.isRequired
};