Bulk change counterpart imports

to use languageHandler wrapper func
This commit is contained in:
David Baker 2017-05-25 11:39:08 +01:00
parent ec146c7f45
commit 5c359e63ab
52 changed files with 52 additions and 52 deletions

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
import React from 'react';
import _t from 'counterpart-riot';
import { _t } from '../../../languageHandler';
import sdk from '../../../index';
import AddThreepid from '../../../AddThreepid';

View file

@ -21,7 +21,7 @@ var MatrixClientPeg = require("../../../MatrixClientPeg");
var Modal = require("../../../Modal");
var sdk = require("../../../index");
import AccessibleButton from '../elements/AccessibleButton';
import _t from 'counterpart-riot';
import { _t } from '../../../languageHandler';
module.exports = React.createClass({
displayName: 'ChangePassword',

View file

@ -17,7 +17,7 @@ limitations under the License.
import React from 'react';
import sdk from '../../../index';
import _t from 'counterpart-riot';
import { _t } from '../../../languageHandler';
import MatrixClientPeg from '../../../MatrixClientPeg';
import Modal from '../../../Modal';
import DateUtils from '../../../DateUtils';