A free open source IT asset/license management system
translation
spencerrlongg120cfd13c544
diff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.phpindex 9ff0152484..631ab3bc31 100755--- a/app/Http/Controllers/Users/UsersController.php+++ b/app/Http/Controllers/Users/UsersController.php@@ -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 editdiff --git a/resources/lang/en-US/admin/users/message.php b/resources/lang/en-US/admin/users/message.phpindex 4d014775bd..0f41d463e1 100644--- a/resources/lang/en-US/admin/users/message.php+++ b/resources/lang/en-US/admin/users/message.php@@ -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(