Merge pull request #55730 from nextcloud/fix-translate-on-unsupported-screen

fix: translation on /unsupported screen
pull/55810/head
Julius Knorr 2025-10-21 08:34:54 +07:00 committed by GitHub
commit 332ab743c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

@ -32,6 +32,7 @@ class UnsupportedBrowserController extends Controller {
#[NoCSRFRequired] #[NoCSRFRequired]
#[FrontpageRoute(verb: 'GET', url: 'unsupported')] #[FrontpageRoute(verb: 'GET', url: 'unsupported')]
public function index(): Response { public function index(): Response {
Util::addTranslations('core');
Util::addScript('core', 'unsupported-browser'); Util::addScript('core', 'unsupported-browser');
Util::addStyle('core', 'icons'); Util::addStyle('core', 'icons');