summaryrefslogtreecommitdiffstats
path: root/webapp/utils/channel_intro_messages.jsx
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2017-04-18 11:26:10 -0400
committerCorey Hulen <corey@hulen.com>2017-04-18 08:26:10 -0700
commitb1c47922ed84be4d5d1e41d90d7220570c6218ce (patch)
treed66d1d7d895ceb4ffb2426a37f0c60449bb09ab4 /webapp/utils/channel_intro_messages.jsx
parentc10517188dccfd400a33e3e8d401ea7af7ec401f (diff)
downloadchat-b1c47922ed84be4d5d1e41d90d7220570c6218ce.tar.gz
chat-b1c47922ed84be4d5d1e41d90d7220570c6218ce.tar.bz2
chat-b1c47922ed84be4d5d1e41d90d7220570c6218ce.zip
GH-5847 Add missing localization string (#6130)
* Add missing localization string to channel_intro_messages.jsx * Update en.json * Fix indentation
Diffstat (limited to 'webapp/utils/channel_intro_messages.jsx')
-rw-r--r--webapp/utils/channel_intro_messages.jsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/webapp/utils/channel_intro_messages.jsx b/webapp/utils/channel_intro_messages.jsx
index b75474eb0..64d250943 100644
--- a/webapp/utils/channel_intro_messages.jsx
+++ b/webapp/utils/channel_intro_messages.jsx
@@ -150,6 +150,13 @@ export function createDMIntroMessage(channel, centeredIntro) {
}
export function createOffTopicIntroMessage(channel, centeredIntro) {
+ var uiType = (
+ <FormattedMessage
+ id='intro_messages.channel'
+ defaultMessage='channel'
+ />
+ );
+
return (
<div className={'channel-intro ' + centeredIntro}>
<FormattedHTMLMessage
@@ -159,7 +166,7 @@ export function createOffTopicIntroMessage(channel, centeredIntro) {
display_name: channel.display_name
}}
/>
- {createInviteChannelMemberButton(channel, 'channel')}
+ {createInviteChannelMemberButton(channel, uiType)}
{createSetHeaderButton(channel)}
</div>
);