1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

Translate basic HTML views

app('view') call to set translator is temporary. See #189
This commit is contained in:
Toby Zerner
2015-10-21 11:36:49 +10:30
parent a7c2a7a2d3
commit fc7db914db
4 changed files with 9 additions and 7 deletions

View File

@@ -164,6 +164,8 @@ abstract class AbstractClientController extends AbstractHtmlController
$localeCompiler->setTranslations($translations);
}
app('view')->share('translator', $this->locales->getTranslator());
return $view;
}