diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-27 02:34:44 +0800 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-06-26 14:34:44 -0400 |
commit | ffaab0bf22952f4e4c43fab62955eb0cdc13612b (patch) | |
tree | 91ea549927db590420b1576a69cc8f782c97b6da /webapp | |
parent | 69ae5cef166501dee49cd3a63d7131323796169e (diff) | |
download | chat-ffaab0bf22952f4e4c43fab62955eb0cdc13612b.tar.gz chat-ffaab0bf22952f4e4c43fab62955eb0cdc13612b.tar.bz2 chat-ffaab0bf22952f4e4c43fab62955eb0cdc13612b.zip |
Update dialog help text of 'MoreDirectChannels' and 'AddUsersToTeam' modals (#6744)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/add_users_to_team/add_users_to_team.jsx | 2 | ||||
-rw-r--r-- | webapp/components/more_direct_channels/more_direct_channels.jsx | 2 | ||||
-rw-r--r-- | webapp/components/multiselect/multiselect.jsx | 6 | ||||
-rwxr-xr-x | webapp/i18n/en.json | 3 |
4 files changed, 3 insertions, 10 deletions
diff --git a/webapp/components/add_users_to_team/add_users_to_team.jsx b/webapp/components/add_users_to_team/add_users_to_team.jsx index 34ad6eb0d..19e0d674b 100644 --- a/webapp/components/add_users_to_team/add_users_to_team.jsx +++ b/webapp/components/add_users_to_team/add_users_to_team.jsx @@ -201,7 +201,7 @@ export default class AddUsersToTeam extends React.Component { const numRemainingText = ( <FormattedMessage 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={{ num: MAX_SELECTABLE_VALUES - this.state.values.length }} diff --git a/webapp/components/more_direct_channels/more_direct_channels.jsx b/webapp/components/more_direct_channels/more_direct_channels.jsx index 8b4a105b4..705c1ac95 100644 --- a/webapp/components/more_direct_channels/more_direct_channels.jsx +++ b/webapp/components/more_direct_channels/more_direct_channels.jsx @@ -285,7 +285,7 @@ export default class MoreDirectChannels extends React.Component { const numRemainingText = ( <FormattedMessage 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={{ num: MAX_SELECTABLE_VALUES - this.state.values.length }} diff --git a/webapp/components/multiselect/multiselect.jsx b/webapp/components/multiselect/multiselect.jsx index e22e0ac52..7959c4900 100644 --- a/webapp/components/multiselect/multiselect.jsx +++ b/webapp/components/multiselect/multiselect.jsx @@ -234,12 +234,6 @@ export default class MultiSelect extends React.Component { </button> </div> <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} {noteTextContainer} </div> diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 3377019cf..5c70493d8 100755 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1792,8 +1792,7 @@ "msg_typing.someone": "Someone", "multiselect.add": "Add", "multiselect.go": "Go", - "multiselect.instructions": "Use up/down arrows to navigate and enter to select", - "multiselect.numPeopleRemaining": "You can add {num, number} more {num, plural, one {person} other {people}}. ", + "multiselect.numPeopleRemaining": "Use ↑↓ to browse, ↵ to select. You can add {num, number} more {num, plural, one {person} other {people}}. ", "multiselect.numRemaining": "You can add {num, number} more", "multiselect.placeholder": "Search and add members", "navbar.addMembers": "Add Members", |