fixed translations not initialized

This commit is contained in:
tonis ormisson
2022-09-06 09:53:46 +03:00
parent 0f87163f9f
commit db232f150a

View File

@ -46,8 +46,8 @@ class Bootstrap implements BootstrapInterface
{ {
if ($app->hasModule('user') && $app->getModule('user') instanceof Module) { if ($app->hasModule('user') && $app->getModule('user') instanceof Module) {
$map = $this->buildClassMap($app->getModule('user')->classMap); $map = $this->buildClassMap($app->getModule('user')->classMap);
$this->initContainer($app, $map);
$this->initTranslations($app); $this->initTranslations($app);
$this->initContainer($app, $map);
$this->initMailServiceConfiguration($app, $app->getModule('user')); $this->initMailServiceConfiguration($app, $app->getModule('user'));
if ($app instanceof WebApplication) { if ($app instanceof WebApplication) {