diff --git a/backend/utils/files/archiver.go b/backend/utils/files/archiver.go index 55df9cafb..9affc8836 100644 --- a/backend/utils/files/archiver.go +++ b/backend/utils/files/archiver.go @@ -32,5 +32,5 @@ func checkCmdAvailability(cmdStr string) error { if cmd.Which(cmdStr) { return nil } - return buserr.WithName(cmdStr, constant.ErrCmdNotFound) + return buserr.WithName(constant.ErrCmdNotFound, cmdStr) } diff --git a/frontend/src/views/host/file-management/recycle-bin/index.vue b/frontend/src/views/host/file-management/recycle-bin/index.vue index bc55cdb53..eda9b6c12 100644 --- a/frontend/src/views/host/file-management/recycle-bin/index.vue +++ b/frontend/src/views/host/file-management/recycle-bin/index.vue @@ -6,7 +6,7 @@ {{ $t('file.clearRecycleBin') }} - + {{ $t('commons.button.delete') }}