mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Update dialog help text of 'MoreDirectChannels' and 'AddUsersToTeam' modals (#6744)
This commit is contained in:
committed by
Joram Wilander
parent
69ae5cef16
commit
ffaab0bf22
@@ -201,7 +201,7 @@ export default class AddUsersToTeam extends React.Component {
|
|||||||
const numRemainingText = (
|
const numRemainingText = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='multiselect.numPeopleRemaining'
|
id='multiselect.numPeopleRemaining'
|
||||||
defaultMessage='You can add {num, number} more {num, plural, one {person} other {people}}. '
|
defaultMessage='Use ↑↓ to browse, ↵ to select. You can add {num, number} more {num, plural, one {person} other {people}}. '
|
||||||
values={{
|
values={{
|
||||||
num: MAX_SELECTABLE_VALUES - this.state.values.length
|
num: MAX_SELECTABLE_VALUES - this.state.values.length
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ export default class MoreDirectChannels extends React.Component {
|
|||||||
const numRemainingText = (
|
const numRemainingText = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='multiselect.numPeopleRemaining'
|
id='multiselect.numPeopleRemaining'
|
||||||
defaultMessage='You can add {num, number} more {num, plural, one {person} other {people}}. '
|
defaultMessage='Use ↑↓ to browse, ↵ to select. You can add {num, number} more {num, plural, one {person} other {people}}. '
|
||||||
values={{
|
values={{
|
||||||
num: MAX_SELECTABLE_VALUES - this.state.values.length
|
num: MAX_SELECTABLE_VALUES - this.state.values.length
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -234,12 +234,6 @@ export default class MultiSelect extends React.Component {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className='multi-select__help'>
|
<div className='multi-select__help'>
|
||||||
<div className='hidden-xs'>
|
|
||||||
<FormattedMessage
|
|
||||||
id='multiselect.instructions'
|
|
||||||
defaultMessage='Use up/down arrows to navigate and enter to select'
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
{numRemainingText}
|
{numRemainingText}
|
||||||
{noteTextContainer}
|
{noteTextContainer}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1792,8 +1792,7 @@
|
|||||||
"msg_typing.someone": "Someone",
|
"msg_typing.someone": "Someone",
|
||||||
"multiselect.add": "Add",
|
"multiselect.add": "Add",
|
||||||
"multiselect.go": "Go",
|
"multiselect.go": "Go",
|
||||||
"multiselect.instructions": "Use up/down arrows to navigate and enter to select",
|
"multiselect.numPeopleRemaining": "Use ↑↓ to browse, ↵ to select. You can add {num, number} more {num, plural, one {person} other {people}}. ",
|
||||||
"multiselect.numPeopleRemaining": "You can add {num, number} more {num, plural, one {person} other {people}}. ",
|
|
||||||
"multiselect.numRemaining": "You can add {num, number} more",
|
"multiselect.numRemaining": "You can add {num, number} more",
|
||||||
"multiselect.placeholder": "Search and add members",
|
"multiselect.placeholder": "Search and add members",
|
||||||
"navbar.addMembers": "Add Members",
|
"navbar.addMembers": "Add Members",
|
||||||
|
|||||||
Reference in New Issue
Block a user