diff --git a/apps/android/app/src/main/res/values-sv/strings.xml b/apps/android/app/src/main/res/values-sv/strings.xml index 0cab4f41455..6864ed16472 100644 --- a/apps/android/app/src/main/res/values-sv/strings.xml +++ b/apps/android/app/src/main/res/values-sv/strings.xml @@ -1,5 +1,5 @@ - OpenClaw Node + OpenClaw-nod Gatewayanslutning Anslut gateway Koppla från diff --git a/test/scripts/android-app-i18n.test.ts b/test/scripts/android-app-i18n.test.ts index 503efd3dfbf..325237defb9 100644 --- a/test/scripts/android-app-i18n.test.ts +++ b/test/scripts/android-app-i18n.test.ts @@ -1,3 +1,4 @@ +import { readFile } from "node:fs/promises"; import { describe, expect, it } from "vitest"; import { checkAndroidAppI18n } from "../../scripts/android-app-i18n.ts"; @@ -5,4 +6,9 @@ describe("Android app i18n resources", () => { it("keeps every native locale resource key aligned with English", async () => { await expect(checkAndroidAppI18n()).resolves.toBeUndefined(); }); + + it("preserves the existing Swedish app name", async () => { + const strings = await readFile("apps/android/app/src/main/res/values-sv/strings.xml", "utf8"); + expect(strings).toContain('OpenClaw-nod'); + }); });