mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 05:18:14 +08:00
Translations are now automatically included
This commit is contained in:
parent
7aa46e99cb
commit
ecf3e12947
|
@ -34,7 +34,6 @@ class AddClientAssets
|
|||
__DIR__.'/../../less/forum/extension.less'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/suspend/main');
|
||||
$event->addTranslations('flarum-suspend.forum');
|
||||
}
|
||||
|
||||
if ($event->isAdmin()) {
|
||||
|
@ -43,7 +42,6 @@ class AddClientAssets
|
|||
__DIR__.'/../../less/admin/extension.less'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/suspend/main');
|
||||
$event->addTranslations('flarum-suspend.admin');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user