mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 00:58:14 -05:00
Rename followee to studio
This commit is contained in:
parent
544b1e1d45
commit
8ca097fde2
4 changed files with 9 additions and 9 deletions
|
@ -23,8 +23,8 @@ const FollowStudioMessage = props => (
|
|||
</a>
|
||||
),
|
||||
studioLink: (
|
||||
<a href={`/studios/${props.followeeId}`}>
|
||||
{props.followeeTitle}
|
||||
<a href={`/studios/${props.studioId}`}>
|
||||
{props.studioTitle}
|
||||
</a>
|
||||
)
|
||||
}}
|
||||
|
@ -35,9 +35,9 @@ const FollowStudioMessage = props => (
|
|||
FollowStudioMessage.propTypes = {
|
||||
className: PropTypes.string,
|
||||
followDateTime: PropTypes.string.isRequired,
|
||||
followeeId: PropTypes.string.isRequired,
|
||||
followeeTitle: PropTypes.string.isRequired,
|
||||
followerUsername: PropTypes.string.isRequired
|
||||
followerUsername: PropTypes.string.isRequired,
|
||||
studioId: PropTypes.string.isRequired,
|
||||
studioTitle: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
module.exports = FollowStudioMessage;
|
||||
|
|
|
@ -15,7 +15,7 @@ const FollowUserMessage = props => (
|
|||
datetime={props.followDateTime}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="messages.followText"
|
||||
id="messages.followProfileText"
|
||||
values={{
|
||||
profileLink: (
|
||||
<a href={`/users/${props.followerUsername}/`}>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"messages.becomeCuratorText": "{username} became a curator of {studio}",
|
||||
"messages.becomeManagerText": "{username} was promoted to manager of {studio}",
|
||||
"messages.favoriteText": "{profileLink} favorited {projectLink}",
|
||||
"messages.followText": "{profileLink} is now following {followeeLink}",
|
||||
"messages.followProfileText": "{profileLink} is now following {followeeLink}",
|
||||
"messages.followStudioText": "{profileLink} is now following {studioLink}",
|
||||
"messages.loveText": "{profileLink} loved {projectLink}",
|
||||
"messages.remixText": "{profileLink} remixed {remixedProjectLink} as {projectLink}",
|
||||
|
|
|
@ -66,9 +66,9 @@ class ActivityList extends React.Component {
|
|||
<FollowStudioMessage
|
||||
followDateTime={message.datetime_created}
|
||||
followeeId={message.gallery_id}
|
||||
followeeTitle={message.title}
|
||||
followerUsername={message.actor_username}
|
||||
key={key}
|
||||
studioTitle={message.title}
|
||||
stufioUsername={message.actor_username}
|
||||
/>
|
||||
);
|
||||
case 'loveproject':
|
||||
|
|
Loading…
Reference in a new issue