From e8dc634a40f9b1eca46a5309adad9616c7791755 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 14:30:53 -0700 Subject: [PATCH] fixes translation usage --- app/Http/Controllers/LocationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index 7a3691684f..83614f7e43 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -351,7 +351,7 @@ class LocationsController extends Controller if ($error_count > 0) { return redirect() ->route('locations.index') - ->with('warning', trans('general.bulk.partial_success', + ->with('warning', trans('general.bulk.partial', ['success' => $success_count, 'error' => $error_count, 'object_type' => trans('general.locations')] )); }