mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-60814] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/authorize/authorize.tsx' with FormattedMessage (#28614)
This commit is contained in:
parent
3811dccd79
commit
7627a68d85
@ -10,7 +10,6 @@ import type {OAuthApp} from '@mattermost/types/integrations';
|
||||
import type {ActionResult} from 'mattermost-redux/types/actions';
|
||||
|
||||
import FormError from 'components/form_error';
|
||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
||||
|
||||
import icon50 from 'images/icon50x50.png';
|
||||
import {getHistory} from 'utils/browser_history';
|
||||
@ -130,30 +129,33 @@ export default class Authorize extends React.PureComponent<Props, State> {
|
||||
/>
|
||||
</div>
|
||||
<div className='text'>
|
||||
<FormattedMarkdownMessage
|
||||
id='authorize.title'
|
||||
defaultMessage='Authorize **{appName}** to Connect to Your **Mattermost** User Account'
|
||||
<FormattedMessage
|
||||
id='authorize.connectTitle'
|
||||
defaultMessage='Authorize <b>{appName}</b> to Connect to Your <b>Mattermost</b> User Account'
|
||||
values={{
|
||||
appName: app.name,
|
||||
b: (chunks: string) => <b>{chunks}</b>,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<FormattedMarkdownMessage
|
||||
id='authorize.app'
|
||||
defaultMessage='The app **{appName}** would like the ability to access and modify your basic information.'
|
||||
<FormattedMessage
|
||||
id='authorize.modificationAccess'
|
||||
defaultMessage='The app <b>{appName}</b> would like the ability to access and modify your basic information.'
|
||||
values={{
|
||||
appName: app.name,
|
||||
b: (chunks: string) => <b>{chunks}</b>,
|
||||
}}
|
||||
/>
|
||||
</p>
|
||||
<h2 className='prompt__allow'>
|
||||
<FormattedMarkdownMessage
|
||||
id='authorize.access'
|
||||
defaultMessage='Allow **{appName}** access?'
|
||||
<FormattedMessage
|
||||
id='authorize.allowAccess'
|
||||
defaultMessage='Allow <b>{appName}</b> access?'
|
||||
values={{
|
||||
appName: app.name,
|
||||
b: (chunks: string) => <b>{chunks}</b>,
|
||||
}}
|
||||
/>
|
||||
</h2>
|
||||
|
@ -3030,11 +3030,11 @@
|
||||
"audit_table.userId": "User ID",
|
||||
"audit_table.userRemoved": "Removed {username} to the {channelName} channel",
|
||||
"audit_table.verified": "Successfully verified your email address",
|
||||
"authorize.access": "Allow **{appName}** access?",
|
||||
"authorize.allow": "Allow",
|
||||
"authorize.app": "The app **{appName}** would like the ability to access and modify your basic information.",
|
||||
"authorize.allowAccess": "Allow <b>{appName}</b> access?",
|
||||
"authorize.connectTitle": "Authorize <b>{appName}</b> to Connect to Your <b>Mattermost</b> User Account",
|
||||
"authorize.deny": "Deny",
|
||||
"authorize.title": "Authorize **{appName}** to Connect to Your **Mattermost** User Account",
|
||||
"authorize.modificationAccess": "The app <b>{appName}</b> would like the ability to access and modify your basic information.",
|
||||
"avatar.alt": "{username} profile image",
|
||||
"avatars.overflowUnnamedOnly": "{overflowUnnamedCount, plural, =1 {one other} other {# others}}",
|
||||
"avatars.overflowUsers": "{overflowUnnamedCount, plural, =0 {{names}} =1 {{names} and one other} other {{names} and # others}}",
|
||||
|
Loading…
Reference in New Issue
Block a user