mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03: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