From 03d3f49c3da443d5eb5dfd3c087976e324ec3b3b Mon Sep 17 00:00:00 2001 From: Vincent Koc <25068+vincentkoc@users.noreply.github.com> Date: Wed, 1 Jul 2026 01:27:54 -0700 Subject: [PATCH] fix(android): preserve Swedish app name --- apps/android/app/src/main/res/values-sv/strings.xml | 2 +- test/scripts/android-app-i18n.test.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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'); + }); });