feat: 虚拟媒体支持同时挂载多个镜像

This commit is contained in:
mofeng-git
2026-07-12 11:40:01 +08:00
parent c9ae9dd893
commit 7c9166a8cf
24 changed files with 1513 additions and 1036 deletions

View File

@@ -427,15 +427,12 @@ export default {
msd: {
title: 'Virtual Media',
images: 'ISO/IMG Mount',
imagesDesc: 'Mount ISO/IMG images to target device',
drive: 'Virtual USB',
driveDesc: 'Transfer files to target device like a USB drive, supports Ventoy boot',
imageList: 'Image List',
uploadImage: 'Upload Image',
noImages: 'No images',
connect: 'Connect',
disconnect: 'Disconnect',
connectedTo: 'Connected to',
cdrom: 'CD-ROM',
flash: 'Flash',
storageMode: 'Storage Mode',
@@ -452,14 +449,10 @@ export default {
freeSpace: 'Free',
deleteDrive: 'Delete Drive',
confirmDeleteDrive: 'Are you sure you want to delete the virtual drive? All files will be erased.',
driveDeleted: 'Drive deleted',
systemAvailable: 'System Available',
emptyFolder: 'Empty folder',
confirmDelete: 'Are you sure you want to delete "{name}"?',
folderName: 'Folder name',
uploadImageHint: 'Click to upload ISO/IMG',
imageMounted: 'Image {name} mounted',
imageUnmounted: 'Image unmounted',
downloadFromUrl: 'Download from URL',
downloadFromUrlDesc: 'Enter the URL of an image file (ISO/IMG supported)',
url: 'URL',
@@ -467,31 +460,28 @@ export default {
filenameAutoDetect: 'Auto-detect from URL',
download: 'Download',
downloadComplete: 'Download complete',
downloadFailed: 'Download failed',
largeFileWarning: '>2.2GB',
largeFileTooltip: 'File is larger than 2.2GB, please use Flash mode to mount',
error: 'MSD Error',
errorDesc: '{reason}',
recovered: 'MSD Recovered',
recoveredDesc: 'MSD operation completed successfully',
operationInProgress: 'Operation in progress, please wait',
driveConnected: 'Virtual USB drive connected',
imageConnected: 'Image {name} connected',
selectDriveSize: 'Select virtual drive size',
customSize: 'Custom size',
driveSpaceUnknown: 'Unable to read available space for the MSD directory filesystem',
driveSpaceUnavailable: 'Not enough space on the MSD directory filesystem to create a virtual drive',
driveSpaceTooSmall: 'Available space is less than {min} MB; cannot create a virtual drive',
driveCreateFailed: 'Failed to create virtual drive. Check available space for the MSD directory',
driveCreated: 'Virtual drive created ({size} MB)',
fileDeleted: 'File deleted',
imageDeleted: 'Image deleted',
driveConnectedBlocked: 'Disconnect the drive before editing files',
driveConnectedFilesHidden: 'Drive is connected to target machine — file list unavailable',
uploadFailed: 'File upload failed',
driveUnreadable: 'Format unsupported',
driveUnreadableTooltip: 'Unable to parse the exFAT filesystem. It may have been formatted with an unsupported format.',
reinitializeDrive: 'Re-initialize',
diskMode: 'Drive Mode',
singleDiskMode: 'Single',
multiDiskMode: 'Multi',
diskModeHint: 'Single drive provides 1 media slot; multi drive provides 8. Switching modes clears mounted media and re-enumerates USB.',
mountImage: 'Mount Image',
mediaCount: 'Media {count}/{capacity}',
mediaSlotsFull: 'Media slots are full; no more media can be mounted',
reenumerating: 'USB is re-enumerating',
},
settings: {
title: 'Settings',
@@ -949,6 +939,7 @@ export default {
msdStandby: 'Idle',
msdImageMode: 'Image Mode',
msdDriveMode: 'Virtual USB',
msdMultiMode: 'Virtual Media: {count} mounted',
msdMountType: 'Mount Type',
msdCurrentImage: 'Current Image',
msdNoImage: 'None',