mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
chore: switch formatter to format-message
(#4088)
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
This commit is contained in:
@@ -36,6 +36,7 @@ export default function bootstrap(Application, app, payload = {}) {
|
||||
...payload,
|
||||
});
|
||||
|
||||
app.translator.setLocale('en');
|
||||
app.translator.addTranslations(flatten(jsYaml.load(fs.readFileSync('../locale/core.yml', 'utf8'))));
|
||||
app.drawer = new Drawer();
|
||||
}
|
||||
|
Reference in New Issue
Block a user