From 949244ae56878b0ace75c6789973c514b3ba78fd Mon Sep 17 00:00:00 2001 From: Daniel Klabbers Date: Wed, 1 Nov 2017 17:07:22 +0100 Subject: [PATCH] fixed symfony translator now using catalogues --- framework/core/src/Frontend/AbstractFrontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Frontend/AbstractFrontend.php b/framework/core/src/Frontend/AbstractFrontend.php index af4fc954e..8b112a0e7 100644 --- a/framework/core/src/Frontend/AbstractFrontend.php +++ b/framework/core/src/Frontend/AbstractFrontend.php @@ -158,7 +158,7 @@ abstract class AbstractFrontend */ private function addTranslations(FrontendView $view) { - $translations = array_get($this->locales->getTranslator()->getMessages(), 'messages', []); + $translations = array_get($this->locales->getTranslator()->getCatalogue()->all(), 'messages', []); $translations = $this->filterTranslations($translations);