"Delegations" is renamed to "Accounts"
authorMichael <heluecht@pirati.ca>
Wed, 19 Feb 2020 07:09:29 +0000 (07:09 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 19 Feb 2020 07:09:29 +0000 (07:09 +0000)
mod/settings.php
src/Content/Nav.php
src/Module/BaseSettings.php

index d06f588..d5e2ceb 100644 (file)
@@ -127,7 +127,7 @@ function settings_init(App $a)
        ];
 
        $tabs[] =       [
-               'label' => DI::l10n()->t('Delegations'),
+               'label' => DI::l10n()->t('Manage Accounts'),
                'url'   => 'settings/delegation',
                'selected'      => (($a->argc > 1) && ($a->argv[1] === 'delegation')?'active':''),
                'accesskey' => 'd',
index 37bf081..c3e0218 100644 (file)
@@ -271,7 +271,7 @@ class Nav
                        $nav['messages']['new'] = ['message/new', DI::l10n()->t('New Message'), '', DI::l10n()->t('New Message')];
 
                        if (is_array($a->identities) && count($a->identities) > 1) {
-                               $nav['delegation'] = ['delegation', DI::l10n()->t('Delegation'), '', DI::l10n()->t('Manage other pages')];
+                               $nav['delegation'] = ['delegation', DI::l10n()->t('Accounts'), '', DI::l10n()->t('Manage other pages')];
                        }
 
                        $nav['settings'] = ['settings', DI::l10n()->t('Settings'), '', DI::l10n()->t('Account settings')];
index 8621427..aad67b2 100644 (file)
@@ -91,7 +91,7 @@ class BaseSettings extends BaseModule
                ];
 
                $tabs[] = [
-                       'label' => DI::l10n()->t('Delegations'),
+                       'label' => DI::l10n()->t('Manage Accounts'),
                        'url' => 'settings/delegation',
                        'selected' => (($a->argc > 1) && ($a->argv[1] === 'delegation') ? 'active' : ''),
                        'accesskey' => 'd',