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