Fix second person translations for group story reactions.

This commit is contained in:
Cody Henthorne 2024-06-04 15:32:57 -04:00
parent c5c9b09f7b
commit 4ad466390f
2 changed files with 5 additions and 3 deletions

View file

@ -256,7 +256,6 @@ object StoryGroupReplyItem {
reaction.visible = true
bubble.visibility = View.INVISIBLE
itemView.padding(bottom = 0)
body.setText(R.string.StoryGroupReactionReplyItem__reacted_to_the_story)
body.updateLayoutParams<ViewGroup.MarginLayoutParams> {
marginEnd = 0
}
@ -269,6 +268,7 @@ object StoryGroupReplyItem {
override fun bind(model: ReactionModel) {
super.bind(model)
reaction.setImageEmoji(model.reaction.emoji)
body.setText(if (model.replyBody.sender.isSelf) R.string.StoryGroupReactionReplyItem__you_reacted_to_the_story else R.string.StoryGroupReactionReplyItem__someone_reacted_to_the_story)
}
}

View file

@ -5720,8 +5720,10 @@
<string name="StoryGroupReplyFragment__no_replies_yet">No replies yet</string>
<!-- Displayed when no longer a group member -->
<string name="StoryGroupReplyFragment__you_cant_reply">You can\'t reply to this story because you\'re no longer a member of this group.</string>
<!-- Displayed for each user that reacted to a story when viewing replies -->
<string name="StoryGroupReactionReplyItem__reacted_to_the_story">Reacted to the story</string>
<!-- Displayed for when you reacted to a story when viewing replies -->
<string name="StoryGroupReactionReplyItem__you_reacted_to_the_story">Reacted to the story</string>
<!-- Displayed for other users that reacted to a story when viewing replies -->
<string name="StoryGroupReactionReplyItem__someone_reacted_to_the_story">Reacted to the story</string>
<!-- Label for story views tab -->
<string name="StoryViewsAndRepliesDialogFragment__views">Views</string>
<!-- Label for story replies tab -->