Merge pull request #8313 from annando/delegation-accounts

"Delegations" is renamed to "Accounts"
This commit is contained in:
Hypolite Petovan 2020-02-19 09:32:52 -05:00 committed by GitHub
commit abe1e37dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View 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',

View 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')];

View 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',