mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:00:24 +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\AddPostLikesRelationship::class);
|
||||||
$events->subscribe(Listener\SaveLikesToDatabase::class);
|
$events->subscribe(Listener\SaveLikesToDatabase::class);
|
||||||
$events->subscribe(Listener\SendNotificationWhenPostIsLiked::class);
|
$events->subscribe(Listener\SendNotificationWhenPostIsLiked::class);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -42,6 +42,7 @@ class AddClientAssets
|
|||||||
__DIR__.'/../../js/admin/dist/extension.js'
|
__DIR__.'/../../js/admin/dist/extension.js'
|
||||||
]);
|
]);
|
||||||
$event->addBootstrapper('flarum/likes/main');
|
$event->addBootstrapper('flarum/likes/main');
|
||||||
|
$event->addTranslations('flarum-likes.admin');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user