mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Import admin translations
This commit is contained in:
parent
eee3f9ca92
commit
972116f5bb
|
@ -17,5 +17,4 @@ return function (Dispatcher $events) {
|
|||
$events->subscribe(Listener\AddPostLikesRelationship::class);
|
||||
$events->subscribe(Listener\SaveLikesToDatabase::class);
|
||||
$events->subscribe(Listener\SendNotificationWhenPostIsLiked::class);
|
||||
|
||||
};
|
||||
|
|
|
@ -42,6 +42,7 @@ class AddClientAssets
|
|||
__DIR__.'/../../js/admin/dist/extension.js'
|
||||
]);
|
||||
$event->addBootstrapper('flarum/likes/main');
|
||||
$event->addTranslations('flarum-likes.admin');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user