[MM-60827] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/suggestion/suggestion_list.tsx' with FormattedMessage (#28613)
Этот коммит содержится в:
@@ -6,7 +6,6 @@ import React from 'react';
|
|||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
|
|
||||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
|
||||||
import LoadingSpinner from 'components/widgets/loading/loading_spinner';
|
import LoadingSpinner from 'components/widgets/loading/loading_spinner';
|
||||||
|
|
||||||
import {Constants} from 'utils/constants';
|
import {Constants} from 'utils/constants';
|
||||||
@@ -225,11 +224,12 @@ export default class SuggestionList extends React.PureComponent<Props> {
|
|||||||
className='suggestion-list__no-results'
|
className='suggestion-list__no-results'
|
||||||
ref={this.contentRef}
|
ref={this.contentRef}
|
||||||
>
|
>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='suggestion_list.no_matches'
|
id='suggestionList.noMatches'
|
||||||
defaultMessage='No items match __{value}__'
|
defaultMessage='No items match <b>{value}</b>'
|
||||||
values={{
|
values={{
|
||||||
value: this.props.pretext || '""',
|
value: this.props.pretext || '""',
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5159,7 +5159,6 @@
|
|||||||
"status_dropdown.set_ooo.extra": "Automatic replies are enabled",
|
"status_dropdown.set_ooo.extra": "Automatic replies are enabled",
|
||||||
"success_modal.return_to_workspace": "Return to workspace",
|
"success_modal.return_to_workspace": "Return to workspace",
|
||||||
"success_modal.subtitle": "Your final bill will be prorated. Your workspace now has {plan} limits.",
|
"success_modal.subtitle": "Your final bill will be prorated. Your workspace now has {plan} limits.",
|
||||||
"suggestion_list.no_matches": "No items match __{value}__",
|
|
||||||
"suggestion.all": "All channel types",
|
"suggestion.all": "All channel types",
|
||||||
"suggestion.archive": "Archived channels",
|
"suggestion.archive": "Archived channels",
|
||||||
"suggestion.commands": "Commands",
|
"suggestion.commands": "Commands",
|
||||||
@@ -5184,6 +5183,7 @@
|
|||||||
"suggestion.search.private": "Private Channels",
|
"suggestion.search.private": "Private Channels",
|
||||||
"suggestion.search.public": "Public Channels",
|
"suggestion.search.public": "Public Channels",
|
||||||
"suggestion.user.isCurrent": "(you)",
|
"suggestion.user.isCurrent": "(you)",
|
||||||
|
"suggestionList.noMatches": "No items match <b>{value}</b>",
|
||||||
"system_notice.adminVisible": "Only visible to System Admins",
|
"system_notice.adminVisible": "Only visible to System Admins",
|
||||||
"system_notice.adminVisible.icon": "Only visible to System Admins Icon",
|
"system_notice.adminVisible.icon": "Only visible to System Admins Icon",
|
||||||
"system_notice.body.api3": "If you’ve created or installed integrations in the last two years, find out how <link>recent changes</link> may have affected them.",
|
"system_notice.body.api3": "If you’ve created or installed integrations in the last two years, find out how <link>recent changes</link> may have affected them.",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user