summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_invite_modal.jsx
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-02-02 19:39:56 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-02-02 19:39:56 -0300
commitd424c9eaf12653332f15afa2cb9dfc6684fa95d8 (patch)
treecbec268ebd8df0f5ddeb1e9d7e177bcfc1644b65 /web/react/components/channel_invite_modal.jsx
parent320fe1c39240644ce15fa2a436ac4a5591b95083 (diff)
downloadchat-d424c9eaf12653332f15afa2cb9dfc6684fa95d8.tar.gz
chat-d424c9eaf12653332f15afa2cb9dfc6684fa95d8.tar.bz2
chat-d424c9eaf12653332f15afa2cb9dfc6684fa95d8.zip
PLT-7: Refactoring frontend (chunk 10)
- Modals - Fix bug on msg_typing - Add missing translations in es.json for EE
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>