diff options
author | David Lu <david.lu@hotmail.com> | 2016-06-03 08:41:28 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-03 11:41:28 -0400 |
commit | 9857b60b98069561659e3cf3fc4609fed7143547 (patch) | |
tree | 3e753c21e041acd65b4b54f47c0dc89e93e944cd | |
parent | 08cf0feb7f114d0f83c9df7d53798e10ad53688c (diff) | |
download | chat-9857b60b98069561659e3cf3fc4609fed7143547.tar.gz chat-9857b60b98069561659e3cf3fc4609fed7143547.tar.bz2 chat-9857b60b98069561659e3cf3fc4609fed7143547.zip |
Added hint (#3232)
-rw-r--r-- | webapp/components/channel_switch_modal.jsx | 1 | ||||
-rw-r--r-- | webapp/i18n/en.json | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/channel_switch_modal.jsx b/webapp/components/channel_switch_modal.jsx index 4194e7b53..761da1395 100644 --- a/webapp/components/channel_switch_modal.jsx +++ b/webapp/components/channel_switch_modal.jsx @@ -108,6 +108,7 @@ export default class SwitchChannelModal extends React.Component { type='input' onUserInput={this.onUserInput} value={this.state.text} + placeholder={Utils.localizeMessage('channel_switch_modal.hint', 'Type the name of a channel')} onKeyDown={this.handleKeyDown} listComponent={SuggestionList} maxLength='64' diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 36686af21..2f84a97d9 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -721,6 +721,7 @@ "channel_switch_modal.help": "↑↓ to browse, TAB to select, ↵ to confirm, ESC to dismiss", "channel_switch_modal.submit": "Switch", "channel_switch_modal.not_found": "No matches found.", + "channel_switch_modal.hint": "Type the name of a channel", "choose_auth_page.emailCreate": "Create new team with email address", "choose_auth_page.find": "Find my teams", "choose_auth_page.gitlabCreate": "Create new team with GitLab Account", |