Merge pull request #33790 from nextcloud/Valdnet-patch-2

l10n: Spelling unification
This commit is contained in:
Simon L 2022-09-02 17:01:52 +02:00 committed by GitHub
commit 6132b6a4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ class Delegation implements IIconSection {
* @return string
*/
public function getName() {
return $this->l->t('Admin privileges');
return $this->l->t('Administration privileges');
}
/**

View File

@ -228,7 +228,7 @@ class NavigationManager implements INavigationManager {
'id' => 'admin_settings',
'order' => 3,
'href' => $this->urlGenerator->linkToRoute('settings.AdminSettings.index', ['section' => 'overview']),
'name' => $l->t('Admin settings'),
'name' => $l->t('Administration settings'),
'icon' => $this->urlGenerator->imagePath('settings', 'admin.svg'),
]);
} else {

View File

@ -148,7 +148,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
*/
public function iVisitTheAdminSettingsPage() {
$this->iOpenTheSettingsMenu();
$this->actor->find(self::menuItemFor('Admin settings'), 2)->click();
$this->actor->find(self::menuItemFor('Administration settings'), 2)->click();
}
/**

View File

@ -8,7 +8,7 @@ Feature: header
And I see that the Settings menu has only 8 items
And I see that the "Set status" item in the Settings menu is shown
And I see that the "Personal settings" item in the Settings menu is shown
And I see that the "Admin settings" item in the Settings menu is shown
And I see that the "Administration settings" item in the Settings menu is shown
And I see that the "Apps" item in the Settings menu is shown
And I see that the "Users" item in the Settings menu is shown
And I see that the "Help" item in the Settings menu is shown

View File

@ -299,7 +299,7 @@ class NavigationManagerTest extends TestCase {
'order' => 3,
'href' => '/apps/test/',
'icon' => '/apps/settings/img/admin.svg',
'name' => 'Admin settings',
'name' => 'Administration settings',
'active' => false,
'type' => 'settings',
'classes' => '',