Rename followee to studio

This commit is contained in:
apple502j 2020-04-14 13:47:07 +09:00
parent 544b1e1d45
commit 8ca097fde2
4 changed files with 9 additions and 9 deletions

View file

@ -23,8 +23,8 @@ const FollowStudioMessage = props => (
</a> </a>
), ),
studioLink: ( studioLink: (
<a href={`/studios/${props.followeeId}`}> <a href={`/studios/${props.studioId}`}>
{props.followeeTitle} {props.studioTitle}
</a> </a>
) )
}} }}
@ -35,9 +35,9 @@ const FollowStudioMessage = props => (
FollowStudioMessage.propTypes = { FollowStudioMessage.propTypes = {
className: PropTypes.string, className: PropTypes.string,
followDateTime: PropTypes.string.isRequired, followDateTime: PropTypes.string.isRequired,
followeeId: PropTypes.string.isRequired, followerUsername: PropTypes.string.isRequired,
followeeTitle: PropTypes.string.isRequired, studioId: PropTypes.string.isRequired,
followerUsername: PropTypes.string.isRequired studioTitle: PropTypes.string.isRequired
}; };
module.exports = FollowStudioMessage; module.exports = FollowStudioMessage;

View file

@ -15,7 +15,7 @@ const FollowUserMessage = props => (
datetime={props.followDateTime} datetime={props.followDateTime}
> >
<FormattedMessage <FormattedMessage
id="messages.followText" id="messages.followProfileText"
values={{ values={{
profileLink: ( profileLink: (
<a href={`/users/${props.followerUsername}/`}> <a href={`/users/${props.followerUsername}/`}>

View file

@ -13,7 +13,7 @@
"messages.becomeCuratorText": "{username} became a curator of {studio}", "messages.becomeCuratorText": "{username} became a curator of {studio}",
"messages.becomeManagerText": "{username} was promoted to manager of {studio}", "messages.becomeManagerText": "{username} was promoted to manager of {studio}",
"messages.favoriteText": "{profileLink} favorited {projectLink}", "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.followStudioText": "{profileLink} is now following {studioLink}",
"messages.loveText": "{profileLink} loved {projectLink}", "messages.loveText": "{profileLink} loved {projectLink}",
"messages.remixText": "{profileLink} remixed {remixedProjectLink} as {projectLink}", "messages.remixText": "{profileLink} remixed {remixedProjectLink} as {projectLink}",

View file

@ -66,9 +66,9 @@ class ActivityList extends React.Component {
<FollowStudioMessage <FollowStudioMessage
followDateTime={message.datetime_created} followDateTime={message.datetime_created}
followeeId={message.gallery_id} followeeId={message.gallery_id}
followeeTitle={message.title}
followerUsername={message.actor_username}
key={key} key={key}
studioTitle={message.title}
stufioUsername={message.actor_username}
/> />
); );
case 'loveproject': case 'loveproject':