Add translations.

This commit is contained in:
Richard Lewis 2017-06-28 13:55:18 +01:00
parent f8c064ec25
commit 3a10cda2ca
4 changed files with 14 additions and 6 deletions

View file

@ -25,6 +25,8 @@ import sdk from '../../../index';
import SdkConfig from '../../../SdkConfig';
import ScalarAuthClient from '../../../ScalarAuthClient';
import ScalarMessaging from '../../../ScalarMessaging';
import { _t } from '../../../languageHandler';
module.exports = React.createClass({
displayName: 'AppsDrawer',
@ -205,8 +207,8 @@ module.exports = React.createClass({
role="button"
tabIndex="0"
className="mx_AddWidget_button"
title="Add a widget">
[+] Add a widget
title={_t('Add a widget')}>
[+] {_t('Add a widget')}
</div>);
return (