Translations are now automatically included

This commit is contained in:
Toby Zerner 2015-11-02 18:52:23 +10:30
parent 3695d7d8c7
commit 8f9f904deb

View File

@ -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');
} }
} }
} }