[MM-60827] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/suggestion/suggestion_list.tsx' with FormattedMessage (#28613)

This commit is contained in:
Rita Anene 2024-10-11 12:49:37 +01:00 committed by GitHub
parent 2f08b0df44
commit 275e922ec1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import {FormattedMessage} from 'react-intl';
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import LoadingSpinner from 'components/widgets/loading/loading_spinner';
import {Constants} from 'utils/constants';
@ -225,11 +224,12 @@ export default class SuggestionList extends React.PureComponent<Props> {
className='suggestion-list__no-results'
ref={this.contentRef}
>
<FormattedMarkdownMessage
id='suggestion_list.no_matches'
defaultMessage='No items match __{value}__'
<FormattedMessage
id='suggestionList.noMatches'
defaultMessage='No items match <b>{value}</b>'
values={{
value: this.props.pretext || '""',
b: (chunks: string) => <b>{chunks}</b>,
}}
/>
</div>

View File

@ -5159,7 +5159,6 @@
"status_dropdown.set_ooo.extra": "Automatic replies are enabled",
"success_modal.return_to_workspace": "Return to workspace",
"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.archive": "Archived channels",
"suggestion.commands": "Commands",
@ -5184,6 +5183,7 @@
"suggestion.search.private": "Private Channels",
"suggestion.search.public": "Public Channels",
"suggestion.user.isCurrent": "(you)",
"suggestionList.noMatches": "No items match <b>{value}</b>",
"system_notice.adminVisible": "Only visible to System Admins",
"system_notice.adminVisible.icon": "Only visible to System Admins Icon",
"system_notice.body.api3": "If youve created or installed integrations in the last two years, find out how <link>recent changes</link> may have affected them.",