diff --git a/frontend_tests/zjsunit/i18n.js b/frontend_tests/zjsunit/i18n.js index 402a10a99c..9d6c6c3e32 100644 --- a/frontend_tests/zjsunit/i18n.js +++ b/frontend_tests/zjsunit/i18n.js @@ -18,6 +18,4 @@ i18n.t = function (str, context) { return 'translated: ' + str; }; -i18n.ensure_i18n = function (f) { f(); }; - module.exports = i18n; diff --git a/static/js/translations.js b/static/js/translations.js index c42b5470df..42e0a49121 100644 --- a/static/js/translations.js +++ b/static/js/translations.js @@ -20,10 +20,6 @@ i18next returnEmptyString: false, // Empty string is not a valid translation. }); -i18next.ensure_i18n = function (callback) { - callback(); -}; - // garbage collect all old-style i18n translation maps in localStorage. $(function () { if (!localstorage.supported()) {