mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
fixed symfony translator now using catalogues
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user