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>
This commit is contained in:
clawsweeper[bot]
2026-04-29 13:59:45 -07:00
committed by GitHub
parent c160bec3d6
commit 1e4a37fbfb

View File

@@ -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({