Updated language

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-15 18:10:43 +01:00
parent cb22a3d556
commit c137fafa97

View file

@ -1094,7 +1094,7 @@ class AssetsController extends Controller
], trans('admin/hardware/message.audit.success')));
}
// Asset was not valid
// Asset failed validation or was not able to be saved
return response()->json(Helper::formatStandardApiResponse('error', [
'asset_tag'=> e($asset->asset_tag),
'error'=> $asset->getErrors()->first(),
@ -1103,7 +1103,7 @@ class AssetsController extends Controller
}
// Asset not found
// No matching asset for the asset tag that was passed.
return response()->json(Helper::formatStandardApiResponse('error', [
'asset_tag'=> e($request->input('asset_tag')),
'error'=> trans('admin/hardware/message.audit.error'),