[Legacy] Change labelkey to Profile_Edit

This commit is contained in:
yunusyerli1 2023-03-10 15:37:14 +03:00 committed by Clemente Raposo
parent 1b92239b5b
commit 52a014da3d
3 changed files with 4 additions and 3 deletions

View file

@ -447,7 +447,7 @@ class NavbarHandler extends LegacyHandler implements NavigationProviderInterface
$actions['LBL_PROFILE'] = [
'name' => 'profile',
'labelKey' => 'LBL_PROFILE',
'labelKey' => 'LBL_PROFILE_EDIT',
'url' => 'index.php?module=Users&action=EditView&record=' . $current_user->id,
'icon' => '',
];

View file

@ -1666,7 +1666,8 @@ $app_strings = array(
'LBL_VERIFY' => 'Verify',
'LBL_RESEND' => 'Resend',
'LBL_RECORD_DOES_NOT_EXIST' => 'Error retrieving record. This record may be deleted or you may not be authorized to view it.',
'LBL_PROFILE' => 'Edit Profile',
'LBL_PROFILE' => 'Profile',
'LBL_PROFILE_EDIT' => 'Edit Profile',
'LBL_MAILMERGE' => 'Mail Merge',
'LBL_MASS_UPDATE' => 'Mass Update',
'LBL_NO_MASS_UPDATE_FIELDS_AVAILABLE' => 'There are no fields available for the Mass Update operation',

View file

@ -253,7 +253,7 @@ final class NavbarTest extends Unit
$expected = [
[
'name' => 'profile',
'labelKey' => 'LBL_PROFILE',
'labelKey' => 'LBL_PROFILE_EDIT',
'url' => 'index.php?module=Users&action=EditView&record=',
'icon' => '',
],