mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 23:01:44 +08:00
Translations are now automatically included
This commit is contained in:
parent
2a76c27814
commit
5c1b7aa288
|
@ -33,7 +33,6 @@ class AddClientAssets
|
|||
__DIR__.'/../../js/forum/dist/extension.js'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/akismet/main');
|
||||
$event->addTranslations('flarum-akismet.forum');
|
||||
}
|
||||
|
||||
if ($event->isAdmin()) {
|
||||
|
@ -41,7 +40,6 @@ class AddClientAssets
|
|||
__DIR__ . '/../../js/admin/dist/extension.js'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/akismet/main');
|
||||
$event->addTranslations('flarum-akismet.admin');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user