Skip to content

Commit

Permalink
moved around translator files
Browse files Browse the repository at this point in the history
  • Loading branch information
annashiheart committed Nov 13, 2024
1 parent 63e7237 commit bcb8830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/translate/translator.js → src/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit bcb8830

Please sign in to comment.