mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-60810] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/permission_schemes_settings/edit_post_time_limit_modal/edit_post_time_limit_modal.tsx' with FormattedMessage (#28611)
This commit is contained in:
parent
34c8dd5504
commit
c8b4c6d7b4
@ -10,8 +10,6 @@ import type {DeepPartial} from '@mattermost/types/utilities';
|
|||||||
|
|
||||||
import type {ActionResult} from 'mattermost-redux/types/actions';
|
import type {ActionResult} from 'mattermost-redux/types/actions';
|
||||||
|
|
||||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
|
||||||
|
|
||||||
import {Constants} from 'utils/constants';
|
import {Constants} from 'utils/constants';
|
||||||
|
|
||||||
const INT32_MAX = 2147483647;
|
const INT32_MAX = 2147483647;
|
||||||
@ -87,9 +85,12 @@ export default function EditPostTimeLimitModal(props: Props) {
|
|||||||
</Modal.Title>
|
</Modal.Title>
|
||||||
</Modal.Header>
|
</Modal.Header>
|
||||||
<Modal.Body>
|
<Modal.Body>
|
||||||
<FormattedMarkdownMessage
|
<FormattedMessage
|
||||||
id='edit_post.time_limit_modal.description'
|
id='editPost.timeLimitModal.description'
|
||||||
defaultMessage='Setting a time limit **applies to all users** who have the "Edit Post" permissions in any permission scheme.'
|
defaultMessage='Setting a time limit <b>applies to all users</b> who have the "Edit Post" permissions in any permission scheme.'
|
||||||
|
values={{
|
||||||
|
b: (chunks: string) => <b>{chunks}</b>,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<div className='pt-3'>
|
<div className='pt-3'>
|
||||||
<div className='pt-3'>
|
<div className='pt-3'>
|
||||||
|
@ -3604,7 +3604,6 @@
|
|||||||
"edit_post.no_notification_trigger_on_mention": "Editing this message with an '@mention' will not notify the recipient.",
|
"edit_post.no_notification_trigger_on_mention": "Editing this message with an '@mention' will not notify the recipient.",
|
||||||
"edit_post.time_limit_button.for_n_seconds": "For {n} seconds",
|
"edit_post.time_limit_button.for_n_seconds": "For {n} seconds",
|
||||||
"edit_post.time_limit_button.no_limit": "Anytime",
|
"edit_post.time_limit_button.no_limit": "Anytime",
|
||||||
"edit_post.time_limit_modal.description": "Setting a time limit **applies to all users** who have the \"Edit Post\" permissions in any permission scheme.",
|
|
||||||
"edit_post.time_limit_modal.invalid_time_limit": "Invalid time limit",
|
"edit_post.time_limit_modal.invalid_time_limit": "Invalid time limit",
|
||||||
"edit_post.time_limit_modal.option_label_anytime": "Anytime",
|
"edit_post.time_limit_modal.option_label_anytime": "Anytime",
|
||||||
"edit_post.time_limit_modal.option_label_time_limit.postinput": "seconds after posting",
|
"edit_post.time_limit_modal.option_label_time_limit.postinput": "seconds after posting",
|
||||||
@ -3612,6 +3611,7 @@
|
|||||||
"edit_post.time_limit_modal.save_button": "Save Edit Time",
|
"edit_post.time_limit_modal.save_button": "Save Edit Time",
|
||||||
"edit_post.time_limit_modal.subscript": "Set the length of time users have to edit their messages after posting.",
|
"edit_post.time_limit_modal.subscript": "Set the length of time users have to edit their messages after posting.",
|
||||||
"edit_post.time_limit_modal.title": "Configure Global Edit Post Time Limit",
|
"edit_post.time_limit_modal.title": "Configure Global Edit Post Time Limit",
|
||||||
|
"editPost.timeLimitModal.description": "Setting a time limit <b>applies to all users</b> who have the \"Edit Post\" permissions in any permission scheme.",
|
||||||
"email_verify.almost": "You’re almost done!",
|
"email_verify.almost": "You’re almost done!",
|
||||||
"email_verify.failed": "Failed to send verification email",
|
"email_verify.failed": "Failed to send verification email",
|
||||||
"email_verify.notVerifiedBody": "Please verify your email address. Check your inbox for an email.",
|
"email_verify.notVerifiedBody": "Please verify your email address. Check your inbox for an email.",
|
||||||
|
Loading…
Reference in New Issue
Block a user