summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_item_min.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/setting_item_min.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/setting_item_min.jsx')
-rw-r--r--web/react/components/setting_item_min.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/components/setting_item_min.jsx b/web/react/components/setting_item_min.jsx
index ffd2061fe..db5513b14 100644
--- a/web/react/components/setting_item_min.jsx
+++ b/web/react/components/setting_item_min.jsx
@@ -1,6 +1,8 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
+import {FormattedMessage} from 'mm-intl';
+
export default class SettingItemMin extends React.Component {
render() {
let editButton = null;
@@ -13,7 +15,10 @@ export default class SettingItemMin extends React.Component {
onClick={this.props.updateSection}
>
<i className='fa fa-pencil'/>
- {'Edit'}
+ <FormattedMessage
+ id='setting_item_min.edit'
+ defaultMessage='Edit'
+ />
</a>
</li>
);