Use new upload string

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-11-03 13:57:50 -07:00
parent 3c7d63c060
commit 04b6f023ae

View file

@ -62,7 +62,7 @@ class AssetModelsFilesController extends Controller
$model->logUpload($file_name, e($request->get('notes'))); $model->logUpload($file_name, e($request->get('notes')));
} }
return redirect()->back()->with('success', trans('admin/hardware/message.upload.success')); return redirect()->back()->with('success', trans('general.file_upload_success'));
} }
return redirect()->back()->with('error', trans('admin/hardware/message.upload.nofiles')); return redirect()->back()->with('error', trans('admin/hardware/message.upload.nofiles'));