mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-10-28 00:10:50 +08:00
feat(web): 新增控制台布局切换并完善状态与磁盘交互
新增经典、悬浮和侧栏布局,保存用户偏好,并调整工具栏、状态摘要及窄屏交互。 统一控制台弹层外观、焦点行为和中英文文案。 根据虚拟磁盘文件访问能力显示浏览入口、容量信息和不可用状态。 验证:npm run build 通过(vue-tsc 类型检查和 Vite 生产构建)。
This commit is contained in:
@@ -96,12 +96,19 @@ export default {
|
||||
backToPassword: 'Back to password',
|
||||
},
|
||||
status: {
|
||||
no_signal: 'No signal',
|
||||
busy: 'Device busy',
|
||||
connected: 'Connected',
|
||||
connecting: 'Connecting',
|
||||
disconnected: 'Disconnected',
|
||||
error: 'Error',
|
||||
},
|
||||
actionbar: {
|
||||
muted: 'Muted',
|
||||
more: 'More actions',
|
||||
collapseToolbar: 'Collapse toolbar',
|
||||
expandToolbar: 'Expand toolbar',
|
||||
|
||||
paste: 'Paste Text',
|
||||
micStart: 'Start Transfer',
|
||||
micStop: 'Stop Transfer',
|
||||
@@ -190,6 +197,8 @@ export default {
|
||||
selectAudioDevice: 'Select device...',
|
||||
},
|
||||
infobar: {
|
||||
pointerCaptured: 'Mouse captured · Esc to release',
|
||||
|
||||
keys: 'Keys',
|
||||
pointer: 'Pointer',
|
||||
caps: 'Caps',
|
||||
@@ -439,6 +448,7 @@ export default {
|
||||
uploadFailed: 'File upload failed',
|
||||
driveUnreadable: 'Format unsupported',
|
||||
driveUnreadableTooltip: 'Unable to parse the exFAT filesystem. It may have been formatted with an unsupported format.',
|
||||
driveFilesystemUnsupportedHint: 'Web file browsing does not support this filesystem, but you can still connect the drive to the target machine.',
|
||||
reinitializeDrive: 'Re-initialize',
|
||||
diskMode: 'Drive Mode',
|
||||
singleDiskMode: 'Single',
|
||||
@@ -484,7 +494,7 @@ export default {
|
||||
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.',
|
||||
driveFilesystemUnsupported: 'Web file management does not support this format, but the drive can still be mounted on the controlled computer.',
|
||||
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.',
|
||||
@@ -551,6 +561,18 @@ export default {
|
||||
networkAddresses: 'Network Addresses',
|
||||
language: 'Language',
|
||||
theme: 'Theme',
|
||||
consoleLayout: 'Console layout',
|
||||
consoleLayoutDesc: 'Choose how console controls are arranged. The preference is saved in this browser.',
|
||||
consoleLayoutHints: {
|
||||
current: 'Full status and labeled tools for configuration and troubleshooting.',
|
||||
sidebar: 'Compact status and fixed icons for frequent actions.',
|
||||
floating: 'Essential floating controls that collapse to keep the video clear.',
|
||||
},
|
||||
consoleLayoutOptions: {
|
||||
current: 'Top bar',
|
||||
floating: 'Floating bar',
|
||||
sidebar: 'Sidebar',
|
||||
},
|
||||
lightMode: 'Light',
|
||||
darkMode: 'Dark',
|
||||
systemMode: 'System',
|
||||
@@ -948,6 +970,8 @@ export default {
|
||||
},
|
||||
},
|
||||
statusCard: {
|
||||
connectionDetails: 'Connection details',
|
||||
|
||||
device: 'Device',
|
||||
video: 'Video',
|
||||
hid: 'HID',
|
||||
|
||||
Reference in New Issue
Block a user