mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
Register locale extender to refresh translations after enabling extension (#2)
This commit is contained in:
@@ -27,6 +27,8 @@ return [
|
|||||||
(new Extend\Frontend('admin'))
|
(new Extend\Frontend('admin'))
|
||||||
->js(__DIR__ . '/js/dist/admin.js'),
|
->js(__DIR__ . '/js/dist/admin.js'),
|
||||||
|
|
||||||
|
new Extend\Locales(__DIR__ . '/locale'),
|
||||||
|
|
||||||
(new Extend\User())
|
(new Extend\User())
|
||||||
->displayNameDriver('nickname', NicknameDriver::class),
|
->displayNameDriver('nickname', NicknameDriver::class),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user