translation

This commit is contained in:
spencerrlongg 2024-08-13 14:07:40 -05:00
parent 09f2739298
commit 120cfd13c5
2 changed files with 2 additions and 1 deletions

View file

@ -241,7 +241,7 @@ class UsersController extends Controller
$this->authorize('update', $user);
if ($request->has('company_id') && $user->allAssignedCount() > 0 && Setting::getSettings()->full_multiple_companies_support) {
return back()->with('error', 'this user has assets, check them in first');
return back()->with('error', trans('admin/users/message.multi_company_items_assigned'));
}
// Figure out of this user was an admin before this edit

View file

@ -53,6 +53,7 @@ return array(
'ldap_could_not_search' => 'Could not search the LDAP server. Please check your LDAP server configuration in the LDAP config file. <br>Error from LDAP Server:',
'ldap_could_not_get_entries' => 'Could not get entries from the LDAP server. Please check your LDAP server configuration in the LDAP config file. <br>Error from LDAP Server:',
'password_ldap' => 'The password for this account is managed by LDAP/Active Directory. Please contact your IT department to change your password. ',
'multi_company_items_assigned' => 'This user has items assigned, please check them in before moving companies.'
),
'deletefile' => array(