Skip to content

Commit c126084

Browse files
Merge pull request #59756 from nextcloud/backport/59639/stable33
[stable33] Fix app name not translated in the title of public pages
2 parents d7b97ff + d22e22c commit c126084

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
@@ -157,6 +157,8 @@ public function getPageTemplate(string $renderAs, string $appId): ITemplate {
157157
$page->assign('appid', $appId);
158158
$page->assign('bodyid', 'body-public');
159159

160+
$this->initialState->provideInitialState('core', 'apps', [$this->navigationManager->get($appId)]);
161+
160162
// Set logo link target
161163
$logoUrl = $this->config->getSystemValueString('logo_url', '');
162164
$page->assign('logoUrl', $logoUrl);

0 commit comments

Comments
 (0)