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": {
+21 -1
View File
@@ -18,6 +18,12 @@
"powerOffConfirmDesc": "裝置將關機並中斷與本應用程式的連線,是否繼續?",
"powerOffConfirmOk": "關閉電源",
"powerOffConfirmCancel": "取消",
"volumeMinConfirmTitle": "確認將音量設為最小?",
"volumeMinConfirmDesc": "耳機音量將調至最低(靜音),是否繼續?",
"volumeMinConfirmOk": "設為最小",
"volumeMaxConfirmTitle": "確認將音量設為最大?",
"volumeMaxConfirmDesc": "耳機音量將調至最大,是否繼續?",
"volumeMaxConfirmOk": "設為最大",
"powerOffToastDemo": "演示模式:已中斷與裝置的連線",
"powerOffToastSent": "已傳送關機指令",
"doubleClickHint": "按兩下進入",
@@ -43,6 +49,10 @@
"source": {
"label": "輸入/輸出",
"pageTitle": "輸入/輸出",
"inputSection": "輸入",
"outputSection": "輸出",
"inputOptions": ["USB-B", "USB-C", "同軸", "光纖", "藍牙", "IIS"],
"outputOptions": ["XLR", "RCA", "耳機", "XLR/RCA"],
"input": { "coaxial": "同軸", "optical": "光纖", "bluetooth": "藍牙", "rca": "類比RCA" },
"output": { "headset": "耳機" }
},
@@ -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": {
+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": {