mirror of https://github.com/jetkvm/kvm.git
Added comprehensive translations for audio settings page: - Page title and description - Audio output/input settings - Audio source selector (HDMI/USB labels) - Success/error messages for all operations - Translations added for all 9 languages Updated devices.$id.settings.audio.tsx: - Import and use translation keys (m.audio_settings_*) - Use existing audio_output_* and audio_input_* keys for notifications - Fix dropdown not updating: update UI optimistically, revert on error - This prevents the dropdown from appearing stuck after source change The optimistic update pattern improves UX by immediately reflecting the user's choice while the backend processes the change. |
||
|---|---|---|
| .. | ||
| localization | ||
| public | ||
| src | ||
| tools | ||
| .env.cloud-development | ||
| .env.cloud-production | ||
| .env.cloud-staging | ||
| .gitignore | ||
| .prettierrc | ||
| dev_device.sh | ||
| eslint.config.cjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite-env.d.ts | ||
| vite.config.ts | ||