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.',
},