Skip to content

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

test(i18n): prove the English fallback with Hindi, now that German translates the department dialogs

milind-soni850645e964f5
diff --git a/src/lib/i18n.test.ts b/src/lib/i18n.test.ts
index a0dd818f1d..d6f08c376c 100644
--- a/src/lib/i18n.test.ts
+++ b/src/lib/i18n.test.ts
@@ -48,7 +48,8 @@ describe("t", () => {
});
it("keeps new department lifecycle labels available in partial packs, with interpolated names and counts", () => {
- setLocale("de");
+ // Hindi does not translate the department dialogs yet, so they fall back to English with their names and counts.
+ setLocale("hi");
expect(t("team.create")).toBe("Create department");
expect(t("team.moveTo", { name: "Research" })).toBe("Move bots to Research");
expect(t("team.moveMany", { count: 2 })).toBe("Move 2 bots");