diff --git a/apps/meteor/client/views/room/MessageList/components/MessageReaction.tsx b/apps/meteor/client/views/room/MessageList/components/MessageReaction.tsx index 9bf79dfd973a..64b918b360fd 100644 --- a/apps/meteor/client/views/room/MessageList/components/MessageReaction.tsx +++ b/apps/meteor/client/views/room/MessageList/components/MessageReaction.tsx @@ -2,12 +2,13 @@ import { MessageReaction as MessageReactionTemplate, MessageReactionEmoji, Messa import { useTooltipClose, useTooltipOpen, useTranslation, TranslationKey } from '@rocket.chat/ui-contexts'; import React, { FC, useRef } from 'react'; +import MarkdownText from '../../../../components/MarkdownText'; import { getEmojiClassNameAndDataTitle } from '../../../../lib/utils/renderEmoji'; const getTranslationKey = (users: string[], mine: boolean): TranslationKey => { if (users.length === 0) { if (mine) { - return 'You_have_reacted'; + return 'You_reacted_with'; } } @@ -53,13 +54,14 @@ export const MessageReaction: FC<{ e.preventDefault(); ref.current && openTooltip( - <> - {t(key, { + , + variant='inline' + />, ref.current, ); }} diff --git a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json index 4d23f32aa30d..21716ed228d7 100644 --- a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json +++ b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json @@ -5063,11 +5063,11 @@ "yesterday": "yesterday", "Yesterday": "Yesterday", "You": "You", - "You_have_reacted": "You have reacted", - "Users_reacted_with": "__users__ have reacted with __emoji__", - "Users_and_more_reacted_with": "__users__ and __count__ more have reacted with __emoji__", - "You_and_users_Reacted_with": "You and __users__ have reacted with __emoji__", - "You_users_and_more_Reacted_with": "You, __users__ and __count__ more have reacted with __emoji__", + "You_reacted_with": "*You* reacted with __emoji__", + "Users_reacted_with": "*__users__* reacted with __emoji__", + "Users_and_more_reacted_with": "*__users__ and __counter__ more* reacted with __emoji__", + "You_and_users_Reacted_with": "*You and __users__* reacted with __emoji__", + "You_users_and_more_Reacted_with": "*You, __users__ and __counter__ more* reacted with __emoji__", "You_are_converting_team_to_channel": "You are converting this Team to a Channel.", "you_are_in_preview_mode_of": "You are in preview mode of channel #__room_name__", "you_are_in_preview_mode_of_incoming_livechat": "You are in preview mode of this chat",