diff --git a/src/translate/translator.js b/src/translator.js similarity index 54% rename from src/translate/translator.js rename to src/translator.js index 06102a7350..8584686056 100644 --- a/src/translate/translator.js +++ b/src/translator.js @@ -8,7 +8,7 @@ function warn(msg) { } } -module.exports = require('../../public/src/modules/translator.common')(require('../utils'), (lang, namespace) => { - const languages = require('../languages'); +module.exports = require('../public/src/modules/translator.common')(require('./utils'), (lang, namespace) => { + const languages = require('./languages'); return languages.get(lang, namespace); }, warn);