diff --git a/src/vector/index.js b/src/vector/index.js index 5d885498..a08397ce 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -69,6 +69,7 @@ import Promise from 'bluebird'; var request = require('browser-request'); import * as UserSettingsStore from 'matrix-react-sdk/lib/UserSettingsStore'; import * as languageHandler from 'matrix-react-sdk/lib/languageHandler'; +// Also import _t directly so we can call it just `_t` as this is what gen-i18n.js expects import { _t } from 'matrix-react-sdk/lib/languageHandler'; import url from 'url';