summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_invite_modal.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-02-03 07:37:27 -0500
committerJoram Wilander <jwawilander@gmail.com>2016-02-03 07:37:27 -0500
commit0571953755bb96b3d1c15279e2fb429a3ec993a5 (patch)
treebea9b56e174067ce3d8239702fc2d38f3b0d188c /web/react/components/channel_invite_modal.jsx
parent5be7d002300afcf1e06cf9878d81f567b4bd9845 (diff)
parentd424c9eaf12653332f15afa2cb9dfc6684fa95d8 (diff)
downloadchat-0571953755bb96b3d1c15279e2fb429a3ec993a5.tar.gz
chat-0571953755bb96b3d1c15279e2fb429a3ec993a5.tar.bz2
chat-0571953755bb96b3d1c15279e2fb429a3ec993a5.zip
Merge pull request #2051 from ZBoxApp/PLT-7-channel-modals
PLT-7: Refactoring frontend (chunk 10)
Diffstat (limited to 'web/react/components/channel_invite_modal.jsx')
-rw-r--r--web/react/components/channel_invite_modal.jsx15
1 files changed, 13 insertions, 2 deletions
diff --git a/web/react/components/channel_invite_modal.jsx b/web/react/components/channel_invite_modal.jsx
index 8b7485e5f..7dc2c0a11 100644
--- a/web/react/components/channel_invite_modal.jsx
+++ b/web/react/components/channel_invite_modal.jsx
@@ -11,6 +11,8 @@ import * as Utils from '../utils/utils.jsx';
import * as Client from '../utils/client.jsx';
import * as AsyncClient from '../utils/async_client.jsx';
+import {FormattedMessage} from 'mm-intl';
+
const Modal = ReactBootstrap.Modal;
export default class ChannelInviteModal extends React.Component {
@@ -154,7 +156,13 @@ export default class ChannelInviteModal extends React.Component {
onHide={this.props.onHide}
>
<Modal.Header closeButton={true}>
- <Modal.Title>{'Add New Members to '}<span className='name'>{this.props.channel.display_name}</span></Modal.Title>
+ <Modal.Title>
+ <FormattedMessage
+ id='channel_invite.addNewMembers'
+ defaultMessage='Add New Members to '
+ />
+ <span className='name'>{this.props.channel.display_name}</span>
+ </Modal.Title>
</Modal.Header>
<Modal.Body
ref='modalBody'
@@ -168,7 +176,10 @@ export default class ChannelInviteModal extends React.Component {
className='btn btn-default'
onClick={this.props.onHide}
>
- {'Close'}
+ <FormattedMessage
+ id='channel_invite.close'
+ defaultMessage='Close'
+ />
</button>
</Modal.Footer>
</Modal>