feat(ai): 大幅提高音量前增加二次确认

避免 AI 突然拉高音量或打开直通,需用户确认后再写入设备。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
fucheng
2026-09-11 16:41:58 +08:00
parent 8db56e2211
commit 07b9312148
8 changed files with 307 additions and 13 deletions
+11
View File
@@ -625,6 +625,17 @@
"loadHistoryFailed": "加载历史失败:{message}",
"loadChatFailed": "加载会话失败:{message}",
"toolResultFailed": "工具结果回传失败:{message}",
"riskyConfirm": {
"title": "确认大幅提高音量?",
"descMax": "音量将从 {from} 调至最大({to} dB)。突然拉满可能导致听力损伤或损坏耳机,请确认后继续。",
"descJump": "音量将从 {from} 突然升高 {delta} dB 到 {to} dB。这可能导致听力损伤或损坏耳机,请确认后继续。",
"descDacDirect0db": "将开启 0 dB 音量直通:音量会拉到最大且不可调节,耳机可能突然变得非常大声。",
"descDacDirect12db": "将开启 -12 dB 音量直通:音量会被固定且不可调节,可能突然变大声。",
"fromUnknown": "当前音量",
"confirm": "确认调整",
"cancel": "保持当前音量",
"declined": "已取消危险音量调整,其它设置仍会应用。"
},
"history": {
"title": "历史会话",
"newChat": "开始新会话",