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
@@ -540,7 +540,7 @@ describe("MessageBubble", () => {
);
menuActions(container);
fireEvent.click(screen.getByRole("button", { name: "Fork" }));
fireEvent.click(screen.getByRole("button", { name: "New chat from here" }));
expect(onForkFromHere).toHaveBeenCalledTimes(1);
});
@@ -575,7 +575,7 @@ describe("MessageBubble", () => {
/>);
const actions = menuActions(container);
const copy = screen.getByRole("button", { name: "Copy" });
const fork = screen.getByRole("button", { name: "Fork" });
const fork = screen.getByRole("button", { name: "New chat from here" });
const metadata = actions.querySelector("[data-message-block-metadata]")!;
expect(actions.querySelector("[data-message-block-toolbar]")).toContainElement(copy);
expect(actions.querySelector("[data-message-block-toolbar]")).toContainElement(fork);