mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Translations are now automatically included
This commit is contained in:
parent
3695d7d8c7
commit
8f9f904deb
|
@ -34,7 +34,6 @@ class AddClientAssets
|
||||||
__DIR__.'/../../less/forum/extension.less'
|
__DIR__.'/../../less/forum/extension.less'
|
||||||
]);
|
]);
|
||||||
$event->addBootstrapper('flarum/likes/main');
|
$event->addBootstrapper('flarum/likes/main');
|
||||||
$event->addTranslations('flarum-likes.forum');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($event->isAdmin()) {
|
if ($event->isAdmin()) {
|
||||||
|
@ -42,7 +41,6 @@ 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…
Reference in New Issue
Block a user