GH-5847 Add missing localization string (#6130)

* Add missing localization string to channel_intro_messages.jsx

* Update en.json

* Fix indentation
This commit is contained in:
Jason Blais
2017-04-18 11:26:10 -04:00
committed by Corey Hulen
parent c10517188d
commit b1c47922ed
2 changed files with 9 additions and 1 deletions

View File

@@ -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>
);