Translations are now automatically included

This commit is contained in:
Toby Zerner 2015-11-02 18:53:06 +10:30
parent 7aa46e99cb
commit ecf3e12947

View File

@ -34,7 +34,6 @@ class AddClientAssets
__DIR__.'/../../less/forum/extension.less' __DIR__.'/../../less/forum/extension.less'
]); ]);
$event->addBootstrapper('flarum/suspend/main'); $event->addBootstrapper('flarum/suspend/main');
$event->addTranslations('flarum-suspend.forum');
} }
if ($event->isAdmin()) { if ($event->isAdmin()) {
@ -43,7 +42,6 @@ class AddClientAssets
__DIR__.'/../../less/admin/extension.less' __DIR__.'/../../less/admin/extension.less'
]); ]);
$event->addBootstrapper('flarum/suspend/main'); $event->addBootstrapper('flarum/suspend/main');
$event->addTranslations('flarum-suspend.admin');
} }
} }
} }