mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
fixed server l10n parse error
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user