Use existing translation string

This commit is contained in:
Marcus Moore
2025-03-05 16:10:36 -08:00
parent f038254038
commit d1683d1c65
3 changed files with 2 additions and 3 deletions
@@ -192,7 +192,7 @@ class AccessoriesController extends Controller
if ($accessory->checkouts_count > 0) {
return redirect()->route('accessories.index')->with('error', trans('admin/accessories/message.assoc_checkouts', ['count' => $accessory->checkouts_count]));
return redirect()->route('accessories.index')->with('error', trans('admin/accessories/general.delete_disabled'));
}
if ($accessory->image) {