mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user