Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Phone app: no store links in the desktop app; the menu row pairs a phone (#5479)

Milind Sonibb6a003bdd17
diff --git a/docs/cloud-pro.md b/docs/cloud-pro.md
index c0209348e1..650758a141 100644
--- a/docs/cloud-pro.md
+++ b/docs/cloud-pro.md
@@ -139,9 +139,8 @@ sign-in instead of the welcome flow, which describes the person's own computer
### Use My Cloud on your phone
-1. Get the phone app: the menu under your name → **Get the phone app** (App
- Store for iPhone, APK for Android).
-2. The same menu → **Connect your phone · to your Cloud (always on)**, or
+1. Install MausBot on your phone from the App Store or Google Play.
+2. The menu under your name → **Connect your phone · to your Cloud (always on)**, or
**Settings → MausBot Cloud → Use My Cloud on your phone**. The Cloud opens in
the app window at its phone pairing.
3. **Create pairing code**, and scan the QR code with the phone app.
diff --git a/docs/ios-companion.md b/docs/ios-companion.md
index 39063f4473..73432e3ce0 100644
--- a/docs/ios-companion.md
+++ b/docs/ios-companion.md
@@ -11,12 +11,11 @@ an OpenMausBot account of its own.
With MausBot Cloud, pair the phone with your Cloud instead of your computer, and
it keeps working while the computer is off.
-1. In the desktop app, open the menu under your name and choose **Get the
- phone app**: the App Store for iPhone, or the APK for Android. Scan its code
- with the phone's camera.
-2. In the same menu, choose **Connect your phone · to your Cloud (always on)**.
- (**Settings → MausBot Cloud → Use My Cloud on your phone** does the same.) The
- app opens your Cloud in its window, at the Cloud's phone pairing.
+1. Install MausBot on your phone from the App Store or Google Play.
+2. In the desktop app, open the menu under your name and choose **Connect
+ your phone · to your Cloud (always on)**. (**Settings → MausBot Cloud → Use
+ My Cloud on your phone** does the same.) The app opens your Cloud in its
+ window, at the Cloud's phone pairing.
3. Choose **Create pairing code** and scan the QR code with the phone app.
On your computer, **Connect your phone** offers your Cloud first and this
diff --git a/src/components/PhoneAppDialog.dom.test.ts b/src/components/PhoneAppDialog.dom.test.ts
index 39ea253c4e..aa70ffe532 100644
--- a/src/components/PhoneAppDialog.dom.test.ts
+++ b/src/components/PhoneAppDialog.dom.test.ts
@@ -3,7 +3,6 @@ import { createElement } from "react";
import { flushSync } from "react-dom";
import { createRoot, type Root } from "react-dom/client";
import { afterEach, beforeEach, expect, it, vi } from "vitest";
-import { ANDROID_APK_URL, IOS_APP_STORE_URL } from "@/lib/app-links";
import { setLocale } from "@/lib/i18n";
import { GlassBar } from "./GlassScrollFrame";
import { PhoneAppDialog, type PhoneAppConnect } from "./PhoneAppDialog";
@@ -44,18 +43,6 @@ it("mounts the full-window backdrop outside the sidebar's glass stacking context
expect(dialog()!.querySelectorAll("svg")).toHaveLength(0);
});
-it("opens each store link in the browser", () => {
- const open = vi.spyOn(window, "open").mockReturnValue(null);
- try {
- render();
- flushSync(() => button("App Store").click());
- flushSync(() => button("Android").click());
- expect(open.mock.calls.map(([url]) => url)).toEqual([IOS_APP_STORE_URL, ANDROID_APK_URL]);
- } finally {
- open.mockRestore();
- }
-});
-
it("also escapes a transformed sidebar's fixed-position containing block", () => {
host.style.transform = "translateX(0)";
render();
diff --git a/src/components/PhoneAppDialog.tsx b/src/components/PhoneAppDialog.tsx
index 0f266949ce..1e733b22b2 100644
--- a/src/components/PhoneAppDialog.tsx
+++ b/src/components/PhoneAppDialog.tsx
@@ -2,7 +2,6 @@ import { useEffect, useRef } from "react";
import { createPortal } from "react-dom";
import { t } from "@/lib/i18n";
-import { PhoneAppLinks } from "./PhoneAppLinks";
export interface PhoneAppConnect {
key: string;
@@ -40,12 +39,10 @@ export function PhoneAppDialog({ open, onClose, connect = [] }: { open: boolean;
className="max-h-full w-full max-w-[460px] overflow-y-auto rounded-2xl border border-hairline/50 bg-panel p-6 shadow-2xl"
>
<h2 id="phone-app-dialog-title" className="text-[17px] font-semibold text-ink">
- {t("phoneApp.title")}
+ {t("sidebar.menu.connectPhone")}
</h2>
- <PhoneAppLinks className="mt-1 text-[13px] leading-relaxed text-ink-secondary" />
{connect.length ? (
- <div className="mt-5 flex flex-col gap-2">
- <p className="text-[13px] leading-relaxed text-ink-secondary">{t("phoneApp.next")}</p>
+ <div className="mt-4 flex flex-col gap-2">
{connect.map((destination, index) => (
<button
key={destination.key}
diff --git a/src/components/PhoneAppLinks.tsx b/src/components/PhoneAppLinks.tsx
deleted file mode 100644
index 74743eaf29..0000000000
--- a/src/components/PhoneAppLinks.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { ANDROID_APK_URL, IOS_APP_STORE_URL, openExternalLink } from "@/lib/app-links";
-import { productName } from "@/lib/brand";
-import { t } from "@/lib/i18n";
-
-export const PHONE_APPS = [
- { id: "ios", label: "App Store", url: IOS_APP_STORE_URL },
- { id: "android", label: "Android", url: ANDROID_APK_URL },
-] as const;
-
-export function PhoneAppLinks({ className }: { className?: string }) {
- return (
- <div data-phone-app-links="" className={className}>
- <p>{t("phoneApp.install", { app: productName() })}</p>
- <div className="mt-1.5 flex gap-4">
- {PHONE_APPS.map((app) => (
- <button key={app.id} type="button" data-phone-app={app.id} onClick={() => void openExternalLink(app.url)} className="text-accent hover:underline">
- {app.label}
- </button>
- ))}
- </div>
- </div>
- );
-}
diff --git a/src/components/PhonePairingQr.tsx b/src/components/PhonePairingQr.tsx
index c41261f728..082743f399 100644
--- a/src/components/PhonePairingQr.tsx
+++ b/src/components/PhonePairingQr.tsx
@@ -5,7 +5,6 @@ import { QRCodeSVG } from "qrcode.react";
import { t } from "@/lib/i18n";
import { copyText } from "@/lib/copy-text";
import { productName } from "@/lib/brand";
-import { PhoneAppLinks } from "./PhoneAppLinks";
import type { PhoneSetupController } from "./PhoneSetupFlow";
/** A fresh code while this screen is open; the previous one stays valid to its two-minute end, so a phone mid-scan
@@ -49,7 +48,7 @@ export function PhonePairingQr({ c, signedIn }: { c: PhoneSetupController; signe
<div className="rounded-2xl bg-white p-3.5 transition-opacity duration-150" aria-label={t("phone.code.qrAria")}>
<QRCodeSVG key={state.pairing?.token} value={c.pairingLink} size={320} level="L" marginSize={1} bgColor="#ffffff" fgColor="#111111" />
</div>
- <p className="mt-4 text-[13px] text-ink-secondary">{t("phone.code.scanInApp", { app: productName() })}</p>
+ <p className="mt-4 text-[13px] text-ink-secondary">{t("phone.code.installAndScan", { app: productName() })}</p>
<p className="mt-1 text-[12px] text-ink-tertiary">{t("phone.code.notCamera", { app: productName() })}</p>
<div className="mt-5 w-full px-2">
<RouteRow on={Boolean(lan)} label={t("phone.code.e2e.wifi")} value={lan ?? ""} />
@@ -72,7 +71,6 @@ export function PhonePairingQr({ c, signedIn }: { c: PhoneSetupController; signe
<div className="mt-5 flex w-full px-2">
<button onClick={copy} className="text-[12px] text-ink-secondary hover:text-ink">{t("phone.code.e2e.copyLink")}</button>
</div>
- <PhoneAppLinks className="mt-4 w-full px-2 text-left text-[12px] text-ink-secondary" />
{copied && (
<div role="status" className="mt-3 rounded-lg bg-inset px-3 py-1.5 text-[12px] text-ink">{t("phone.code.e2e.copied")}</div>
)}
diff --git a/src/components/PhoneSetupFlow.publicNetwork.test.ts b/src/components/PhoneSetupFlow.publicNetwork.test.ts
index 04d8a2e36f..6da5dffaf0 100644
--- a/src/components/PhoneSetupFlow.publicNetwork.test.ts
+++ b/src/components/PhoneSetupFlow.publicNetwork.test.ts
@@ -88,16 +88,17 @@ describe("the pairing code", () => {
for (const over of [{}, { state: e2e }]) {
const html = render(over);
expect(qrCodes(html)).toBe(1);
- expect(html).toContain("Open MausBot on your phone and scan this code.");
+ expect(html).toContain("Install MausBot on your phone from the App Store or Google Play, then scan this code in the app.");
expect(html).toContain("Scan it from inside the MausBot app, not the camera.");
}
});
- it("links the phone app without a code of its own", () => {
- const html = render({ state: e2e });
- expect(html).toContain("install MausBot from the App Store, or download it for Android.");
- expect(html).toMatch(/data-phone-app="ios"[^>]*>App Store</);
- expect(html).toMatch(/data-phone-app="android"[^>]*>Android</);
+ it("names the stores without linking to them", () => {
+ for (const over of [{}, { state: e2e }]) {
+ const html = render(over);
+ expect(html).not.toMatch(/apps\.apple\.com|play\.google\.com|\.apk|<a /);
+ expect(html).not.toMatch(/<button[^>]*>(App Store|Google Play)</);
+ }
});
it("says nothing about scanning once the code expired", () => {
diff --git a/src/components/PhoneSetupFlow.tsx b/src/components/PhoneSetupFlow.tsx
index 4f1d4c047c..72586f9d1c 100644
--- a/src/components/PhoneSetupFlow.tsx
+++ b/src/components/PhoneSetupFlow.tsx
@@ -1042,7 +1042,7 @@ export function PhoneSetupFlowView({ controller }: { controller: PhoneSetupContr
{!c.pairingExpired && c.pairingLink && (
<>
<div className="mt-4 rounded-2xl bg-white p-3.5" aria-label={t("phone.code.qrAria")}><QRCodeSVG value={c.pairingLink} size={180} level="M" bgColor="#ffffff" fgColor="#111111" /></div>
- <p className="mt-3 text-[13px] text-ink-secondary">{t("phone.code.scanInApp", { app: productName() })}</p>
+ <p className="mt-3 text-[13px] text-ink-secondary">{t("phone.code.installAndScan", { app: productName() })}</p>
<p className="mt-1 text-[12px] text-ink-tertiary">{t("phone.code.notCamera", { app: productName() })}</p>
</>
)}
diff --git a/src/components/SidebarProfileMenu.test.ts b/src/components/SidebarProfileMenu.test.ts
index dab2223437..5b1e4cd513 100644
--- a/src/components/SidebarProfileMenu.test.ts
+++ b/src/components/SidebarProfileMenu.test.ts
@@ -23,7 +23,7 @@ import {
updateLabel,
updatePhase,
} from "./SidebarProfileMenu";
-import { ANDROID_APK_URL, DOCS_URL, FEEDBACK_URL, HELP_CENTER_URL, IOS_APP_STORE_URL, platformLabel } from "@/lib/app-links";
+import { DOCS_URL, FEEDBACK_URL, HELP_CENTER_URL, platformLabel } from "@/lib/app-links";
import { profileForSession } from "@/lib/session";
import {
cloudPhoneDestination,
@@ -36,7 +36,6 @@ import {
import type { CloudAccountState } from "../../electron/cloud-account.mjs";
import type { CloudMachine } from "../../electron/cloud-home.mjs";
import { PhoneAppDialog, type PhoneAppConnect } from "./PhoneAppDialog";
-import { PHONE_APPS } from "./PhoneAppLinks";
import type { UpdaterState } from "@/lib/updater";
import type { SidebarMenuItem } from "./SidebarPopoverMenu";
import { moveMenuItems } from "./AccountMove";
@@ -217,57 +216,53 @@ describe("the phone entries", () => {
const ready: CloudMachine = { status: "ready", origin: "https://home-7f3k2.fly.dev" };
const free: CloudAccountState = { ...signedIn, entitlement: { plan: "free", status: "inactive", expiresAt: null, version: 1 } };
const items = (target: PhonePairingTarget, access: PhonePairingAccess | null, account: CloudAccountState | null = null, connected = false) => {
- const onConnect = vi.fn(), onGetApp = vi.fn();
+ const onConnect = vi.fn();
const destinations = phoneDestinations(connectPhoneEntry(target, access), cloudPhoneDestination(account));
- return { list: phoneMenuItems({ destinations, connected, onConnect, onGetApp }), onConnect, onGetApp };
+ return { list: phoneMenuItems({ destinations, connected, onConnect }), onConnect };
};
const shown = (...args: Parameters<typeof items>) => items(...args).list.map((item) => [item.label, item.subtitle ?? null, ...(item.note ? [item.note] : [])]);
- const APP = ["Get the phone app", null];
-
- it("on this computer: Connect your phone, to this computer, then Get the phone app", () => {
- expect(shown("computer", null)).toEqual([["Connect your phone", "to this computer"], APP]);
+ it("on this computer: Connect your phone, to this computer, and no Get the phone app", () => {
+ expect(shown("computer", null)).toEqual([["Connect your phone", "to this computer"]]);
});
it("on this computer with a paid Cloud that is Ready: both, the Cloud first", () => {
for (const tier of ["personal", "pro", "max"]) {
expect(shown("computer", null, paid(tier, ready))).toEqual([
["Connect your phone", "to the Cloud (always on)"],
- ["Connect your phone", "to this computer"],
- APP,
+ ["Connect your phone", "to this computer"]
]);
}
});
it("on this computer, free or signed out: only this computer", () => {
for (const account of [free, { status: "signed-out" } as CloudAccountState, null]) {
- expect(shown("computer", null, account)).toEqual([["Connect your phone", "to this computer"], APP]);
+ expect(shown("computer", null, account)).toEqual([["Connect your phone", "to this computer"]]);
}
expect(shown("computer", null, { ...paid("pro", ready), entitlement: { plan: "pro", status: "inactive", expiresAt: null, version: 2 } }))
- .toEqual([["Connect your phone", "to this computer"], APP]);
+ .toEqual([["Connect your phone", "to this computer"]]);
expect(shown("computer", null, { status: "unavailable", lastPlan: { tier: "pro", active: true }, machine: ready }))
- .toEqual([["Connect your phone", "to this computer"], APP]);
+ .toEqual([["Connect your phone", "to this computer"]]);
});
it("on this computer with a paid Cloud that is not Ready: only this computer, and a hint", () => {
for (const machine of [undefined, { status: "provisioning" }, { status: "stopped", origin: ready.origin }, { status: "failed", origin: ready.origin }] as Array<CloudMachine | undefined>) {
expect(shown("computer", null, paid("pro", machine))).toEqual([
- ["Connect your phone", "to this computer", "The Cloud shows here once it's ready."],
- APP,
+ ["Connect your phone", "to this computer", "The Cloud shows here once it's ready."]
]);
}
});
it("on the person's own Cloud: unchanged, one Connect your phone to My Cloud", () => {
- expect(shown("cloud", admin)).toEqual([["Connect your phone", "to the Cloud"], APP]);
- expect(shown("cloud", admin, paid("max", ready))).toEqual([["Connect your phone", "to the Cloud"], APP]);
- expect(shown("cloud", admin, paid("max"))).toEqual([["Connect your phone", "to the Cloud"], APP]);
+ expect(shown("cloud", admin)).toEqual([["Connect your phone", "to the Cloud"]]);
+ expect(shown("cloud", admin, paid("max", ready))).toEqual([["Connect your phone", "to the Cloud"]]);
+ expect(shown("cloud", admin, paid("max"))).toEqual([["Connect your phone", "to the Cloud"]]);
});
it("on another server: to this server, and gone for a session that cannot make a pairing code", () => {
- expect(shown("server", admin, paid("pro", ready))).toEqual([["Connect your phone", "to the bots here"], APP]);
- expect(shown("server", chatOnly)).toEqual([APP]);
- expect(shown("server", { ...admin, pairingCodes: false })).toEqual([APP]);
- expect(shown("cloud", chatOnly)).toEqual([APP]);
+ expect(shown("server", admin, paid("pro", ready))).toEqual([["Connect your phone", "to the bots here"]]);
+ expect(shown("server", chatOnly)).toEqual([]);
+ expect(shown("server", { ...admin, pairingCodes: false })).toEqual([]);
+ expect(shown("cloud", chatOnly)).toEqual([]);
});
it("never offers the iOS-only entry it replaced", () => {
@@ -277,14 +272,12 @@ describe("the phone entries", () => {
});
it("each line hands on its own destination", () => {
- const { list, onConnect, onGetApp } = items("computer", null, paid("pro", ready));
+ const { list, onConnect } = items("computer", null, paid("pro", ready));
+ expect(list).toHaveLength(2);
list[0]!.onSelect();
expect(onConnect).toHaveBeenLastCalledWith(expect.objectContaining({ id: "cloud" }));
list[1]!.onSelect();
expect(onConnect).toHaveBeenLastCalledWith(expect.objectContaining({ id: "here", target: "computer" }));
- expect(onGetApp).not.toHaveBeenCalled();
- list[2]!.onSelect();
- expect(onGetApp).toHaveBeenCalledOnce();
});
it("shows this computer's live phone on this computer's line only", () => {
@@ -328,13 +321,7 @@ describe("choosing where the phone connects", () => {
});
});
-describe("Get the phone app", () => {
- it("offers iPhone and Android with the links the website and Cloud page use", () => {
- expect(PHONE_APPS.map((app) => [app.id, app.url])).toEqual([["ios", IOS_APP_STORE_URL], ["android", ANDROID_APK_URL]]);
- expect(IOS_APP_STORE_URL).toBe("https://apps.apple.com/in/app/mausbot/id6803387923");
- expect(ANDROID_APK_URL).toBe("https://github.com/milind-soni/OpenMausBot/releases/download/android-v1.5.0/OpenMausBot.apk");
- });
-
+describe("the Connect your phone choice", () => {
const render = (connect?: PhoneAppConnect[]) => {
vi.stubGlobal("window", { addEventListener: () => {}, removeEventListener: () => {} });
try {
@@ -345,17 +332,12 @@ describe("Get the phone app", () => {
};
const to = (key: string, subtitle: string): PhoneAppConnect => ({ key, subtitle, onSelect: () => {} });
- it("links the App Store and Android with no code to scan, and points on to Connect your phone where this window can pair", () => {
- const html = render([to("here", "to this computer")]);
- expect(html).toContain("On your phone, install MausBot from the App Store, or download it for Android.");
- expect(html).toMatch(/<button[^>]*data-phone-app="ios"[^>]*>App Store<\/button>/);
- expect(html).toMatch(/<button[^>]*data-phone-app="android"[^>]*>Android<\/button>/);
- expect(html).not.toContain("<svg");
- expect(html.indexOf('data-phone-app="android"')).toBeLessThan(html.indexOf("Connect your phone"));
+ it("offers only places to pair with: no store link, download or code", () => {
+ const html = render([to("cloud", "to the Cloud (always on)"), to("here", "to this computer")]);
expect(html).toContain("Connect your phone");
expect(html).toContain("to this computer");
- expect(render()).not.toContain("Connect your phone");
- expect(render([])).not.toContain("Connect your phone");
+ expect(html).not.toMatch(/App Store|Google Play|apps\.apple\.com|play\.google\.com|\.apk|<svg|<a /);
+ expect(render([])).not.toContain("data-phone-app-connect");
});
it("offers every destination the menu does, in the same order", () => {
@@ -372,7 +354,7 @@ describe("Get the phone app", () => {
describe("profileMenuItems", () => {
const noop = () => {};
const build = (patch: Partial<Parameters<typeof profileMenuItems>[0]> = {}) => profileMenuItems({
- phone: [{ key: "phone-app", label: "Get the phone app", onSelect: noop }],
+ phone: [{ key: "connect-phone", label: "Connect your phone", onSelect: noop }],
usage: true,
update: null,
account: "OpenMausBot Cloud",
@@ -382,7 +364,7 @@ describe("profileMenuItems", () => {
it("groups usage and the phone, then help and settings, then the account under a divider", () => {
const items = build();
- expect(items.map((item) => item.key)).toEqual(["usage", "phone-app", "support", "settings", "account"]);
+ expect(items.map((item) => item.key)).toEqual(["usage", "connect-phone", "support", "settings", "account"]);
expect(items.filter((item) => item.separatorBefore).map((item) => item.key)).toEqual(["account"]);
expect(items.find((item) => item.key === "support")!.submenu!.map((item) => item.key)).toEqual(["help", "feedback", "shortcuts", "about"]);
expect(items.find((item) => item.key === "account")!.label).toBe("OpenMausBot Cloud");
@@ -390,13 +372,13 @@ describe("profileMenuItems", () => {
it("only offers what this window has: no usage on a remote server, no account without one", () => {
const items = build({ usage: false, account: null });
- expect(items.map((item) => item.key)).toEqual(["phone-app", "support", "settings"]);
+ expect(items.map((item) => item.key)).toEqual(["connect-phone", "support", "settings"]);
expect(items.some((item) => item.separatorBefore)).toBe(false);
});
it("keeps the update entry beside settings", () => {
const update = { key: "update", label: "Check for updates", onSelect: noop };
- expect(build({ update }).map((item) => item.key)).toEqual(["usage", "phone-app", "support", "settings", "update", "account"]);
+ expect(build({ update }).map((item) => item.key)).toEqual(["usage", "connect-phone", "support", "settings", "update", "account"]);
});
it("opens the Usage and account pages of Settings", () => {
@@ -422,7 +404,7 @@ describe("Simple mode's account menu", () => {
...patch,
});
const build = (patch: Partial<Parameters<typeof profileMenuItems>[0]> = {}) => profileMenuItems({
- phone: simplePhoneItems({ connected: false, onGetApp: noop }),
+ phone: simplePhoneItems({ destinations: phoneDestinations(connectPhoneEntry("computer", null), null), connected: false, onConnect: noop, onChoose: noop }),
usage: true,
update: { key: "update", label: "Check for updates", onSelect: noop },
account: "MausBot Cloud",
@@ -436,12 +418,12 @@ describe("Simple mode's account menu", () => {
return all;
}, []);
- it("leads with Automations and Team map, then usage and Settings, then the phone app and support, then where this window is and Cloud", () => {
+ it("leads with Automations and Team map, then usage and Settings, then Connect your phone and support, then where this window is and Cloud", () => {
const items = build();
expect(groups(items)).toEqual([
["automations", "team-map"],
["usage", "settings"],
- ["phone-app", "support"],
+ ["connect-phone", "support"],
["place", "switch-place", "account"],
]);
expect(items.find((item) => item.key === "support")!.submenu!.map((item) => item.key)).toEqual(["help", "feedback", "shortcuts", "about", "update"]);
@@ -478,7 +460,7 @@ describe("Simple mode's account menu", () => {
it("keeps Advanced's account menu as it was", () => {
const items = build({ simple: undefined, usageSummary: { value: "12% used" } });
- expect(items.map((item) => item.key)).toEqual(["usage", "phone-app", "support", "settings", "update", "account"]);
+ expect(items.map((item) => item.key)).toEqual(["usage", "connect-phone", "support", "settings", "update", "account"]);
expect(items[0]!.chevron).toBeUndefined();
});
@@ -527,7 +509,7 @@ describe("Simple mode's account menu", () => {
["cloud-move"],
["automations", "team-map"],
["usage", "settings"],
- ["phone-app", "support"],
+ ["connect-phone", "support"],
["place", "switch-place", "account"],
]);
expect(groups(build({ move, update, updateTop: { label: "Update ready", action: "Restart" } })).slice(0, 2)).toEqual([["cloud-move"], ["update"]]);
@@ -549,8 +531,8 @@ describe("Simple mode's account menu", () => {
it("puts the move's row first in Advanced's account menu too, under its own divider", () => {
const move = [{ key: "cloud-move", label: "Moving to My Cloud…", title: "Moving your bots to My Cloud… 34 of 120 chats", onSelect: noop }];
- expect(groups(build({ simple: undefined, move }))).toEqual([["cloud-move"], ["usage", "phone-app", "support", "settings", "update"], ["account"]]);
- expect(groups(build({ simple: undefined }))).toEqual([["usage", "phone-app", "support", "settings", "update"], ["account"]]);
+ expect(groups(build({ simple: undefined, move }))).toEqual([["cloud-move"], ["usage", "connect-phone", "support", "settings", "update"], ["account"]]);
+ expect(groups(build({ simple: undefined }))).toEqual([["usage", "connect-phone", "support", "settings", "update"], ["account"]]);
});
it("draws a person instead of a question mark for someone with no name, at the trigger's own size", () => {
@@ -590,9 +572,26 @@ describe("Simple mode's account menu", () => {
expect(team.map((item) => item.label)).toEqual(["Acme Labs"]);
});
- it("shows one Get the phone app row, dotted while this computer's phone is connected", () => {
- expect(simplePhoneItems({ connected: true, onGetApp: noop }).map((item) => [item.key, Boolean(item.trailing)])).toEqual([["phone-app", true]]);
- expect(simplePhoneItems({ connected: false, onGetApp: noop })[0]!.trailing).toBeUndefined();
+ it("shows one Connect your phone row, dotted while this computer's phone is connected", () => {
+ const here = phoneDestinations(connectPhoneEntry("computer", null), null);
+ const row = (connected: boolean) => simplePhoneItems({ destinations: here, connected, onConnect: noop, onChoose: noop });
+ expect(row(true).map((item) => [item.key, item.label, Boolean(item.trailing)])).toEqual([["connect-phone", "Connect your phone", true]]);
+ expect(row(false)[0]!.trailing).toBeUndefined();
+ });
+
+ it("pairs straight away with the only place there is, offers the choice when there are more, and is gone when there is none", () => {
+ const onConnect = vi.fn(), onChoose = vi.fn();
+ const ready: CloudMachine = { status: "ready", origin: "https://home-7f3k2.fly.dev" };
+ const paid: CloudAccountState = { status: "connected", account: { id: "a", email: "[email protected]" }, entitlement: { plan: "pro", tier: "pro", status: "active", expiresAt: null, version: 1 }, machine: ready };
+ const one = phoneDestinations(connectPhoneEntry("computer", null), null);
+ simplePhoneItems({ destinations: one, connected: false, onConnect, onChoose })[0]!.onSelect();
+ expect(onConnect).toHaveBeenCalledExactlyOnceWith(one[0]);
+ const two = phoneDestinations(connectPhoneEntry("computer", null), cloudPhoneDestination(paid));
+ expect(two).toHaveLength(2);
+ simplePhoneItems({ destinations: two, connected: false, onConnect, onChoose })[0]!.onSelect();
+ expect(onChoose).toHaveBeenCalledOnce();
+ expect(onConnect).toHaveBeenCalledOnce();
+ expect(simplePhoneItems({ destinations: [], connected: false, onConnect, onChoose })).toEqual([]);
});
});
diff --git a/src/components/SidebarProfileMenu.tsx b/src/components/SidebarProfileMenu.tsx
index 1803127716..edb263184f 100644
--- a/src/components/SidebarProfileMenu.tsx
+++ b/src/components/SidebarProfileMenu.tsx
@@ -6,7 +6,6 @@ import {
Check,
CircleUserRound,
Cloud,
- Download,
FolderOpen,
Gauge,
Info,
@@ -303,15 +302,12 @@ export function phoneMenuItems({
destinations,
connected,
onConnect,
- onGetApp,
}: {
destinations: PhoneDestination[];
connected: boolean;
onConnect: (destination: PhoneDestination) => void;
- onGetApp: () => void;
}): SidebarMenuItem[] {
- return [
- ...destinations.map((destination) => ({
+ return destinations.map((destination) => ({
key: destination.id === "cloud" ? "connect-phone-cloud" : "connect-phone",
label: t("sidebar.menu.connectPhone"),
subtitle: destination.team ? t("sidebar.menu.connectPhone.team", { team: destination.team }) : t(destination.subtitleKey),
@@ -322,14 +318,7 @@ export function phoneMenuItems({
<span aria-hidden="true" className="size-1.5 shrink-0 rounded-full bg-success" />
) : undefined,
onSelect: () => onConnect(destination),
- } satisfies SidebarMenuItem)),
- {
- key: "phone-app",
- label: t("sidebar.menu.getPhoneApp"),
- icon: <Download size={18} />,
- onSelect: onGetApp,
- },
- ];
+ } satisfies SidebarMenuItem));
}
export function toolMenuItems({ activeView, automationsNeedYou, onAutomations, onTeamMap, onFiles, archived }: {
@@ -391,13 +380,20 @@ export function placeMenuItems(place: Pick<WorkspacePlace, "bridge" | "current"
];
}
-export function simplePhoneItems({ connected, onGetApp }: { connected: boolean; onGetApp: () => void }): SidebarMenuItem[] {
+export function simplePhoneItems({ destinations, connected, onConnect, onChoose }: {
+ destinations: PhoneDestination[];
+ connected: boolean;
+ onConnect: (destination: PhoneDestination) => void;
+ onChoose: () => void;
+}): SidebarMenuItem[] {
+ const [only, ...others] = destinations;
+ if (!only) return [];
return [{
- key: "phone-app",
- label: t("sidebar.menu.getPhoneApp"),
+ key: "connect-phone",
+ label: t("sidebar.menu.connectPhone"),
icon: <Smartphone size={18} />,
trailing: connected ? <span aria-hidden="true" className="size-1.5 shrink-0 rounded-full bg-success" /> : undefined,
- onSelect: onGetApp,
+ onSelect: others.length ? onChoose : () => onConnect(only),
}];
}
@@ -595,12 +591,11 @@ export function SidebarProfileMenu({ iconOnly = false, rail = false, circle = fa
const items = profileMenuItems({
phone: simple
- ? simplePhoneItems({ connected: phone.kind === "connected", onGetApp: () => setPhoneAppOpen(true) })
+ ? simplePhoneItems({ destinations, connected: phone.kind === "connected", onConnect: connectTo, onChoose: () => setPhoneAppOpen(true) })
: phoneMenuItems({
destinations,
connected: phone.kind === "connected",
onConnect: connectTo,
- onGetApp: () => setPhoneAppOpen(true),
}),
usage: !remote && !teamMember,
usageSummary: cloudUsage ?? engineUsage,
diff --git a/src/lib/app-links.ts b/src/lib/app-links.ts
index 3f9f9e7294..2712f5af4c 100644
--- a/src/lib/app-links.ts
+++ b/src/lib/app-links.ts
@@ -14,8 +14,6 @@ export function withSource(url: string, source: string): string {
return target.href;
}
export const LICENSE_URL = `${APP_REPOSITORY}/blob/main/LICENSE`;
-export const IOS_APP_STORE_URL = "https://apps.apple.com/in/app/mausbot/id6803387923";
-export const ANDROID_APK_URL = `${APP_REPOSITORY}/releases/download/android-v1.5.0/OpenMausBot.apk`;
export function appVersion(): string {
return typeof __APP_VERSION__ === "string" ? __APP_VERSION__ : "dev";
diff --git a/src/locales/de.json b/src/locales/de.json
index 0ebca4f88d..81d762001f 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -918,10 +918,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "mit der Cloud (immer an)",
"sidebar.menu.connectPhone.cloudNotReady": "Die Cloud erscheint hier, sobald sie bereit ist.",
"sidebar.menu.connectPhone.server": "mit den Bots hier",
- "sidebar.menu.getPhoneApp": "Telefon-App holen",
- "phoneApp.title": "Telefon-App holen",
- "phoneApp.install": "Installiere {app} auf deinem Handy aus dem App Store oder lade es für Android herunter.",
- "phoneApp.next": "Installiert? Verbinde als Nächstes dein Telefon und scanne den Kopplungscode mit der App.",
"sidebar.menu.settings": "Einstellungen",
"sidebar.menu.about": "Über",
"about.version": "Version {version}",
@@ -1643,7 +1639,7 @@
"phone.success.done": "Fertig",
"phone.code.expired": "Dieser Code ist abgelaufen",
"phone.code.title": "Code scannen oder eingeben",
- "phone.code.scanInApp": "Öffne {app} auf deinem Handy und scanne diesen Code.",
+ "phone.code.installAndScan": "Installiere {app} auf deinem Handy aus dem App Store oder von Google Play und scanne diesen Code dann in der App.",
"phone.code.notCamera": "Scanne ihn in der {app}-App, nicht mit der Kamera.",
"phone.code.expiredDetail": "Erstell einen neuen Code, wenn das andere Gerät bereit ist.",
"phone.code.qrAria": "QR-Code zur Gerätekopplung",
diff --git a/src/locales/en.json b/src/locales/en.json
index a7c2b7ba9d..a7c82852d6 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -2452,10 +2452,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "to the Cloud (always on)",
"sidebar.menu.connectPhone.cloudNotReady": "The Cloud shows here once it's ready.",
"sidebar.menu.connectPhone.server": "to the bots here",
- "sidebar.menu.getPhoneApp": "Get the phone app",
- "phoneApp.title": "Get the phone app",
- "phoneApp.install": "On your phone, install {app} from the App Store, or download it for Android.",
- "phoneApp.next": "Installed? Connect your phone next, and scan the pairing code with the app.",
"accounts.heading": "Signed in as",
"accounts.add": "Add another account",
"rail.accountSub": "Stay signed in to more than one, and move between them from here.",
@@ -4806,7 +4802,7 @@
"phone.success.done": "Done",
"phone.code.expired": "That code expired",
"phone.code.title": "Scan or enter the code",
- "phone.code.scanInApp": "Open {app} on your phone and scan this code.",
+ "phone.code.installAndScan": "Install {app} on your phone from the App Store or Google Play, then scan this code in the app.",
"phone.code.notCamera": "Scan it from inside the {app} app, not the camera.",
"phone.code.expiredDetail": "Create a fresh code when the other device is ready.",
"phone.code.qrAria": "Device pairing QR code",
diff --git a/src/locales/es.json b/src/locales/es.json
index 436c120887..6913220069 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -1817,10 +1817,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a la Cloud (siempre activa)",
"sidebar.menu.connectPhone.cloudNotReady": "La Cloud aparecerá aquí cuando esté lista.",
"sidebar.menu.connectPhone.server": "a los bots de aquí",
- "sidebar.menu.getPhoneApp": "Obtener la app para el teléfono",
- "phoneApp.title": "Obtener la app para el teléfono",
- "phoneApp.install": "En tu teléfono, instala {app} desde la App Store o descárgalo para Android.",
- "phoneApp.next": "¿Ya la instalaste? Ahora conecta tu teléfono y escanea el código de vinculación con la app.",
"sidebar.menu.settings": "Ajustes",
"sidebar.menu.about": "Acerca de",
"about.version": "Versión {version}",
@@ -3565,7 +3561,7 @@
"phone.success.done": "Listo",
"phone.code.expired": "Ese código caducó",
"phone.code.title": "Escanea o escribe el código",
- "phone.code.scanInApp": "Abre {app} en tu teléfono y escanea este código.",
+ "phone.code.installAndScan": "Instala {app} en tu teléfono desde la App Store o Google Play y luego escanea este código en la app.",
"phone.code.notCamera": "Escanéalo desde la app {app}, no con la cámara.",
"phone.code.expiredDetail": "Crea un código nuevo cuando el otro dispositivo esté listo.",
"phone.code.qrAria": "Código QR de emparejamiento del dispositivo",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index c3c296ef26..65b6d88347 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -767,10 +767,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "au Cloud (toujours actif)",
"sidebar.menu.connectPhone.cloudNotReady": "Le Cloud apparaîtra ici dès qu’il sera prêt.",
"sidebar.menu.connectPhone.server": "aux bots d'ici",
- "sidebar.menu.getPhoneApp": "Obtenir l’app mobile",
- "phoneApp.title": "Obtenir l’app mobile",
- "phoneApp.install": "Sur votre téléphone, installez {app} depuis l'App Store ou téléchargez-le pour Android.",
- "phoneApp.next": "Installée ? Connectez ensuite votre téléphone et scannez le code d’association avec l’app.",
"sidebar.menu.settings": "Paramètres",
"sidebar.menu.about": "À propos",
"about.version": "Version {version}",
@@ -1566,7 +1562,7 @@
"phone.success.done": "Terminé",
"phone.code.expired": "Ce code a expiré",
"phone.code.title": "Scannez ou saisissez le code",
- "phone.code.scanInApp": "Ouvrez {app} sur votre téléphone et scannez ce code.",
+ "phone.code.installAndScan": "Installez {app} sur votre téléphone depuis l'App Store ou Google Play, puis scannez ce code dans l'app.",
"phone.code.notCamera": "Scannez-le depuis l'app {app}, pas avec l'appareil photo.",
"phone.code.expiredDetail": "Créez un nouveau code quand l’autre appareil est prêt.",
"phone.code.qrAria": "QR code d’appairage de l’appareil",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index cbefa5ef4d..6bec9799c7 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -767,10 +767,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "Cloud से (हमेशा चालू)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud तैयार होते ही यहाँ दिखेगा।",
"sidebar.menu.connectPhone.server": "यहाँ के बॉट से",
- "sidebar.menu.getPhoneApp": "फ़ोन ऐप पाएँ",
- "phoneApp.title": "फ़ोन ऐप पाएँ",
- "phoneApp.install": "अपने फ़ोन पर App Store से {app} इंस्टॉल करें, या Android के लिए डाउनलोड करें।",
- "phoneApp.next": "इंस्टॉल हो गया? अब अपना फ़ोन कनेक्ट करें और ऐप से जोड़ने का कोड स्कैन करें।",
"sidebar.menu.settings": "सेटिंग्स",
"sidebar.menu.about": "परिचय",
"about.version": "संस्करण {version}",
@@ -1566,7 +1562,7 @@
"phone.success.done": "हो गया",
"phone.code.expired": "वह कोड समाप्त हो गया",
"phone.code.title": "कोड स्कैन करें या दर्ज करें",
- "phone.code.scanInApp": "अपने फ़ोन पर {app} खोलें और यह कोड स्कैन करें।",
+ "phone.code.installAndScan": "अपने फ़ोन पर App Store या Google Play से {app} इंस्टॉल करें, फिर ऐप में यह कोड स्कैन करें।",
"phone.code.notCamera": "इसे {app} ऐप के अंदर से स्कैन करें, कैमरे से नहीं।",
"phone.code.expiredDetail": "जब दूसरा डिवाइस तैयार हो, तब नया कोड बनाएँ।",
"phone.code.qrAria": "डिवाइस पेयरिंग QR कोड",
diff --git a/src/locales/it.json b/src/locales/it.json
index a95d5247a4..4dbc92f44e 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -1925,10 +1925,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "al Cloud (sempre attivo)",
"sidebar.menu.connectPhone.cloudNotReady": "Il Cloud compare qui quando è pronto.",
"sidebar.menu.connectPhone.server": "ai bot qui",
- "sidebar.menu.getPhoneApp": "Ottieni l'app per il telefono",
- "phoneApp.title": "Ottieni l'app per il telefono",
- "phoneApp.install": "Sul telefono, installa {app} dall'App Store o scaricalo per Android.",
- "phoneApp.next": "Installata? Poi collega il telefono e scansiona il codice di associazione con l'app.",
"sidebar.menu.settings": "Impostazioni",
"sidebar.menu.about": "Informazioni",
"sidebar.menu.shortcuts": "Scorciatoie da tastiera",
@@ -3818,7 +3814,7 @@
"phone.success.done": "Fatto",
"phone.code.expired": "Quel codice è scaduto",
"phone.code.title": "Scansiona o inserisci il codice",
- "phone.code.scanInApp": "Apri {app} sul telefono e scansiona questo codice.",
+ "phone.code.installAndScan": "Installa {app} sul telefono dall'App Store o da Google Play, poi scansiona questo codice nell'app.",
"phone.code.notCamera": "Scansionalo dall'app {app}, non con la fotocamera.",
"phone.code.expiredDetail": "Crea un codice nuovo quando l'altro dispositivo è pronto.",
"phone.code.qrAria": "Codice QR di abbinamento del dispositivo",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index dfa0b9a890..d752c08261 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -2193,10 +2193,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "Cloud へ(常時稼働)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud の準備ができると、ここに表示されます。",
"sidebar.menu.connectPhone.server": "ここのボットへ",
- "sidebar.menu.getPhoneApp": "スマートフォンアプリを入手",
- "phoneApp.title": "スマートフォンアプリを入手",
- "phoneApp.install": "スマートフォンに App Store から {app} をインストールするか、Android 版をダウンロードしてください。",
- "phoneApp.next": "インストールしたら、次にスマートフォンを接続し、アプリでペアリングコードを読み取ってください。",
"accounts.heading": "サインイン中のアカウント",
"sidebar.menu.settings": "設定",
"sidebar.menu.about": "このアプリについて",
@@ -4383,7 +4379,7 @@
"phone.success.done": "完了",
"phone.code.expired": "そのコードは期限切れです",
"phone.code.title": "コードを読み取るか入力",
- "phone.code.scanInApp": "スマートフォンで {app} を開き、このコードをスキャンしてください。",
+ "phone.code.installAndScan": "スマートフォンに App Store または Google Play から {app} をインストールし、アプリでこのコードをスキャンしてください。",
"phone.code.notCamera": "カメラではなく、{app} アプリの中からスキャンしてください。",
"phone.code.expiredDetail": "もう一方のデバイスの準備ができたら、新しいコードを作ってください。",
"phone.code.qrAria": "デバイスペアリングの QR コード",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 65bb6369da..14fbf592b0 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -2088,10 +2088,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "클라우드에(항상 켜짐)",
"sidebar.menu.connectPhone.cloudNotReady": "클라우드가 준비되면 여기에 표시돼요.",
"sidebar.menu.connectPhone.server": "여기 있는 봇에",
- "sidebar.menu.getPhoneApp": "휴대폰 앱 받기",
- "phoneApp.title": "휴대폰 앱 받기",
- "phoneApp.install": "휴대폰에서 App Store로 {app}을 설치하거나 Android용으로 다운로드하세요.",
- "phoneApp.next": "설치했나요? 이제 휴대폰을 연결하고 앱으로 페어링 코드를 스캔하세요.",
"sidebar.menu.settings": "설정",
"sidebar.menu.about": "정보",
"about.version": "버전 {version}",
@@ -4187,7 +4183,7 @@
"phone.success.done": "완료",
"phone.code.expired": "코드가 만료됐어요",
"phone.code.title": "코드를 스캔하거나 입력하세요",
- "phone.code.scanInApp": "휴대폰에서 {app}을 열고 이 코드를 스캔하세요.",
+ "phone.code.installAndScan": "휴대폰에 App Store 또는 Google Play에서 {app}을 설치한 다음, 앱에서 이 코드를 스캔하세요.",
"phone.code.notCamera": "카메라가 아니라 {app} 앱 안에서 스캔하세요.",
"phone.code.expiredDetail": "다른 기기가 준비되면 새 코드를 만드세요.",
"phone.code.qrAria": "기기 페어링 QR 코드",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 9c5180f1c2..92eb50e560 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -1945,10 +1945,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "z Chmurą (zawsze włączona)",
"sidebar.menu.connectPhone.cloudNotReady": "Chmura pojawi się tutaj, gdy będzie gotowa.",
"sidebar.menu.connectPhone.server": "z tutejszymi botami",
- "sidebar.menu.getPhoneApp": "Pobierz aplikację na telefon",
- "phoneApp.title": "Pobierz aplikację na telefon",
- "phoneApp.install": "Na telefonie zainstaluj {app} z App Store albo pobierz wersję na Androida.",
- "phoneApp.next": "Zainstalowano? Następnie połącz telefon i zeskanuj w aplikacji kod parowania.",
"sidebar.menu.settings": "Ustawienia",
"sidebar.menu.about": "O programie",
"about.version": "Wersja {version}",
@@ -3885,7 +3881,7 @@
"phone.success.done": "Gotowe",
"phone.code.expired": "Ten kod wygasł",
"phone.code.title": "Zeskanuj lub wpisz kod",
- "phone.code.scanInApp": "Otwórz {app} na telefonie i zeskanuj ten kod.",
+ "phone.code.installAndScan": "Zainstaluj {app} na telefonie z App Store lub Google Play, a potem zeskanuj ten kod w aplikacji.",
"phone.code.notCamera": "Zeskanuj go w aplikacji {app}, nie aparatem.",
"phone.code.expiredDetail": "Utwórz nowy kod, gdy drugie urządzenie będzie gotowe.",
"phone.code.qrAria": "Kod QR do parowania urządzenia",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index a912f77efb..958596f954 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -2286,10 +2286,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "ao Cloud (sempre ligado)",
"sidebar.menu.connectPhone.cloudNotReady": "O Cloud aparece aqui quando estiver pronto.",
"sidebar.menu.connectPhone.server": "aos bots daqui",
- "sidebar.menu.getPhoneApp": "Baixar o app para celular",
- "phoneApp.title": "Baixar o app para celular",
- "phoneApp.install": "No celular, instale o {app} pela App Store ou baixe para Android.",
- "phoneApp.next": "Instalou? Agora conecte seu celular e escaneie o código de pareamento com o app.",
"accounts.heading": "Login feito como",
"accounts.add": "Adicionar outra conta",
"rail.accountSub": "Mantenha mais de uma conta conectada e alterne entre elas por aqui.",
@@ -4507,7 +4503,7 @@
"phone.success.done": "Concluir",
"phone.code.expired": "Esse código expirou",
"phone.code.title": "Escaneie ou digite o código",
- "phone.code.scanInApp": "Abra o {app} no celular e escaneie este código.",
+ "phone.code.installAndScan": "Instale o {app} no celular pela App Store ou pelo Google Play e escaneie este código no app.",
"phone.code.notCamera": "Escaneie pelo app {app}, não pela câmera.",
"phone.code.expiredDetail": "Crie um código novo quando o outro dispositivo estiver pronto.",
"phone.code.qrAria": "QR code de pareamento do dispositivo",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index b2a6fe8de7..cafb3c6a81 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -1995,10 +1995,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "к Облаку (всегда на связи)",
"sidebar.menu.connectPhone.cloudNotReady": "Облако появится здесь, когда будет готово.",
"sidebar.menu.connectPhone.server": "к ботам здесь",
- "sidebar.menu.getPhoneApp": "Скачать приложение для телефона",
- "phoneApp.title": "Скачать приложение для телефона",
- "phoneApp.install": "Установите {app} на телефон из App Store или скачайте версию для Android.",
- "phoneApp.next": "Установили? Затем подключите телефон и отсканируйте код сопряжения в приложении.",
"sidebar.menu.settings": "Настройки",
"sidebar.menu.about": "О программе",
"sidebar.menu.shortcuts": "Сочетания клавиш",
@@ -3938,7 +3934,7 @@
"phone.success.done": "Готово",
"phone.code.expired": "Срок действия кода истёк",
"phone.code.title": "Сканируйте или введите код",
- "phone.code.scanInApp": "Откройте {app} на телефоне и отсканируйте этот код.",
+ "phone.code.installAndScan": "Установите {app} на телефон из App Store или Google Play, затем отсканируйте этот код в приложении.",
"phone.code.notCamera": "Сканируйте его в приложении {app}, а не камерой.",
"phone.code.expiredDetail": "Создайте новый код, когда другое устройство будет готово.",
"phone.code.qrAria": "QR-код сопряжения устройства",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 48c957c817..4eeb7922c5 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -472,9 +472,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -4800,9 +4797,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -9946,9 +9940,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -13258,9 +13249,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -17530,9 +17518,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -25951,9 +25936,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"accounts.heading": "abc50e334be41488670a47356c2a5e8c364b4bc94d7ff3cd3f5d0b0afee560ec",
"accounts.add": "11802faf37075adb1cf4e70430fa895ec334b03bab8234431f1b3c22fe707aaf",
"rail.accountSub": "d3b94d4adca643d2502e00b0043f43aa72849c0233e6068060544d3ac34e6749",
@@ -34640,9 +34622,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -42589,9 +42568,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -52102,9 +52078,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.help": "a78cebc44214256ba361dcee3f1cc1408e55ea6940c65067615abd4fdcc2d788",
@@ -56332,9 +56305,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -61916,9 +61886,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -67844,9 +67811,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -74709,9 +74673,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -81577,9 +81538,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"sidebar.menu.shortcuts": "e9bef0b0f3c25e6eaf3a754817a8b4f62e1c8473cb2be3e190975926dbf72d6f",
@@ -88592,9 +88550,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "a4e7e934d60ea3bc453d44f0efa3215ba6ab07fe40c1e0660ef0d6b7f49b6326",
"sidebar.menu.connectPhone.cloudNotReady": "b142ded8c52beacfe740ebb3139c840e6699896f3fb028cbd955381054dd2f3e",
"sidebar.menu.connectPhone.server": "d516e2698a676601aa0fcd823165c6d491bf75116d0b4fcb05b944e85b614ea9",
- "sidebar.menu.getPhoneApp": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.title": "3f5f9908276abefd9441baf9251777bbc262bbff2adff1aa0c71837eb680ff11",
- "phoneApp.next": "e55df4f8f4c0b24b2bf33c7922e2ac240b793ed7042027b07c9e37cda88612e5",
"sidebar.menu.settings": "74a883a037bc227f91891ab654a753d3a99f31ab06ae5b5d2b6e594a692b41f8",
"sidebar.menu.about": "4efca0d10c5feb8e9b35eb1d994f2905bb71714e6a271f511d713b539ea5faa1",
"about.version": "a18745121bb8af6d1a0c689cfb3c2a2245d10d5fe3b37ff37c8b69fd74773dfa",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 4c4eadfeba..c61b062ab1 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -1521,10 +1521,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "Cloud'a (her zaman açık)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud hazır olduğunda burada görünür.",
"sidebar.menu.connectPhone.server": "buradaki botlara",
- "sidebar.menu.getPhoneApp": "Telefon uygulamasını edinin",
- "phoneApp.title": "Telefon uygulamasını edinin",
- "phoneApp.install": "Telefonunuza {app} uygulamasını App Store'dan yükleyin veya Android için indirin.",
- "phoneApp.next": "Yüklediniz mi? Şimdi telefonunuzu bağlayın ve eşleştirme kodunu uygulamayla tarayın.",
"sidebar.menu.settings": "Ayarlar",
"sidebar.menu.about": "Hakkında",
"about.version": "Sürüm {version}",
@@ -3226,7 +3222,7 @@
"phone.success.done": "Bitti",
"phone.code.expired": "Bu kodun süresi doldu",
"phone.code.title": "Kodu tarayın veya girin",
- "phone.code.scanInApp": "Telefonunuzda {app} uygulamasını açın ve bu kodu tarayın.",
+ "phone.code.installAndScan": "{app} uygulamasını telefonunuza App Store'dan veya Google Play'den yükleyin, ardından bu kodu uygulamada tarayın.",
"phone.code.notCamera": "Kamerayla değil, {app} uygulamasının içinden tarayın.",
"phone.code.expiredDetail": "Diğer cihaz hazır olduğunda yeni bir kod oluşturun.",
"phone.code.qrAria": "Cihaz eşleştirme QR kodu",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 4e8154e04c..7cde28abe1 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -886,10 +886,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "до Cloud (завжди увімкнений)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud з’явиться тут, щойно буде готовий.",
"sidebar.menu.connectPhone.server": "до ботів тут",
- "sidebar.menu.getPhoneApp": "Отримати застосунок для телефона",
- "phoneApp.title": "Отримати застосунок для телефона",
- "phoneApp.install": "Установіть {app} на телефон з App Store або завантажте версію для Android.",
- "phoneApp.next": "Встановили? Тепер підключіть телефон і відскануйте код прив'язки в застосунку.",
"sidebar.menu.settings": "Налаштування",
"sidebar.menu.about": "Про застосунок",
"about.version": "Версія {version}",
@@ -1883,7 +1879,7 @@
"phone.success.done": "Готово",
"phone.code.expired": "Цей код сплив",
"phone.code.title": "Скануйте або введіть код",
- "phone.code.scanInApp": "Відкрийте {app} на телефоні й відскануйте цей код.",
+ "phone.code.installAndScan": "Установіть {app} на телефон з App Store або Google Play, а потім відскануйте цей код у застосунку.",
"phone.code.notCamera": "Скануйте його в застосунку {app}, а не камерою.",
"phone.code.expiredDetail": "Створіть свіжий код, коли інший пристрій буде готовий.",
"phone.code.qrAria": "QR-код прив'язки пристрою",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 9774adb1d9..40fe805206 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -1521,10 +1521,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "với Cloud (luôn bật)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud sẽ hiển thị ở đây khi sẵn sàng.",
"sidebar.menu.connectPhone.server": "với các bot ở đây",
- "sidebar.menu.getPhoneApp": "Tải ứng dụng điện thoại",
- "phoneApp.title": "Tải ứng dụng điện thoại",
- "phoneApp.install": "Trên điện thoại, hãy cài {app} từ App Store hoặc tải xuống cho Android.",
- "phoneApp.next": "Đã cài đặt xong? Tiếp theo hãy kết nối điện thoại và quét mã ghép nối bằng ứng dụng.",
"sidebar.menu.settings": "Cài đặt",
"sidebar.menu.about": "Giới thiệu",
"about.version": "Phiên bản {version}",
@@ -3226,7 +3222,7 @@
"phone.success.done": "Xong",
"phone.code.expired": "Mã đó đã hết hạn",
"phone.code.title": "Quét hoặc nhập mã",
- "phone.code.scanInApp": "Mở {app} trên điện thoại và quét mã này.",
+ "phone.code.installAndScan": "Cài {app} trên điện thoại từ App Store hoặc Google Play, rồi quét mã này trong ứng dụng.",
"phone.code.notCamera": "Hãy quét mã trong ứng dụng {app}, không dùng máy ảnh.",
"phone.code.expiredDetail": "Tạo mã mới khi thiết bị kia đã sẵn sàng.",
"phone.code.qrAria": "Mã QR ghép nối thiết bị",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 6f1bf36af9..6baaf7967b 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -2353,10 +2353,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "到 Cloud(隨時在線)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud 準備好後會顯示在這裡。",
"sidebar.menu.connectPhone.server": "到這裡的機器人",
- "sidebar.menu.getPhoneApp": "取得手機 App",
- "phoneApp.title": "取得手機 App",
- "phoneApp.install": "在手機上從 App Store 安裝 {app},或下載 Android 版。",
- "phoneApp.next": "裝好了嗎?接著連接你的手機,用 App 掃描配對碼。",
"accounts.heading": "登入身分",
"accounts.add": "新增其他帳號",
"rail.accountSub": "同時保持多個登入,並從這裡在它們之間切換。",
@@ -4554,7 +4550,7 @@
"phone.success.done": "完成",
"phone.code.expired": "該驗證碼已失效",
"phone.code.title": "掃描或輸入驗證碼",
- "phone.code.scanInApp": "在手機上開啟 {app},掃描此 QR 碼。",
+ "phone.code.installAndScan": "從 App Store 或 Google Play 在手機上安裝 {app},然後在 App 中掃描此 QR 碼。",
"phone.code.notCamera": "請在 {app} App 內掃描,不要用相機。",
"phone.code.expiredDetail": "等另一台裝置準備好後,再建立新的驗證碼。",
"phone.code.qrAria": "裝置配對 QR code",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 58c274d6f6..0c27461868 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -2225,10 +2225,6 @@
"sidebar.menu.connectPhone.cloudAlwaysOn": "到 Cloud(始终在线)",
"sidebar.menu.connectPhone.cloudNotReady": "Cloud 准备好后会显示在这里。",
"sidebar.menu.connectPhone.server": "到这里的机器人",
- "sidebar.menu.getPhoneApp": "获取手机应用",
- "phoneApp.title": "获取手机应用",
- "phoneApp.install": "在手机上从 App Store 安装 {app},或下载 Android 版。",
- "phoneApp.next": "装好了?接下来连接你的手机,用应用扫描配对代码。",
"sidebar.menu.settings": "设置",
"sidebar.menu.about": "关于",
"about.version": "版本 {version}",
@@ -4357,7 +4353,7 @@
"phone.success.done": "完成",
"phone.code.expired": "该验证码已过期",
"phone.code.title": "扫描或输入验证码",
- "phone.code.scanInApp": "在手机上打开 {app},扫描此二维码。",
+ "phone.code.installAndScan": "从 App Store 或 Google Play 在手机上安装 {app},然后在应用中扫描此二维码。",
"phone.code.notCamera": "请在 {app} 应用内扫描,不要用相机。",
"phone.code.expiredDetail": "等另一台设备准备好后再生成新码。",
"phone.code.qrAria": "设备配对二维码",