From 55cb59e91f42f5c7c64f8c7552d018e81b695dde Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Fri, 29 Nov 2024 03:11:26 +0530 Subject: [PATCH 1/2] chore: refine formatting toolbar tooltips for clarity Signed-off-by: Abhinav Kumar --- .changeset/shiny-icons-sell.md | 6 ++++++ .../ui-message/client/messageBox/messageBoxFormatting.ts | 4 ++-- .../CannedResponsesComposer/CannedResponsesComposer.tsx | 2 +- .../FormattingToolbarDropdown.tsx | 4 ++-- packages/i18n/src/locales/de.i18n.json | 3 --- packages/i18n/src/locales/en.i18n.json | 6 +++--- packages/i18n/src/locales/fi.i18n.json | 3 --- packages/i18n/src/locales/hi-IN.i18n.json | 3 --- packages/i18n/src/locales/nn.i18n.json | 1 - packages/i18n/src/locales/no.i18n.json | 1 - packages/i18n/src/locales/se.i18n.json | 3 --- packages/i18n/src/locales/sv.i18n.json | 3 --- 12 files changed, 14 insertions(+), 25 deletions(-) create mode 100644 .changeset/shiny-icons-sell.md diff --git a/.changeset/shiny-icons-sell.md b/.changeset/shiny-icons-sell.md new file mode 100644 index 000000000000..06943d467759 --- /dev/null +++ b/.changeset/shiny-icons-sell.md @@ -0,0 +1,6 @@ +--- +'@rocket.chat/i18n': patch +'@rocket.chat/meteor': patch +--- + +Improves clarity of formatting toolbar tooltips. diff --git a/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts b/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts index 3c35d0fee301..49391d94c4b6 100644 --- a/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts +++ b/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts @@ -44,7 +44,7 @@ export const formattingButtons: ReadonlyArray = [ command: 'i', }, { - label: 'Strike', + label: 'Strikethrough', icon: 'strike', pattern: '~{{text}}~', }, @@ -54,7 +54,7 @@ export const formattingButtons: ReadonlyArray = [ pattern: '`{{text}}`', }, { - label: 'Multi_line', + label: 'Multi_line_code', icon: 'multiline', pattern: '```\n{{text}}\n``` ', }, diff --git a/apps/meteor/client/omnichannel/cannedResponses/components/CannedResponsesComposer/CannedResponsesComposer.tsx b/apps/meteor/client/omnichannel/cannedResponses/components/CannedResponsesComposer/CannedResponsesComposer.tsx index 43d2b14d0628..f786328c0766 100644 --- a/apps/meteor/client/omnichannel/cannedResponses/components/CannedResponsesComposer/CannedResponsesComposer.tsx +++ b/apps/meteor/client/omnichannel/cannedResponses/components/CannedResponsesComposer/CannedResponsesComposer.tsx @@ -98,7 +98,7 @@ const CannedResponsesComposer = ({ onChange, ...props }: ComponentProps - +