mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
translation
This commit is contained in:
parent
09f2739298
commit
120cfd13c5
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue