Skip to content

Commit 535b234

Browse files
Merge pull request #59639 from nextcloud/fix-app-name-not-translated-in-the-title-of-public-pages
Fix app name not translated in the title of public pages
2 parents 6c6c8db + c7c3300 commit 535b234

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/private/TemplateLayout.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ public function getPageTemplate(string $renderAs, string $appId): ITemplate {
163163
$page->assign('appid', $appId);
164164
$page->assign('bodyid', 'body-public');
165165

166+
$this->initialState->provideInitialState('core', 'apps', [$this->navigationManager->get($appId)]);
167+
166168
// Set logo link target
167169
$logoUrl = $this->config->getSystemValueString('logo_url', '');
168170
$page->assign('logoUrl', $logoUrl);

0 commit comments

Comments
 (0)