From 452abf7c7f719375fc56dedd0c17d84e5e41bea1 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Thu, 7 Dec 2023 14:56:59 +0100 Subject: [PATCH] fix(core): add translations on the login page Signed-off-by: Grigorii K. Shartsev --- core/Listener/BeforeTemplateRenderedListener.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Listener/BeforeTemplateRenderedListener.php b/core/Listener/BeforeTemplateRenderedListener.php index 0eff47449c714..5f3fb6d967e7a 100644 --- a/core/Listener/BeforeTemplateRenderedListener.php +++ b/core/Listener/BeforeTemplateRenderedListener.php @@ -53,6 +53,7 @@ public function handle(Event $event): void { // todo: make login work without these Util::addScript('core', 'common'); Util::addScript('core', 'main'); + Util::addTranslations('core'); } if ($event instanceof BeforeTemplateRenderedEvent) {