mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-12 18:44:25 +08:00
feat: 完善 OTG UAC 音频支持
This commit is contained in:
@@ -92,6 +92,27 @@ export default {
|
||||
},
|
||||
actionbar: {
|
||||
paste: 'Paste Text',
|
||||
micStart: 'Start Transfer',
|
||||
micStop: 'Stop Transfer',
|
||||
microphoneTransfer: 'Audio Transfer Settings',
|
||||
grantMicrophonePermission: 'Allow Microphone Access',
|
||||
noMicrophoneDevices: 'No audio input devices found',
|
||||
micState: {
|
||||
idle: 'Idle',
|
||||
starting: 'Starting',
|
||||
streaming: 'Streaming',
|
||||
stopping: 'Stopping',
|
||||
error: 'Error',
|
||||
},
|
||||
micError: {
|
||||
'secure-context-required': 'Browsers only allow microphone access on HTTPS pages. Open the console over HTTPS.',
|
||||
unsupported: 'This browser cannot encode microphone audio with WebCodecs. Use a browser with WebCodecs support.',
|
||||
'permission-denied': 'Microphone access was denied. Allow it in your browser site permissions.',
|
||||
'device-unavailable': 'The selected microphone is unavailable. Check the device connection or choose another input.',
|
||||
'connection-failed': 'Could not connect to USB microphone transfer. Check that UAC is enabled and no other session is active.',
|
||||
'encoder-failed': 'The browser audio encoder failed and transfer was stopped.',
|
||||
unknown: 'Microphone transfer failed to start. Check the device and browser permissions.',
|
||||
},
|
||||
virtualMedia: 'Virtual Media',
|
||||
virtualMediaTip: 'Manage virtual media devices',
|
||||
power: 'Power',
|
||||
@@ -142,11 +163,11 @@ export default {
|
||||
relative: 'Relative',
|
||||
applying: 'Applying...',
|
||||
audioConfig: 'Audio',
|
||||
playbackControl: 'Playback',
|
||||
playbackControl: 'Audio Playback Settings',
|
||||
volume: 'Volume',
|
||||
audioDeviceSettings: 'Device Settings',
|
||||
audioEnabled: 'Audio',
|
||||
audioDevice: 'Device',
|
||||
audioDevice: 'Audio Input Device',
|
||||
audioQuality: 'Quality',
|
||||
qualityVoice: 'Voice',
|
||||
qualityBalanced: 'Balanced',
|
||||
@@ -414,6 +435,10 @@ export default {
|
||||
mediaCount: 'Media {count}/{capacity}',
|
||||
mediaSlotsFull: 'Media slots are full; no more media can be mounted',
|
||||
reenumerating: 'USB is re-enumerating',
|
||||
errors: {
|
||||
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.',
|
||||
},
|
||||
},
|
||||
settings: {
|
||||
title: 'Settings',
|
||||
@@ -655,7 +680,6 @@ export default {
|
||||
otgNetworkNone: 'None',
|
||||
otgNetworkInterfacesLoadFailed: 'Failed to load bridge interfaces',
|
||||
uacMic: 'USB Microphone',
|
||||
uacMicDesc: 'Creates a virtual USB microphone on the target machine. Audio from your browser is streamed to the target.',
|
||||
otgDescriptor: 'USB Device Descriptor',
|
||||
vendorId: 'Vendor ID (VID)',
|
||||
productId: 'Product ID (PID)',
|
||||
@@ -890,6 +914,17 @@ export default {
|
||||
networkError: 'Network Error',
|
||||
disconnected: 'Disconnected',
|
||||
hidUnavailable: 'HID Unavailable',
|
||||
audioPlayback: 'Audio Playback',
|
||||
audioTransfer: 'Audio Transfer',
|
||||
playbackActive: 'Playing',
|
||||
playbackStopped: 'Stopped',
|
||||
transferIdle: 'Not Transmitting',
|
||||
transferStarting: 'Starting',
|
||||
transferWaiting: 'Waiting for Target',
|
||||
transferActive: 'Transmitting',
|
||||
transferStalled: 'Target Not Receiving',
|
||||
transferStopping: 'Stopping',
|
||||
transferError: 'Transfer Error',
|
||||
quality: 'Quality',
|
||||
streaming: 'Streaming',
|
||||
off: 'Off',
|
||||
|
||||
Reference in New Issue
Block a user