fix: 修复 MSD ISO/FLASH 挂载识别错误;完善错误提示

This commit is contained in:
mofeng-git
2026-07-26 22:59:27 +08:00
parent 27c8da9a75
commit 376dc97134
24 changed files with 1703 additions and 522 deletions

View File

@@ -435,7 +435,48 @@ export default {
mediaCount: 'Media {count}/{capacity}',
mediaSlotsFull: 'Media slots are full; no more media can be mounted',
reenumerating: 'USB is re-enumerating',
operations: {
loadStatus: 'Failed to load virtual media status',
loadImages: 'Failed to load image list',
uploadImage: 'Image upload failed',
deleteImage: 'Image deletion failed',
mountImage: 'Image mounting failed',
unmountImage: 'Image unmounting failed',
mountDrive: 'Virtual drive mounting failed',
unmountDrive: 'Virtual drive unmounting failed',
changeMode: 'Drive mode change failed',
initializeDrive: 'Virtual drive initialization failed',
deleteDrive: 'Virtual drive deletion failed',
loadDriveFiles: 'Failed to load virtual drive files',
uploadDriveFile: 'File upload failed',
deleteDriveFile: 'File deletion failed',
createDirectory: 'Folder creation failed',
startDownload: 'Failed to start image download',
cancelDownload: 'Failed to cancel image download',
downloadImage: 'Image download failed',
},
errors: {
unavailable: 'Virtual media service is unavailable.',
operationInProgress: 'Another virtual media operation is in progress.',
operationFailed: 'The virtual media operation failed.',
invalidRequest: 'The virtual media request is invalid.',
resourceNotFound: 'The requested virtual media resource was not found.',
resourceAlreadyExists: 'The virtual media resource already exists.',
mediaSlotsFull: 'All virtual media slots are in use.',
mediaAlreadyMounted: 'The virtual medium is already mounted.',
mediaInUse: 'The virtual medium is currently in use.',
imageTooLarge: 'The virtual media image is too large.',
invalidUrl: 'The download URL is invalid.',
remoteDownloadFailed: 'The remote image download failed.',
downloadIncomplete: 'The remote image download was incomplete.',
driveNotInitialized: 'The virtual drive is not initialized.',
driveConnected: 'The virtual drive is connected to the controlled computer. Disconnect it before editing files.',
driveFilesystemUnsupported: 'The virtual drive filesystem is unsupported. Reinitialize it to continue.',
driveSizeInvalid: 'The virtual drive size is invalid.',
storageSpaceUnavailable: 'Available virtual media storage space could not be determined.',
storageFull: 'Virtual media storage does not have enough free space.',
storageReadOnly: 'Virtual media storage is read-only.',
storagePermissionDenied: 'Permission to access virtual media storage was denied.',
mediumRemovalPrevented: 'The controlled computer is using this virtual medium and has prevented its removal. Eject or unmount it on the controlled computer, then try again.',
disconnectFailed: 'Virtual media could not be disconnected. Please try again or check the system logs.',
},

View File

@@ -434,7 +434,48 @@ export default {
mediaCount: '介质 {count}/{capacity}',
mediaSlotsFull: '介质槽已满,无法挂载更多介质',
reenumerating: 'USB 正在重新枚举',
operations: {
loadStatus: '虚拟媒体状态加载失败',
loadImages: '镜像列表加载失败',
uploadImage: '镜像上传失败',
deleteImage: '镜像删除失败',
mountImage: '镜像挂载失败',
unmountImage: '镜像卸载失败',
mountDrive: '虚拟盘挂载失败',
unmountDrive: '虚拟盘卸载失败',
changeMode: '驱动器模式切换失败',
initializeDrive: '虚拟盘初始化失败',
deleteDrive: '虚拟盘删除失败',
loadDriveFiles: '虚拟盘文件列表加载失败',
uploadDriveFile: '虚拟盘文件上传失败',
deleteDriveFile: '虚拟盘文件删除失败',
createDirectory: '文件夹创建失败',
startDownload: '镜像下载启动失败',
cancelDownload: '镜像下载取消失败',
downloadImage: '镜像下载失败',
},
errors: {
unavailable: '虚拟媒体服务当前不可用。',
operationInProgress: '另一项虚拟媒体操作正在进行中,请稍候。',
operationFailed: '虚拟媒体操作失败。',
invalidRequest: '虚拟媒体请求无效。',
resourceNotFound: '未找到请求的虚拟媒体资源。',
resourceAlreadyExists: '虚拟媒体资源已存在。',
mediaSlotsFull: '虚拟媒体槽位已全部占用。',
mediaAlreadyMounted: '该虚拟介质已经挂载。',
mediaInUse: '该虚拟介质正在使用中。',
imageTooLarge: '虚拟媒体镜像过大。',
invalidUrl: '下载 URL 无效。',
remoteDownloadFailed: '远程镜像下载失败。',
downloadIncomplete: '远程镜像下载不完整。',
driveNotInitialized: '虚拟盘尚未初始化。',
driveConnected: '虚拟盘已连接到被控机,请先断开连接再操作文件。',
driveFilesystemUnsupported: '虚拟盘文件系统不受支持,请重新初始化后再操作。',
driveSizeInvalid: '虚拟盘大小无效。',
storageSpaceUnavailable: '无法获取虚拟媒体存储空间信息。',
storageFull: '虚拟媒体存储空间不足。',
storageReadOnly: '虚拟媒体存储为只读。',
storagePermissionDenied: '没有访问虚拟媒体存储的权限。',
mediumRemovalPrevented: '被控机正在使用该虚拟介质,并拒绝移除。请先在被控机中弹出或卸载该介质,然后重试。',
disconnectFailed: '虚拟介质断开失败,请重试或检查系统日志。',
},