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:
1 parent
de56e5de6b
commit
bbe7648868
210 files changed
+4658
-4658
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user