summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_item_min.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/setting_item_min.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/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>
);