From b6cba7a07bfda30f758a0bab90e746c8ca0b2a37 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 13 Jan 2017 13:41:29 +0000 Subject: PLT-4449: Update channel creation placeholders. (#5059) --- webapp/components/new_channel_modal.jsx | 4 ++-- webapp/i18n/en.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index fc9fd0295..be97532dc 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -272,7 +272,7 @@ export default class NewChannelModal extends React.Component { className='form-control no-resize' ref='channel_purpose' rows='4' - placeholder={Utils.localizeMessage('channel_modal.purpose', 'Purpose')} + placeholder={Utils.localizeMessage('channel_modal.purposeEx', 'E.g.: "A channel to file bugs and improvements"')} maxLength='250' value={this.props.channelData.purpose} onChange={this.handleChange} @@ -309,7 +309,7 @@ export default class NewChannelModal extends React.Component { className='form-control no-resize' ref='channel_header' rows='4' - placeholder={Utils.localizeMessage('channel_modal.header', 'Header')} + placeholder={Utils.localizeMessage('channel_modal.headerEx', 'E.g.: "[Link Title](http://example.com)"')} maxLength='128' value={this.props.channelData.header} onChange={this.handleChange} diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 37e2a645e..72725915f 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1093,6 +1093,7 @@ "channel_modal.edit": "Edit", "channel_modal.group": "Group", "channel_modal.header": "Header", + "channel_modal.headerEx": "E.g.: \"[Link Title](http://example.com)\"", "channel_modal.headerHelp": "Set text that will appear in the header of the {term} beside the {term} name. For example, include frequently used links by typing [Link Title](http://example.com).", "channel_modal.modalTitle": "New ", "channel_modal.name": "Name", @@ -1103,6 +1104,7 @@ "channel_modal.publicChannel1": "Create a public channel", "channel_modal.publicChannel2": "Create a new public channel anyone can join. ", "channel_modal.purpose": "Purpose", + "channel_modal.purposeEx": "E.g.: \"A channel to file bugs and improvements\"", "channel_notifications.allActivity": "For all activity", "channel_notifications.allUnread": "For all unread messages", "channel_notifications.globalDefault": "Global default ({notifyLevel})", -- cgit v1.2.3-1-g7c22