mirror of
https://github.com/flarum/core.git
synced 2025-07-28 04:00:40 +02:00
Translations are now automatically included
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user