diff --git a/public/src/modules/translator.js b/public/src/modules/translator.js index 0ac8f8b004..70eaad8d8e 100644 --- a/public/src/modules/translator.js +++ b/public/src/modules/translator.js @@ -314,7 +314,7 @@ }; if (err && err.code === 'ENOENT') { - data = {}; + data = '{}'; } else if (err) { winston.error('[translator] Error while loading language file: ' + err.message); return callback({});