Просмотр исходного кода

test(web): refresh localized expected outputs

imccyu 1 месяц назад
Родитель
Сommit
2fa26cd140

+ 2 - 2
apps/web/tests/snapshots/code-mode-round/ui.expected.md

@@ -37,11 +37,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 52% · 17,490 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/cordis-tool-round/ui.expected.md

@@ -61,11 +61,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 77% · 66,813 tokens · 1 turns · 4 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/fresh-round-trip/ui.expected.md

@@ -34,11 +34,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 15,818 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 3 - 3
apps/web/tests/snapshots/lifecycle-chrome/hero.expected.md

@@ -17,9 +17,9 @@
     - img
     - text: workspace 1 session
   - treeitem "New Session now" [selected]
-- button "设置":
+- button "Settings":
   - img
-  - text: 设置
+  - text: Settings
 - text: Let's start building
 - button "Choose workspace":
   - img
@@ -29,7 +29,7 @@
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/lifecycle-chrome/reloaded.expected.md

@@ -21,11 +21,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 7,810 tokens · 1 turns · 1 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/live-interactions/cancel.expected.md

@@ -18,11 +18,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} 0 tokens · 1 turns · 1 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/live-interactions/error-auth.expected.md

@@ -11,11 +11,11 @@
   - img
 - button "编辑":
   - img
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/live-interactions/retry.expected.md

@@ -21,11 +21,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 7,869 tokens · 1 turns · 1 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/message-actions/ui.expected.md

@@ -37,11 +37,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,962 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 deepseek-v4-flash":
+- button "Select model, current deepseek-v4-flash":
   - text: deepseek-v4-flash
   - img
 - button "Send message" [disabled]

+ 2 - 2
apps/web/tests/snapshots/question-composer/answered.expected.md

@@ -34,11 +34,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 95% · 8,769 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 7 - 7
apps/web/tests/snapshots/question-composer/ui.expected.md

@@ -2,11 +2,11 @@
   - text: Pick one
   - heading "Which color do you prefer?" [level=2]
   - text: 1 / 1
-  - button "上一题" [disabled]:
+  - button "Previous question" [disabled]:
     - img
-  - button "下一题" [disabled]:
+  - button "Next question" [disabled]:
     - img
-  - button "放弃整组问题":
+  - button "Dismiss all questions":
     - img
   - radiogroup:
     - radio "Blue":
@@ -15,9 +15,9 @@
     - radio "Green":
       - text: 2 Green A restful mid-spectrum hue with the highest perceived brightness, easiest on the eye over long sessions.
       - img
-    - button "其他,请填写自定义答案":
+    - button "Other — enter a custom answer":
       - img
-      - text: 其他,请填写自定义答案
+      - text: Other — enter a custom answer
   - status
-  - button "跳过本题"
-  - button "提交" [disabled]
+  - button "Skip this question"
+  - button "Submit" [disabled]

+ 2 - 2
apps/web/tests/snapshots/seeded-history/ui.expected.md

@@ -36,11 +36,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,962 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 deepseek-v4-flash":
+- button "Select model, current deepseek-v4-flash":
   - text: deepseek-v4-flash
   - img
 - button "Send message" [disabled]

+ 1 - 1
apps/web/tests/snapshots/skill-invocation-policy/menu.expected.md

@@ -1,3 +1,3 @@
 - listbox "Trigger suggestions":
-  - text: 技能
+  - text: Skills
   - option "policy-shared Available to both model and user invocation" [selected]

+ 7 - 7
apps/web/tests/snapshots/steering/mid-steer.expected.md

@@ -28,11 +28,11 @@
   - text: Checkpoint
   - heading "Ready to continue?" [level=2]
   - text: 1 / 1
-  - button "上一题" [disabled]:
+  - button "Previous question" [disabled]:
     - img
-  - button "下一题" [disabled]:
+  - button "Next question" [disabled]:
     - img
-  - button "放弃整组问题":
+  - button "Dismiss all questions":
     - img
   - radiogroup:
     - radio "Yes":
@@ -41,9 +41,9 @@
     - radio "No":
       - text: 2 No
       - img
-    - button "其他,请填写自定义答案":
+    - button "Other — enter a custom answer":
       - img
-      - text: 其他,请填写自定义答案
+      - text: Other — enter a custom answer
   - status
-  - button "跳过本题"
-  - button "提交" [disabled]
+  - button "Skip this question"
+  - button "Submit" [disabled]

+ 2 - 2
apps/web/tests/snapshots/steering/settled.expected.md

@@ -34,11 +34,11 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,967 tokens · 1 turns · 2 steps
-- textbox "给智能体发消息"
+- textbox "Message the agent"
 - button "Add attachment":
   - img
 - 'button "Access mode, current: Danger Full Access"': Danger Full Access
-- button "选择模型,当前 DeepSeek-V4-Flash":
+- button "Select model, current DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img
 - button "Send message" [disabled]

+ 8 - 8
apps/web/tests/snapshots/workspace-management/directory-browser.expected.md

@@ -1,10 +1,10 @@
-- dialog "选择工作区目录":
-  - heading "选择工作区目录" [level=2]
+- dialog "Select Workspace Directory":
+  - heading "Select Workspace Directory" [level=2]
   - navigation:
-    - button "主目录"
+    - button "Home"
     - img
     - button "browse-golden"
-  - button "编辑路径"
+  - button "Edit path"
   - list:
     - listitem:
       - button "alpha":
@@ -16,8 +16,8 @@
         - img
         - text: beta
         - img
-  - button "新建文件夹":
+  - button "New folder":
     - img
-    - text: 新建文件夹
-  - button "取消"
-  - button "打开"
+    - text: New folder
+  - button "Cancel"
+  - button "Open"