From 1e4a37fbfbfd96a1e8b2e2bda4c1c56847776381 Mon Sep 17 00:00:00 2001 From: "clawsweeper[bot]" <274271284+clawsweeper[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:59:45 -0700 Subject: [PATCH] fix(ci): Found three actionable i18n regressions: the touched i18n test fi (#74527) Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com> --- ui/src/i18n/test/translate.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ui/src/i18n/test/translate.test.ts b/ui/src/i18n/test/translate.test.ts index 4a1c522f389..cc6a0e9ee83 100644 --- a/ui/src/i18n/test/translate.test.ts +++ b/ui/src/i18n/test/translate.test.ts @@ -126,6 +126,19 @@ describe("i18n", () => { expect((zh_TW.common as { version?: string }).version).toBeTruthy(); }); + it("keeps newly exposed locales from shipping as English fallback bundles", () => { + const englishHealth = (en.common as { health: string }).health; + for (const [locale, value] of Object.entries({ + ar, + fa, + it: itLocale, + nl, + vi: viLocale, + })) { + expect((value.common as { health: string }).health, locale).not.toBe(englishHealth); + } + }); + it("keeps shipped locales structurally aligned with English", () => { const englishKeys = flatten(en); for (const [locale, value] of Object.entries({