mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Updated language
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cb22a3d556
commit
c137fafa97
|
@ -1094,7 +1094,7 @@ class AssetsController extends Controller
|
||||||
], trans('admin/hardware/message.audit.success')));
|
], 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', [
|
return response()->json(Helper::formatStandardApiResponse('error', [
|
||||||
'asset_tag'=> e($asset->asset_tag),
|
'asset_tag'=> e($asset->asset_tag),
|
||||||
'error'=> $asset->getErrors()->first(),
|
'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', [
|
return response()->json(Helper::formatStandardApiResponse('error', [
|
||||||
'asset_tag'=> e($request->input('asset_tag')),
|
'asset_tag'=> e($request->input('asset_tag')),
|
||||||
'error'=> trans('admin/hardware/message.audit.error'),
|
'error'=> trans('admin/hardware/message.audit.error'),
|
||||||
|
|
Loading…
Reference in a new issue