From b1c47922ed84be4d5d1e41d90d7220570c6218ce Mon Sep 17 00:00:00 2001 From: Jason Blais Date: Tue, 18 Apr 2017 11:26:10 -0400 Subject: GH-5847 Add missing localization string (#6130) * Add missing localization string to channel_intro_messages.jsx * Update en.json * Fix indentation --- webapp/i18n/en.json | 1 + webapp/utils/channel_intro_messages.jsx | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index b92d37e0a..9fa2ee7a2 100755 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1542,6 +1542,7 @@ "integrations.outgoingWebhook.description": "Outgoing webhooks allow external integrations to receive and respond to messages", "integrations.outgoingWebhook.title": "Outgoing Webhook", "integrations.successful": "Setup Successful", + "intro_messages.channel": "channel", "intro_messages.DM": "This is the start of your direct message history with {teammate}.
Direct messages and files shared here are not shown to people outside this area.", "intro_messages.anyMember": " Any member can join and read this channel.", "intro_messages.beginning": "Beginning of {name}", 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 = ( + + ); + return (
- {createInviteChannelMemberButton(channel, 'channel')} + {createInviteChannelMemberButton(channel, uiType)} {createSetHeaderButton(channel)}
); -- cgit v1.2.3-1-g7c22