summaryrefslogtreecommitdiffstats
path: root/web/react/components/confirm_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-01 08:58:16 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-01 08:58:16 -0500
commit4a214cdaa2912f48dec4361722522c424384af49 (patch)
tree498f477c6782778062c60c1fe831150480c94ecf /web/react/components/confirm_modal.jsx
parent681134912c057bcd9c6ca14260a17b1edf040303 (diff)
parent5be57bc970ebe72ecae3d421e75e3e418c479bc7 (diff)
downloadchat-4a214cdaa2912f48dec4361722522c424384af49.tar.gz
chat-4a214cdaa2912f48dec4361722522c424384af49.tar.bz2
chat-4a214cdaa2912f48dec4361722522c424384af49.zip
Merge pull request #2029 from ZBoxApp/PLT-7-user
PLT-7: Refactoring frontend (chunk 7)
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'