Fixed missing trans()

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-30 14:20:15 -07:00
parent 46d055cf74
commit 656efc5f92

View file

@ -632,7 +632,7 @@ class UsersController extends Controller
{
$user= User::where('id', $id)->first();
$user->notify((new CurrentInventory($user)));
return redirect()->back()->with('success', 'admin/users/general.user_notified');
return redirect()->back()->with('success', trans('admin/users/general.user_notified'));
}
return redirect()->back()->with('error', 'admin/accessories/message.user_does_not_exist');