diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-04-03 08:42:05 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-04-03 13:42:05 +0100 |
commit | 36c74d7b47253249ec83aedacf409a93de1d182f (patch) | |
tree | d603e715c19b7d6173f430b7bc929ba3a57f45d7 /webapp/components/edit_channel_purpose_modal.jsx | |
parent | 06e09a05530699be1319a339d027eb508bf24617 (diff) | |
download | chat-36c74d7b47253249ec83aedacf409a93de1d182f.tar.gz chat-36c74d7b47253249ec83aedacf409a93de1d182f.tar.bz2 chat-36c74d7b47253249ec83aedacf409a93de1d182f.zip |
PLT-5873 Renamed private groups to private channels (#5924)
* PLT-5873 Renamed private groups to private channels in web app
* PLT-5873 Renamed private groups to private channels in server
Diffstat (limited to 'webapp/components/edit_channel_purpose_modal.jsx')
-rw-r--r-- | webapp/components/edit_channel_purpose_modal.jsx | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/webapp/components/edit_channel_purpose_modal.jsx b/webapp/components/edit_channel_purpose_modal.jsx index 7ee00baba..ea34cf969 100644 --- a/webapp/components/edit_channel_purpose_modal.jsx +++ b/webapp/components/edit_channel_purpose_modal.jsx @@ -110,21 +110,6 @@ export default class EditChannelPurposeModal extends React.Component { ); } - let channelType = ( - <FormattedMessage - id='edit_channel_purpose_modal.channel' - defaultMessage='Channel' - /> - ); - if (this.props.channel.type === Constants.PRIVATE_CHANNEL) { - channelType = ( - <FormattedMessage - id='edit_channel_purpose_modal.group' - defaultMessage='Group' - /> - ); - } - return ( <Modal className='modal-edit-channel-purpose' @@ -142,10 +127,7 @@ export default class EditChannelPurposeModal extends React.Component { <p> <FormattedMessage id='edit_channel_purpose_modal.body' - defaultMessage='Describe how this {type} should be used. This text appears in the channel list in the "More..." menu and helps others decide whether to join.' - values={{ - type: (channelType) - }} + defaultMessage='Describe how this channel should be used. This text appears in the channel list in the "More..." menu and helps others decide whether to join.' /> </p> <textarea |