[MM-60789] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/channel_selector_modal/channel_selector_modal.tsx' with FormattedMessage (#28464)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
59c8df0ca1
Коммит
51ce9733e2
@@ -40,9 +40,14 @@ exports[`components/ChannelSelectorModal exclude already selected 1`] = `
|
|||||||
componentClass="h1"
|
componentClass="h1"
|
||||||
id="channelSelectorModalLabel"
|
id="channelSelectorModalLabel"
|
||||||
>
|
>
|
||||||
<FormattedMarkdownMessage
|
<MemoizedFormattedMessage
|
||||||
defaultMessage="Add Channels to **Channel Selection** List"
|
defaultMessage="Add Channels to <b>Channel Selection</b> List"
|
||||||
id="add_channels_to_scheme.title"
|
id="channelSelectorModal.title"
|
||||||
|
values={
|
||||||
|
Object {
|
||||||
|
"b": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</ModalTitle>
|
</ModalTitle>
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
@@ -190,9 +195,14 @@ exports[`components/ChannelSelectorModal should match snapshot 1`] = `
|
|||||||
componentClass="h1"
|
componentClass="h1"
|
||||||
id="channelSelectorModalLabel"
|
id="channelSelectorModalLabel"
|
||||||
>
|
>
|
||||||
<FormattedMarkdownMessage
|
<MemoizedFormattedMessage
|
||||||
defaultMessage="Add Channels to **Channel Selection** List"
|
defaultMessage="Add Channels to <b>Channel Selection</b> List"
|
||||||
id="add_channels_to_scheme.title"
|
id="channelSelectorModal.title"
|
||||||
|
values={
|
||||||
|
Object {
|
||||||
|
"b": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</ModalTitle>
|
</ModalTitle>
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import type {Channel, ChannelSearchOpts, ChannelWithTeamData} from '@mattermost/
|
|||||||
|
|
||||||
import type {ActionResult} from 'mattermost-redux/types/actions';
|
import type {ActionResult} from 'mattermost-redux/types/actions';
|
||||||
|
|
||||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
|
||||||
import MultiSelect from 'components/multiselect/multiselect';
|
import MultiSelect from 'components/multiselect/multiselect';
|
||||||
import type {Value} from 'components/multiselect/multiselect';
|
import type {Value} from 'components/multiselect/multiselect';
|
||||||
|
|
||||||
@@ -236,9 +235,12 @@ export class ChannelSelectorModal extends React.PureComponent<Props, State> {
|
|||||||
componentClass='h1'
|
componentClass='h1'
|
||||||
id='channelSelectorModalLabel'
|
id='channelSelectorModalLabel'
|
||||||
>
|
>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='add_channels_to_scheme.title'
|
id='channelSelectorModal.title'
|
||||||
defaultMessage='Add Channels to **Channel Selection** List'
|
defaultMessage='Add Channels to <b>Channel Selection</b> List'
|
||||||
|
values={{
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Modal.Title>
|
</Modal.Title>
|
||||||
</Modal.Header>
|
</Modal.Header>
|
||||||
|
|||||||
@@ -66,7 +66,6 @@
|
|||||||
"activity_log.os": "OS: {os}",
|
"activity_log.os": "OS: {os}",
|
||||||
"activity_log.sessionId": "Session ID: {id}",
|
"activity_log.sessionId": "Session ID: {id}",
|
||||||
"activity_log.sessionsDescription": "Sessions are created when you log in through a new browser on a device. Sessions let you use Mattermost without having to log in again for a time period specified by the System Admin. To end the session sooner, use the 'Log Out' button.",
|
"activity_log.sessionsDescription": "Sessions are created when you log in through a new browser on a device. Sessions let you use Mattermost without having to log in again for a time period specified by the System Admin. To end the session sooner, use the 'Log Out' button.",
|
||||||
"add_channels_to_scheme.title": "Add Channels to **Channel Selection** List",
|
|
||||||
"add_command.autocomplete": "Autocomplete",
|
"add_command.autocomplete": "Autocomplete",
|
||||||
"add_command.autocomplete.help": "(Optional) Show your slash command on the autocomplete list when someone types / in the input box.",
|
"add_command.autocomplete.help": "(Optional) Show your slash command on the autocomplete list when someone types / in the input box.",
|
||||||
"add_command.autocompleteDescription": "Autocomplete Description",
|
"add_command.autocompleteDescription": "Autocomplete Description",
|
||||||
@@ -3236,6 +3235,7 @@
|
|||||||
"channelNotifications.mobileNotification.mention": "Mentions, direct messages, and keywords only {optionalDefault}",
|
"channelNotifications.mobileNotification.mention": "Mentions, direct messages, and keywords only {optionalDefault}",
|
||||||
"channelNotifications.mobileNotification.newMessages": "All new messages {optionalDefault}",
|
"channelNotifications.mobileNotification.newMessages": "All new messages {optionalDefault}",
|
||||||
"channelNotifications.mobileNotification.nothing": "Nothing {optionalDefault}",
|
"channelNotifications.mobileNotification.nothing": "Nothing {optionalDefault}",
|
||||||
|
"channelSelectorModal.title": "Add Channels to <b>Channel Selection</b> List",
|
||||||
"channelView.login.successfull": "Login Successful",
|
"channelView.login.successfull": "Login Successful",
|
||||||
"claim.email_to_ldap.enterLdapPwd": "Enter the ID and password for your AD/LDAP account",
|
"claim.email_to_ldap.enterLdapPwd": "Enter the ID and password for your AD/LDAP account",
|
||||||
"claim.email_to_ldap.enterPwd": "Enter the password for your {site} email account",
|
"claim.email_to_ldap.enterPwd": "Enter the password for your {site} email account",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user