summaryrefslogtreecommitdiffstats
path: root/web/react/components/confirm_modal.jsx
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-01-30 18:10:04 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-01-30 18:10:04 -0300
commit78314c7d4d1417fd42ab48cbe41d360f80915453 (patch)
tree7db4a466d880e106071dddea30c4dcc724c50393 /web/react/components/confirm_modal.jsx
parent7ff7c864611590347cb6a230d31635ecabdc4f25 (diff)
downloadchat-78314c7d4d1417fd42ab48cbe41d360f80915453.tar.gz
chat-78314c7d4d1417fd42ab48cbe41d360f80915453.tar.bz2
chat-78314c7d4d1417fd42ab48cbe41d360f80915453.zip
PLT-7: Refactoring frontend (chunk 6)
- User settings
Diffstat (limited to 'web/react/components/confirm_modal.jsx')
-rw-r--r--web/react/components/confirm_modal.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/components/confirm_modal.jsx b/web/react/components/confirm_modal.jsx
index cdef1c1ea..987649f38 100644
--- a/web/react/components/confirm_modal.jsx
+++ b/web/react/components/confirm_modal.jsx
@@ -1,6 +1,7 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
+import {FormattedMessage} from 'mm-intl';
const Modal = ReactBootstrap.Modal;
export default class ConfirmModal extends React.Component {
@@ -33,7 +34,10 @@ export default class ConfirmModal extends React.Component {
className='btn btn-default'
onClick={this.props.onCancel}
>
- {'Cancel'}
+ <FormattedMessage
+ id='confirm_modal.cancel'
+ defaultMessage='Cancel'
+ />
</button>
<button
type='button'