mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-60818] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx' with FormattedMessage (#28607)
This commit is contained in:
parent
428b38efbb
commit
0e31f6226c
@ -7,8 +7,6 @@ import {FormattedMessage, defineMessages, useIntl} from 'react-intl';
|
||||
import {GenericModal} from '@mattermost/components';
|
||||
import type {ChannelCategory} from '@mattermost/types/channel_categories';
|
||||
|
||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
||||
|
||||
import '../category_modal.scss';
|
||||
|
||||
type Props = {
|
||||
@ -48,11 +46,12 @@ export default function DeleteCategoryModal(props: Props) {
|
||||
confirmButtonClassName={'delete'}
|
||||
>
|
||||
<span className='delete-category__helpText'>
|
||||
<FormattedMarkdownMessage
|
||||
<FormattedMessage
|
||||
id='delete_category_modal.helpText'
|
||||
defaultMessage="Channels in **{category_name}** will move back to the Channels and Direct messages categories. You're not removed from any channels."
|
||||
defaultMessage="Channels in <b>{category_name}</b> will move back to the Channels and Direct messages categories. You're not removed from any channels."
|
||||
values={{
|
||||
category_name: props.category.display_name,
|
||||
b: (chunks: string) => <b>{chunks}</b>,
|
||||
}}
|
||||
/>
|
||||
</span>
|
||||
|
@ -3515,7 +3515,7 @@
|
||||
"deactivate_member_modal.title": "Deactivate {username}",
|
||||
"delete_category_modal.delete": "Delete",
|
||||
"delete_category_modal.deleteCategory": "Delete this category?",
|
||||
"delete_category_modal.helpText": "Channels in **{category_name}** will move back to the Channels and Direct messages categories. You're not removed from any channels.",
|
||||
"delete_category_modal.helpText": "Channels in <b>{category_name}</b> will move back to the Channels and Direct messages categories. You're not removed from any channels.",
|
||||
"delete_channel.cancel": "Cancel",
|
||||
"delete_channel.confirm": "Confirm ARCHIVE Channel",
|
||||
"delete_channel.del": "Archive",
|
||||
|
Loading…
Reference in New Issue
Block a user