mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 05:53:37 +08:00
Translations are now automatically included
This commit is contained in:
parent
c39f4f01ea
commit
5be607a6a7
@ -34,7 +34,6 @@ class AddClientAssets
|
||||
__DIR__.'/../../less/forum/extension.less'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/flags/main');
|
||||
$event->addTranslations('flarum-flags.forum');
|
||||
}
|
||||
|
||||
if ($event->isAdmin()) {
|
||||
@ -42,7 +41,6 @@ class AddClientAssets
|
||||
__DIR__.'/../../js/admin/dist/extension.js'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/flags/main');
|
||||
$event->addTranslations('flarum-flags.admin');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user