Browse Source

"Delegations" is renamed to "Accounts"

pull/8313/head
Michael 3 years ago
parent
commit
c57246450f
  1. 2
      mod/settings.php
  2. 2
      src/Content/Nav.php
  3. 2
      src/Module/BaseSettings.php

2
mod/settings.php

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

2
src/Content/Nav.php

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

2
src/Module/BaseSettings.php

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

Loading…
Cancel
Save