mirror of
https://github.com/flarum/core.git
synced 2025-07-26 11:10:41 +02:00
Translate basic HTML views
app('view') call to set translator is temporary. See #189
This commit is contained in:
@@ -164,6 +164,8 @@ abstract class AbstractClientController extends AbstractHtmlController
|
||||
$localeCompiler->setTranslations($translations);
|
||||
}
|
||||
|
||||
app('view')->share('translator', $this->locales->getTranslator());
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user