mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
Translations are now automatically included
This commit is contained in:
@@ -34,7 +34,6 @@ class AddClientAssets
|
|||||||
__DIR__.'/../../less/forum/extension.less'
|
__DIR__.'/../../less/forum/extension.less'
|
||||||
]);
|
]);
|
||||||
$event->addBootstrapper('flarum/suspend/main');
|
$event->addBootstrapper('flarum/suspend/main');
|
||||||
$event->addTranslations('flarum-suspend.forum');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($event->isAdmin()) {
|
if ($event->isAdmin()) {
|
||||||
@@ -43,7 +42,6 @@ class AddClientAssets
|
|||||||
__DIR__.'/../../less/admin/extension.less'
|
__DIR__.'/../../less/admin/extension.less'
|
||||||
]);
|
]);
|
||||||
$event->addBootstrapper('flarum/suspend/main');
|
$event->addBootstrapper('flarum/suspend/main');
|
||||||
$event->addTranslations('flarum-suspend.admin');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user