mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
fixed symfony translator now using catalogues
This commit is contained in:
parent
ab42c3bc8b
commit
949244ae56
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user