diff --git a/app/Http/Controllers/Bo/CategoryApproachesController.php b/app/Http/Controllers/Bo/CategoryApproachesController.php index 574ecd7c..591a1257 100644 --- a/app/Http/Controllers/Bo/CategoryApproachesController.php +++ b/app/Http/Controllers/Bo/CategoryApproachesController.php @@ -98,7 +98,7 @@ class CategoryApproachesController extends Controller }); return redirect()->back() ->with('error', trans('crud.messages.cannot_be_created', [ - 'model' => Str::ucfirst(trans('validation.custom.custom')) + 'model' => Str::ucfirst(trans('validation.custom.category')) ])); } @@ -162,7 +162,7 @@ class CategoryApproachesController extends Controller if (CategoryApproach::count() === CategoryApproach::MIN_CATEGORIES) { return redirect() ->route('bo.categories.approaches.index') - ->with('error', "Limite atteinte : vous ne pouvez pas supprimer tous les catégories (une catégorie minimum)."); + ->with('error', "Limite atteinte : vous ne pouvez pas supprimer toutes les catégories (une catégorie minimum)."); } if ($categories_approach->delete()) { return redirect()