fixed symfony translator now using catalogues

This commit is contained in:
Daniel Klabbers 2017-11-01 17:07:22 +01:00
parent ab42c3bc8b
commit 949244ae56

View File

@ -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);