fixed server l10n parse error
This commit is contained in:
parent
796b98680c
commit
f9fd9940bd
|
@ -7,7 +7,7 @@ const locales = fs.readdirSync(localesPath);
|
|||
function makeBundle(locale) {
|
||||
const bundle = new FluentBundle(locale, { useIsolating: false });
|
||||
bundle.addMessages(
|
||||
fs.readFileSync(path.resolve(localesPath, locale, 'send.ftl'))
|
||||
fs.readFileSync(path.resolve(localesPath, locale, 'send.ftl'), 'utf8')
|
||||
);
|
||||
return [locale, bundle];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue