Skip to content

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

test(locales): require the English MCP sign-in line; shorten the comment

AdityaUmale123d4e55e084
diff --git a/src/locales/mcp-sign-in-path.test.ts b/src/locales/mcp-sign-in-path.test.ts
index 8f87181dbf..99323e8c3b 100644
--- a/src/locales/mcp-sign-in-path.test.ts
+++ b/src/locales/mcp-sign-in-path.test.ts
@@ -3,13 +3,13 @@ import { join } from "node:path";
import { expect, it } from "vitest";
-// A sign-in the chat card can't finish (a provider that only lets apps come back to this computer) sends the person to
-// the MCP servers list, which lives under Apps, not Settings. Each language names the place its own screens show.
+// Some providers allow only loopback redirects, so their sign-in is completed by paste-back under Apps → MCP servers.
const DIR = __dirname;
const pack = (file: string) => JSON.parse(readFileSync(join(DIR, file), "utf8")) as Record<string, string | undefined>;
const en = pack("en.json");
it("sends the person to Apps → MCP servers, where the paste-back sign-in is", () => {
+ expect(en["server.mcp.signIn.inSettings"], "en.json").toBeDefined();
for (const file of readdirSync(DIR).filter((name) => name.endsWith(".json") && name !== "source-hashes.json")) {
const words = pack(file);
const sentence = words["server.mcp.signIn.inSettings"];