diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-01-27 15:49:26 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-01-27 15:51:02 -0300 |
commit | c8ca70870f1e202eb5784839520199fdf0beaeec (patch) | |
tree | e19558f34362b545df977abd9d0611e8410a6dd3 /web/react/components/admin_console/logs.jsx | |
parent | ceebfe20ba2c84d98344db650c5a856b9fba02fc (diff) | |
download | chat-c8ca70870f1e202eb5784839520199fdf0beaeec.tar.gz chat-c8ca70870f1e202eb5784839520199fdf0beaeec.tar.bz2 chat-c8ca70870f1e202eb5784839520199fdf0beaeec.zip |
PLT-7: Refactoring frontend (chunk 2)
- System Console complete
Diffstat (limited to 'web/react/components/admin_console/logs.jsx')
-rw-r--r-- | web/react/components/admin_console/logs.jsx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/web/react/components/admin_console/logs.jsx b/web/react/components/admin_console/logs.jsx index 01135f1b8..71a4a5d8c 100644 --- a/web/react/components/admin_console/logs.jsx +++ b/web/react/components/admin_console/logs.jsx @@ -5,6 +5,8 @@ import AdminStore from '../../stores/admin_store.jsx'; import LoadingScreen from '../loading_screen.jsx'; import * as AsyncClient from '../../utils/async_client.jsx'; +import {FormattedMessage} from 'mm-intl'; + export default class Logs extends React.Component { constructor(props) { super(props); @@ -73,13 +75,21 @@ export default class Logs extends React.Component { return ( <div className='panel'> - <h3>{'Server Logs'}</h3> + <h3> + <FormattedMessage + id='admin.logs.title' + defaultMessage='Server Logs' + /> + </h3> <button type='submit' className='btn btn-primary' onClick={this.reload} > - {'Reload'} + <FormattedMessage + id='admin.logs.reload' + defaultMessage='Reload' + /> </button> <div className='log__panel'> {content} |