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>
),
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;

View file

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

View file

@ -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}",

View file

@ -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':