summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-01-13 13:41:29 +0000
committerenahum <nahumhbl@gmail.com>2017-01-13 10:41:29 -0300
commitb6cba7a07bfda30f758a0bab90e746c8ca0b2a37 (patch)
tree64e382e170d631c75ac49447775ef31a16e32173 /webapp
parent8fb66c2b834ee4e0669de173e5ddfebd56c34d58 (diff)
downloadchat-b6cba7a07bfda30f758a0bab90e746c8ca0b2a37.tar.gz
chat-b6cba7a07bfda30f758a0bab90e746c8ca0b2a37.tar.bz2
chat-b6cba7a07bfda30f758a0bab90e746c8ca0b2a37.zip
PLT-4449: Update channel creation placeholders. (#5059)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/new_channel_modal.jsx4
-rw-r--r--webapp/i18n/en.json2
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})",