Update locale files for English, Traditional Chinese, and Simplified Chinese to add new confirmation prompts for volume adjustments; refactor Home and EQPage components to integrate volume confirmation dialogs and enhance user interaction for setting volume levels.

This commit is contained in:
yangy
2026-05-26 10:20:05 +08:00
parent c34571392d
commit 8fcad50e7d
6 changed files with 536 additions and 75 deletions
+22 -2
View File
@@ -18,6 +18,12 @@
"powerOffConfirmDesc": "The device will shut down and disconnect from this app. Do you want to continue?",
"powerOffConfirmOk": "Turn off",
"powerOffConfirmCancel": "Cancel",
"volumeMinConfirmTitle": "Set volume to minimum?",
"volumeMinConfirmDesc": "Headphone volume will be set to the lowest level (mute). Continue?",
"volumeMinConfirmOk": "Set to minimum",
"volumeMaxConfirmTitle": "Set volume to maximum?",
"volumeMaxConfirmDesc": "Headphone volume will be set to the highest level. Continue?",
"volumeMaxConfirmOk": "Set to maximum",
"powerOffToastDemo": "Demo mode: disconnected from the device.",
"powerOffToastSent": "Shutdown command sent.",
"doubleClickHint": "Double-click to enter",
@@ -43,6 +49,10 @@
"source": {
"label": "Input/Output",
"pageTitle": "I/O",
"inputSection": "Input",
"outputSection": "Output",
"inputOptions": ["USB-B", "USB-C", "Coaxial", "Optical", "Bluetooth", "IIS"],
"outputOptions": ["XLR", "RCA", "Headset", "XLR/RCA"],
"input": {
"coaxial": "COAXIAL",
"optical": "OPTICAL",
@@ -50,7 +60,7 @@
"rca": "RCA"
},
"output": {
"headset": "HeadSet"
"headset": "Headset"
}
},
"effect": {
@@ -306,7 +316,17 @@
"toastSaveBFail": "Failed to save curve B",
"enableConfirmTitle": "HP-EQ is off",
"enableConfirmDesc": "HP-EQ is currently disabled. Turn it on?",
"enableConfirmOk": "Enable"
"enableConfirmOk": "Enable",
"paramInputTitleFreq": "Set frequency",
"paramInputTitleGain": "Set gain",
"paramInputTitleQ": "Set Q value",
"paramInputHintFreq": "Range: 20 20000 Hz. Use k for kHz (e.g. 9.5k).",
"paramInputHintGain": "Range: -15.0 +15.0 dB",
"paramInputHintQ": "Range: 0.10 10.00",
"paramInputInvalid": "Enter a valid number",
"paramInputOutOfRangeFreq": "Frequency must be between {{min}} and {{max}} Hz",
"paramInputOutOfRangeGain": "Gain must be between {{min}} and {{max}} dB",
"paramInputOutOfRangeQ": "Q must be between {{min}} and {{max}}"
}
},
"dac": {