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": "设备将关机并断开与本应用的连接,是否继续?",
"powerOffConfirmOk": "关闭电源",
"powerOffConfirmCancel": "取消",
"volumeMinConfirmTitle": "确认将音量设为最小?",
"volumeMinConfirmDesc": "耳机音量将调至最低(静音),是否继续?",
"volumeMinConfirmOk": "设为最小",
"volumeMaxConfirmTitle": "确认将音量设为最大?",
"volumeMaxConfirmDesc": "耳机音量将调至最大,是否继续?",
"volumeMaxConfirmOk": "设为最大",
"powerOffToastDemo": "演示模式:已断开与设备的连接",
"powerOffToastSent": "已发送关机指令",
"doubleClickHint": "双击进入",
@@ -43,7 +49,11 @@
"source": {
"label": "输入输出",
"pageTitle": "输入输出",
"input": { "coaxial": "同轴", "optical": "光钎", "bluetooth": "蓝牙", "rca": "模拟RCA" },
"inputSection": "输入",
"outputSection": "输出",
"inputOptions": ["USB-B", "USB-C", "同轴", "光纤", "蓝牙", "IIS"],
"outputOptions": ["XLR", "RCA", "耳机", "XLR/RCA"],
"input": { "coaxial": "同轴", "optical": "光纤", "bluetooth": "蓝牙", "rca": "模拟RCA" },
"output": { "headset": "耳机" }
},
"effect": {
@@ -242,7 +252,17 @@
"toastSaveBFail": "另存 B 失败",
"enableConfirmTitle": "HP-EQ 未开启",
"enableConfirmDesc": "当前 HP-EQ 功能已关闭,是否开启?",
"enableConfirmOk": "开启"
"enableConfirmOk": "开启",
"paramInputTitleFreq": "设置频率",
"paramInputTitleGain": "设置增益",
"paramInputTitleQ": "设置 Q 值",
"paramInputHintFreq": "范围:20 20000 Hz,可使用 k 表示 kHz(如 9.5k",
"paramInputHintGain": "范围:-15.0 +15.0 dB",
"paramInputHintQ": "范围:0.10 10.00",
"paramInputInvalid": "请输入有效数值",
"paramInputOutOfRangeFreq": "频率需在 {{min}} {{max}} Hz 之间",
"paramInputOutOfRangeGain": "增益需在 {{min}} {{max}} dB 之间",
"paramInputOutOfRangeQ": "Q 值需在 {{min}} {{max}} 之间"
}
},
"dac": {