From 9857b60b98069561659e3cf3fc4609fed7143547 Mon Sep 17 00:00:00 2001 From: David Lu Date: Fri, 3 Jun 2016 08:41:28 -0700 Subject: Added hint (#3232) --- webapp/components/channel_switch_modal.jsx | 1 + webapp/i18n/en.json | 1 + 2 files changed, 2 insertions(+) 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", -- cgit v1.2.3-1-g7c22