fix(webui): simplify existing copy across all locales (#6116)

* fix(webui): clarify Chinese copy and channel field guidance

* fix(webui): complete concise copy across all locales

* fix(webui): limit copy rewrite to existing strings
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-09 17:47:21 +08:00
1 parent de56e5de6b
commit bbe7648868
210 files changed
+4658 -4658

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ function assistantActionCounts(root: ParentNode = document) {
if (!row.querySelector("[data-message-block-menu-trigger]")) continue;
const { menu } = openMessageBlockMenu(row);
counts.copy += within(menu).queryAllByRole("button", { name: "Copy", exact: true }).length;
counts.fork += within(menu).queryAllByRole("button", { name: "Fork", exact: true }).length;
counts.fork += within(menu).queryAllByRole("button", { name: "New chat from here", exact: true }).length;
fireEvent.keyDown(menu, { key: "Escape" });
}
return counts;
@@ -681,7 +681,7 @@ describe("ThreadMessages", () => {
} as unknown as Selection);
document.dispatchEvent(new Event("selectionchange"));
const action = await screen.findByRole("button", { name: "Ask about this" });
const action = await screen.findByRole("button", { name: "Ask about selection" });
fireEvent.click(action);
await waitFor(() => expect(onQuoteSelection).toHaveBeenCalledWith("selected answer"));