Enhance DeviceContext and LuxsinAPI to support new PEQ apply functionality; update locale files for English and Chinese to include new UI strings for applying and saving PEQ settings. Refactor AudioPage and EQPage to integrate boot sound management and improve state handling.

This commit is contained in:
yangy
2026-05-18 13:42:29 +08:00
parent b5c0606972
commit ba5f5d074a
8 changed files with 463 additions and 59 deletions
+23 -3
View File
@@ -283,9 +283,14 @@
"errFilterNumbers": "Invalid numbers for filter {{no}}",
"errFilterAll": "Filters 110 must all be present",
"chartCopyTo": "Copy to {{mode}}",
"chartLoadToDevice": "Load to device",
"chartApplyB": "Apply B",
"chartSaveB": "Save B As",
"saveBTitle": "Save B As",
"toastChartCopied": "Copied to {{mode}}",
"toastChartLoadedDevice": "Loaded to device"
"toastApplyBSuccess": "Curve B applied to A",
"toastApplyBFail": "Failed to apply B",
"toastSaveBOk": "Preset saved from curve B",
"toastSaveBFail": "Failed to save curve B"
}
},
"dac": {
@@ -341,7 +346,22 @@
]
},
"volumeStep": "Volume step",
"bootVolume": "Boot volume",
"bootVolume": {
"label": "Boot volume",
"options": [
{ "index": 0, "label": "Default" },
{ "index": 1, "label": "-5dB" },
{ "index": 2, "label": "-10dB" },
{ "index": 3, "label": "-15dB" },
{ "index": 4, "label": "-20dB" },
{ "index": 5, "label": "-25dB" },
{ "index": 6, "label": "-30dB" },
{ "index": 7, "label": "-35dB" },
{ "index": 8, "label": "-40dB" },
{ "index": 9, "label": "-45dB" },
{ "index": 10, "label": "-50dB" }
]
},
"xlr": {
"label": "XLR port polarity",
"options": [
+23 -3
View File
@@ -219,9 +219,14 @@
"errFilterNumbers": "Filter {{no}} 的數值無效",
"errFilterAll": "Filter 110 必須全部提供",
"chartCopyTo": "複製到 {{mode}}",
"chartLoadToDevice": "載入至裝置",
"chartApplyB": "套用 B",
"chartSaveB": "另存 B",
"saveBTitle": "另存 B",
"toastChartCopied": "已複製到 {{mode}}",
"toastChartLoadedDevice": "已載入至裝置"
"toastApplyBSuccess": "已將 B 曲線套用到 A",
"toastApplyBFail": "套用 B 失敗",
"toastSaveBOk": "已另存 B 預設",
"toastSaveBFail": "另存 B 失敗"
}
},
"dac": {
@@ -250,7 +255,22 @@
]
},
"volumeStep": "音量級距",
"bootVolume": "開機音量",
"bootVolume": {
"label": "開機音量",
"options": [
{ "index": 0, "label": "預設" },
{ "index": 1, "label": "-5dB" },
{ "index": 2, "label": "-10dB" },
{ "index": 3, "label": "-15dB" },
{ "index": 4, "label": "-20dB" },
{ "index": 5, "label": "-25dB" },
{ "index": 6, "label": "-30dB" },
{ "index": 7, "label": "-35dB" },
{ "index": 8, "label": "-40dB" },
{ "index": 9, "label": "-45dB" },
{ "index": 10, "label": "-50dB" }
]
},
"xlr": {
"label": "XLR端子極性",
"options": [
+23 -3
View File
@@ -219,9 +219,14 @@
"errFilterNumbers": "Filter {{no}} 的数值无效",
"errFilterAll": "Filter 110 必须全部提供",
"chartCopyTo": "复制到 {{mode}}",
"chartLoadToDevice": "加载至设备",
"chartApplyB": "应用 B",
"chartSaveB": "另存 B",
"saveBTitle": "另存 B",
"toastChartCopied": "已复制到 {{mode}}",
"toastChartLoadedDevice": "已加载至设备"
"toastApplyBSuccess": "已将 B 曲线应用到 A",
"toastApplyBFail": "应用 B 失败",
"toastSaveBOk": "已另存 B 预设",
"toastSaveBFail": "另存 B 失败"
}
},
"dac": {
@@ -250,7 +255,22 @@
]
},
"volumeStep": "音量幅度",
"bootVolume": "开机音量",
"bootVolume": {
"label": "开机音量",
"options": [
{ "index": 0, "label": "默认" },
{ "index": 1, "label": "-5dB" },
{ "index": 2, "label": "-10dB" },
{ "index": 3, "label": "-15dB" },
{ "index": 4, "label": "-20dB" },
{ "index": 5, "label": "-25dB" },
{ "index": 6, "label": "-30dB" },
{ "index": 7, "label": "-35dB" },
{ "index": 8, "label": "-40dB" },
{ "index": 9, "label": "-45dB" },
{ "index": 10, "label": "-50dB" }
]
},
"xlr": {
"label": "XLR端口极性",
"options": [