[MM-60845] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx' with FormattedMessage (#28706)

This commit is contained in:
Ivy Gesare 2024-10-11 16:38:05 +03:00 committed by GitHub
parent dd2db41fbf
commit adeb1e9da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -13,7 +13,6 @@ import type {ActionResult} from 'mattermost-redux/types/actions';
import BackstageList from 'components/backstage/components/backstage_list'; import BackstageList from 'components/backstage/components/backstage_list';
import ExternalLink from 'components/external_link'; import ExternalLink from 'components/external_link';
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import {DeveloperLinks} from 'utils/constants'; import {DeveloperLinks} from 'utils/constants';
import * as Utils from 'utils/utils'; import * as Utils from 'utils/utils';
@ -107,9 +106,12 @@ export default class InstalledCommands extends React.PureComponent<Props> {
/> />
} }
emptyTextSearch={ emptyTextSearch={
<FormattedMarkdownMessage <FormattedMessage
id='installed_commands.emptySearch' id='installed_commands.search.empty'
defaultMessage='No slash commands match {searchTerm}' defaultMessage='No slash commands match <b>{searchTerm}</b>'
values={{
b: (chunks: string) => <b>{chunks}</b>,
}}
/> />
} }
helpText={ helpText={

View File

@ -3918,12 +3918,12 @@
"installed_commands.add": "Add Slash Command", "installed_commands.add": "Add Slash Command",
"installed_commands.delete.confirm": "This action permanently deletes the slash command and breaks any integrations using it. Are you sure you want to delete it?", "installed_commands.delete.confirm": "This action permanently deletes the slash command and breaks any integrations using it. Are you sure you want to delete it?",
"installed_commands.empty": "No commands found", "installed_commands.empty": "No commands found",
"installed_commands.emptySearch": "No commands match **{searchTerm}**",
"installed_commands.header": "Slash Commands", "installed_commands.header": "Slash Commands",
"installed_commands.help": "Use slash commands to connect external tools to Mattermost. {buildYourOwn} or visit the {appDirectory} to find self-hosted, third-party apps and integrations.", "installed_commands.help": "Use slash commands to connect external tools to Mattermost. {buildYourOwn} or visit the {appDirectory} to find self-hosted, third-party apps and integrations.",
"installed_commands.help.appDirectory": "App Directory", "installed_commands.help.appDirectory": "App Directory",
"installed_commands.help.buildYourOwn": "Build Your Own", "installed_commands.help.buildYourOwn": "Build Your Own",
"installed_commands.search": "Search Slash Commands", "installed_commands.search": "Search Slash Commands",
"installed_commands.search.empty": "No slash commands match <b>{searchTerm}</b>",
"installed_commands.unnamed_command": "Unnamed Slash Command", "installed_commands.unnamed_command": "Unnamed Slash Command",
"installed_incoming_webhooks.add": "Add Incoming Webhook", "installed_incoming_webhooks.add": "Add Incoming Webhook",
"installed_incoming_webhooks.delete.confirm": "This action permanently deletes the incoming webhook and breaks any integrations using it. Are you sure you want to delete it?", "installed_incoming_webhooks.delete.confirm": "This action permanently deletes the incoming webhook and breaks any integrations using it. Are you sure you want to delete it?",