Split up story reactions message for you/someone else

This commit is contained in:
Jamie Kyle 2024-08-23 15:24:05 -07:00 committed by GitHub
parent fefa5d9a25
commit 0dc2ab394f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -6803,7 +6803,15 @@
},
"icu:StoryViewsNRepliesModal__reacted": {
"messageformat": "Reacted to the story",
"description": "Description of someone reacting to a story"
"description": "(Deleted 2024/08/23) Description of someone reacting to a story"
},
"icu:StoryViewsNRepliesModal__reacted--you": {
"messageformat": "Reacted to the story",
"description": "Description of you reacting to a story"
},
"icu:StoryViewsNRepliesModal__reacted--someone-else": {
"messageformat": "Reacted to the story",
"description": "Description of someone else reacting to a story"
},
"icu:StoryViewsNRepliesModal__not-a-member": {
"messageformat": "You cant reply to this story because youre no longer a member of this group.",

View file

@ -571,7 +571,9 @@ function ReplyOrReactionMessage({
}
/>
</div>
{i18n('icu:StoryViewsNRepliesModal__reacted')}
{reply.author.isMe
? i18n('icu:StoryViewsNRepliesModal__reacted--you')
: i18n('icu:StoryViewsNRepliesModal__reacted--someone-else')}
<MessageTimestamp
i18n={i18n}
isRelativeTime