From 5204360fbaed3182b71927d152ffa3644866ef5c Mon Sep 17 00:00:00 2001 From: dougfabris Date: Wed, 1 Mar 2023 13:49:07 -0300 Subject: [PATCH] chore: update translation keys --- .../client/messageBox/messageBoxFormatting.ts | 10 +++++----- .../CannedResponse/MarkdownTextEditor/index.tsx | 8 ++++---- .../packages/rocketchat-i18n/i18n/en.i18n.json | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts b/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts index b92d23e76c5b..8599f5f2835d 100644 --- a/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts +++ b/apps/meteor/app/ui-message/client/messageBox/messageBoxFormatting.ts @@ -23,29 +23,29 @@ export type FormattingButton = export const formattingButtons: ReadonlyArray = [ { - label: 'bold', + label: 'Bold', icon: 'bold', pattern: '*{{text}}*', command: 'b', }, { - label: 'italic', + label: 'Italic', icon: 'italic', pattern: '_{{text}}_', command: 'i', }, { - label: 'strike', + label: 'Strike', icon: 'strike', pattern: '~{{text}}~', }, { - label: 'inline_code', + label: 'Inline_code', icon: 'code', pattern: '`{{text}}`', }, { - label: 'multi_line', + label: 'Multi_line', icon: 'multiline', pattern: '```\n{{text}}\n``` ', }, diff --git a/apps/meteor/ee/client/omnichannel/components/CannedResponse/MarkdownTextEditor/index.tsx b/apps/meteor/ee/client/omnichannel/components/CannedResponse/MarkdownTextEditor/index.tsx index 4105a9868763..5f32b08628ca 100644 --- a/apps/meteor/ee/client/omnichannel/components/CannedResponse/MarkdownTextEditor/index.tsx +++ b/apps/meteor/ee/client/omnichannel/components/CannedResponse/MarkdownTextEditor/index.tsx @@ -91,10 +91,10 @@ const MarkdownTextEditor: FC<{ onChange: any; value: string }> = ({ onChange, va - - - - + + + + diff --git a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json index 6f89b875785e..627c23651c8e 100644 --- a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json +++ b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json @@ -753,7 +753,7 @@ "Blockstack_ButtonLabelText": "Button label text", "Blockstack_Generate_Username": "Generate username", "Body": "Body", - "bold": "bold", + "Bold": "Bold", "bot_request": "Bot request", "BotHelpers_userFields": "User Fields", "BotHelpers_userFields_Description": "CSV of user fields that can be accessed by bots helper methods.", @@ -2512,7 +2512,7 @@ "Industry": "Industry", "Info": "Info", "initials_avatar": "Initials Avatar", - "inline_code": "inline code", + "Inline_code": "Inline code", "Install": "Install", "Install_anyway": "Install anyway", "Install_Extension": "Install Extension", @@ -2648,7 +2648,7 @@ "It_Will_Hide_All_Other_White_Blocks_In_The_Homepage": "It will hide all other white blocks in the homepage (Enterprise only)", "It_works": "It works", "It_Security": "It Security", - "italic": "Italic", + "Italic": "Italic", "italics": "italics", "Items_per_page:": "Items per page:", "Jitsi_included_with_Community": "Jitsi, included with Community", @@ -2937,8 +2937,8 @@ "leave-p_description": "Permission to leave private groups", "Lets_get_you_new_one": "Let's get you a new one!", "License": "License", - "line": "line", - "link": "link", + "Line": "Line", + "Link": "Link", "Link_Preview": "Link Preview", "List_of_Channels": "List of Channels", "List_of_departments_for_forward": "List of departments allowed for forwarding (Optional)", @@ -3434,7 +3434,7 @@ "Move_queue": "Move to the queue", "Msgs": "Msgs", "multi": "multi", - "multi_line": "multi line", + "Multi_line": "Multi line", "Multiple_monolith_instances_alert": "You are operating multiple instances without an active enterprise license - some features may not behave as designed", "Mute": "Mute", "Mute_and_dismiss": "Mute and dismiss", @@ -4637,7 +4637,7 @@ "Stream_Cast": "Stream Cast", "Stream_Cast_Address": "Stream Cast Address", "Stream_Cast_Address_Description": "IP or Host of your Rocket.Chat central Stream Cast. E.g. `192.168.1.1:3000` or `localhost:4000`", - "strike": "strike", + "Strike": "Strike", "Style": "Style", "Subject": "Subject", "Submit": "Submit",