diff options
author | Andrii Rublov <airublev@outlook.com> | 2024-02-14 16:38:46 +0100 |
---|---|---|
committer | Andrii Rublov <github.a@rublov.me> | 2024-02-23 18:39:23 +0100 |
commit | 8d22d341c80b8d7c791e57829ef244d97d3fa4f1 (patch) | |
tree | d36cd8ea053e18986bb5295c08a44ff108cbfd01 /apps | |
parent | 18434d1ef314016fb287e764cfa1de8b74dfd0f4 (diff) | |
download | nextcloud-server-8d22d341c80b8d7c791e57829ef244d97d3fa4f1.tar.gz nextcloud-server-8d22d341c80b8d7c791e57829ef244d97d3fa4f1.zip |
[Bugfix]: Titles of pages (dashboard, apps-settings, users-settings) #43327
Signed-off-by: Andrii Rublov <airublev@outlook.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Controller/AppSettingsController.php | 2 | ||||
-rw-r--r-- | apps/settings/lib/Controller/UsersController.php | 2 | ||||
-rw-r--r-- | apps/settings/tests/Controller/AppSettingsControllerTest.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 1e4387bdcfd..ad424809b2a 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -139,7 +139,7 @@ class AppSettingsController extends Controller { $params['bundles'] = $this->getBundles(); $this->navigationManager->setActiveEntry('core_apps'); - $templateResponse = new TemplateResponse('settings', 'settings-vue', ['serverData' => $params, 'pageTitle' => $this->l10n->t('Apps')]); + $templateResponse = new TemplateResponse('settings', 'settings-vue', ['serverData' => $params, 'pageTitle' => $this->l10n->t('Settings')]); $policy = new ContentSecurityPolicy(); $policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com'); $templateResponse->setContentSecurityPolicy($policy); diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index c6abe6bff4f..a3fabd5a8df 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -280,7 +280,7 @@ class UsersController extends Controller { $serverData['newUserRequireEmail'] = $this->config->getAppValue('core', 'newUser.requireEmail', 'no') === 'yes'; $serverData['newUserSendEmail'] = $this->config->getAppValue('core', 'newUser.sendEmail', 'yes') === 'yes'; - return new TemplateResponse('settings', 'settings-vue', ['serverData' => $serverData, 'pageTitle' => $this->l10n->t('Users')]); + return new TemplateResponse('settings', 'settings-vue', ['serverData' => $serverData, 'pageTitle' => $this->l10n->t('Settings')]); } /** diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php index 8d0dae223d3..3e458d0ce15 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -210,7 +210,7 @@ class AppSettingsControllerTest extends TestCase { 'bundles' => [], 'developerDocumentation' => '' ], - 'pageTitle' => 'Apps' + 'pageTitle' => 'Settings' ], 'user'); $expected->setContentSecurityPolicy($policy); @@ -245,7 +245,7 @@ class AppSettingsControllerTest extends TestCase { 'bundles' => [], 'developerDocumentation' => '' ], - 'pageTitle' => 'Apps' + 'pageTitle' => 'Settings' ], 'user'); $expected->setContentSecurityPolicy($policy); |