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
@@ -20,14 +20,14 @@ describe("paired network route", () => {
|
||||
it("does not mislabel a saved custom route as a direct connection", () => {
|
||||
mocks.config = "/private/paired/ssh_route";
|
||||
render(<PairRouteSettings id="paired" />);
|
||||
expect(screen.getByRole("combobox")).toHaveTextContent("Saved network route");
|
||||
expect(screen.getByRole("combobox")).toHaveTextContent("Saved route");
|
||||
expect(screen.getByRole("button", { name: "Save changes" })).toBeDisabled();
|
||||
expect(mocks.action).not.toHaveBeenCalled();
|
||||
});
|
||||
it("shows direct only when no saved route is configured", () => {
|
||||
render(<PairRouteSettings id="paired" />);
|
||||
expect(screen.getByRole("combobox")).toHaveTextContent("Direct connection");
|
||||
expect(screen.getByText(i18n.t("remote.pair.routeHint"))).toBeVisible();
|
||||
expect(screen.getByText(i18n.t("remote.pair.routeHint").replace(/\s+/g, " ").trim())).toBeVisible();
|
||||
expect(screen.getByRole("button", { name: "Save changes" })).toBeDisabled();
|
||||
});
|
||||
it("shows saving, then confirms the saved route without connecting", async () => {
|
||||
|
||||
Reference in new issue
Block a user