fixed server l10n parse error

This commit is contained in:
Danny Coates 2019-03-06 16:36:17 -08:00
parent 796b98680c
commit f9fd9940bd
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}