fix(web): name the preset in General settings, and say 预设 in Chinese

The preference row rendered `option.id` while every other surface — the
new-session chip, the session header label, the preset cards — renders the
metadata name. So the same roster read `标准模式` on one screen and `standard`
on the next, and the id is addressing, not a label. A preset that names itself
nothing still falls back to its id, which is then all there is to say about it.

The row's Chinese copy also still ended on the English word: the section is
`Agent 预设`, so the sentence about a running session keeping its composition
says 预设 too.
This commit is contained in:
Yichen Jiang
2026-08-07 03:00:37 +08:00
parent d89f1ced94
commit 0ab035c748
4 changed files with 18 additions and 9 deletions

View File

@@ -14,9 +14,9 @@
- button "关闭":
- img
- text: 关闭
- text: Agent 预设 对此后新建的会话生效。运行中的会话保持它开始时的 preset
- button "standard":
- text: standard
- text: Agent 预设 对此后新建的会话生效。运行中的会话保持它开始时的预设
- button "标准模式":
- text: 标准模式
- img
- text: 权限 选择新会话的默认权限模式
- button "Workspace Write":