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 type {ActionResult} from 'mattermost-redux/types/actions';
|
||||||
|
|
||||||
import FormError from 'components/form_error';
|
import FormError from 'components/form_error';
|
||||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
|
||||||
|
|
||||||
import icon50 from 'images/icon50x50.png';
|
import icon50 from 'images/icon50x50.png';
|
||||||
import {getHistory} from 'utils/browser_history';
|
import {getHistory} from 'utils/browser_history';
|
||||||
@ -130,30 +129,33 @@ export default class Authorize extends React.PureComponent<Props, State> {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className='text'>
|
<div className='text'>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='authorize.title'
|
id='authorize.connectTitle'
|
||||||
defaultMessage='Authorize **{appName}** to Connect to Your **Mattermost** User Account'
|
defaultMessage='Authorize <b>{appName}</b> to Connect to Your <b>Mattermost</b> User Account'
|
||||||
values={{
|
values={{
|
||||||
appName: app.name,
|
appName: app.name,
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='authorize.app'
|
id='authorize.modificationAccess'
|
||||||
defaultMessage='The app **{appName}** would like the ability to access and modify your basic information.'
|
defaultMessage='The app <b>{appName}</b> would like the ability to access and modify your basic information.'
|
||||||
values={{
|
values={{
|
||||||
appName: app.name,
|
appName: app.name,
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
<h2 className='prompt__allow'>
|
<h2 className='prompt__allow'>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='authorize.access'
|
id='authorize.allowAccess'
|
||||||
defaultMessage='Allow **{appName}** access?'
|
defaultMessage='Allow <b>{appName}</b> access?'
|
||||||
values={{
|
values={{
|
||||||
appName: app.name,
|
appName: app.name,
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</h2>
|
</h2>
|
||||||
|
@ -3030,11 +3030,11 @@
|
|||||||
"audit_table.userId": "User ID",
|
"audit_table.userId": "User ID",
|
||||||
"audit_table.userRemoved": "Removed {username} to the {channelName} channel",
|
"audit_table.userRemoved": "Removed {username} to the {channelName} channel",
|
||||||
"audit_table.verified": "Successfully verified your email address",
|
"audit_table.verified": "Successfully verified your email address",
|
||||||
"authorize.access": "Allow **{appName}** access?",
|
|
||||||
"authorize.allow": "Allow",
|
"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.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",
|
"avatar.alt": "{username} profile image",
|
||||||
"avatars.overflowUnnamedOnly": "{overflowUnnamedCount, plural, =1 {one other} other {# others}}",
|
"avatars.overflowUnnamedOnly": "{overflowUnnamedCount, plural, =1 {one other} other {# others}}",
|
||||||
"avatars.overflowUsers": "{overflowUnnamedCount, plural, =0 {{names}} =1 {{names} and one other} other {{names} and # others}}",
|
"avatars.overflowUsers": "{overflowUnnamedCount, plural, =0 {{names}} =1 {{names} and one other} other {{names} and # others}}",
|
||||||
|
Loading…
Reference in New Issue
Block a user