From fd17a77f944a4eee901ad7f3ba29014f1435b719 Mon Sep 17 00:00:00 2001 From: Brandon Stites Date: Mon, 27 Mar 2023 15:07:35 +0000 Subject: [PATCH 1/2] Move addReaction tooltip to new section --- src/components/Reactions/AddReactionBubble.js | 2 +- src/components/Reactions/MiniQuickEmojiReactions.js | 2 +- src/languages/en.js | 2 ++ src/languages/es.js | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Reactions/AddReactionBubble.js b/src/components/Reactions/AddReactionBubble.js index 3b57771311ab..d91af3c0ff14 100644 --- a/src/components/Reactions/AddReactionBubble.js +++ b/src/components/Reactions/AddReactionBubble.js @@ -79,7 +79,7 @@ const AddReactionBubble = (props) => { }; return ( - + { ref={ref} onPress={openEmojiPicker} isDelayButtonStateComplete={false} - tooltipText={props.translate('reportActionContextMenu.addReactionTooltip')} + tooltipText={props.translate('emojiReactions.addReactionTooltip')} > {({hovered, pressed}) => ( Date: Mon, 27 Mar 2023 15:07:49 +0000 Subject: [PATCH 2/2] Translate reacted with --- src/components/Reactions/ReactionTooltipContent.js | 2 +- src/languages/en.js | 1 + src/languages/es.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Reactions/ReactionTooltipContent.js b/src/components/Reactions/ReactionTooltipContent.js index 5a190eee863b..062b24db9c7f 100644 --- a/src/components/Reactions/ReactionTooltipContent.js +++ b/src/components/Reactions/ReactionTooltipContent.js @@ -62,7 +62,7 @@ const ReactionTooltipContent = (props) => { styles.fontColorReactionLabel, ]} > - {`reacted with :${props.emojiName}:`} + {`${props.translate('emojiReactions.reactedWith')} :${props.emojiName}:`} ); diff --git a/src/languages/en.js b/src/languages/en.js index 781a80f70900..de94fc63e838 100755 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -234,6 +234,7 @@ export default { }, emojiReactions: { addReactionTooltip: 'Add reaction', + reactedWith: 'reacted with', }, reportActionsView: { beginningOfArchivedRoomPartOne: 'You missed the party in ', diff --git a/src/languages/es.js b/src/languages/es.js index a413d7998389..be0090cbcf79 100644 --- a/src/languages/es.js +++ b/src/languages/es.js @@ -233,6 +233,7 @@ export default { }, emojiReactions: { addReactionTooltip: 'Añadir una reacción', + reactedWith: 'reaccionó con', }, reportActionsView: { beginningOfArchivedRoomPartOne: 'Te perdiste la fiesta en ',