From 2780b87d00a21cce68315c810307726b7458cd40 Mon Sep 17 00:00:00 2001 From: goooov <64647858+gvarma28@users.noreply.github.com> Date: Fri, 11 Oct 2024 19:25:09 +0530 Subject: [PATCH] [MM-60817] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/convert_channel_modal/convert_channel_modal.tsx' with FormattedMessage (#28642) --- .../convert_channel_modal.tsx | 16 ++++++++-------- webapp/channels/src/i18n/en.json | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/webapp/channels/src/components/convert_channel_modal/convert_channel_modal.tsx b/webapp/channels/src/components/convert_channel_modal/convert_channel_modal.tsx index 52aca5f88c..e1f92fecb5 100644 --- a/webapp/channels/src/components/convert_channel_modal/convert_channel_modal.tsx +++ b/webapp/channels/src/components/convert_channel_modal/convert_channel_modal.tsx @@ -9,8 +9,6 @@ import {General} from 'mattermost-redux/constants'; import {trackEvent} from 'actions/telemetry_actions.jsx'; -import FormattedMarkdownMessage from 'components/formatted_markdown_message'; - import Constants from 'utils/constants'; type Props = { @@ -84,11 +82,12 @@ export default class ConvertChannelModal extends React.PureComponent

- {chunks}, }} />

@@ -99,11 +98,12 @@ export default class ConvertChannelModal extends React.PureComponent

- {chunks}, }} />

diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 83225563a3..28a00d5273 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -3412,10 +3412,10 @@ "confirm_switch_to_yearly_modal.title": "Confirm switch to annual plan", "convert_channel.cancel": "No, cancel", "convert_channel.confirm": "Yes, convert to private channel", - "convert_channel.question1": "When you convert **{display_name}** to a private channel, history and membership are preserved. Publicly shared files remain accessible to anyone with the link. Membership in a private channel is by invitation only.", "convert_channel.question2": "The change is permanent and cannot be undone.", - "convert_channel.question3": "Are you sure you want to convert **{display_name}** to a private channel?", "convert_channel.title": "Convert {display_name} to a Private Channel?", + "convertChannel.question1": "When you convert {display_name} to a private channel, history and membership are preserved. Publicly shared files remain accessible to anyone with the link. Membership in a private channel is by invitation only.", + "convertChannel.question3": "Are you sure you want to convert {display_name} to a private channel?", "copied.message": "Copied", "copy_text.copied": "Copied", "copy_text.copy": "Copy",