From 6d67e84ceab09a226dfe68af4003bbf812990b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 9 Aug 2026 03:59:19 +0200 Subject: [PATCH] fix(dashboard): localize the respiratory-rate unit label The respiratory-rate tile hard-coded the English unit while the metric sub-page already reads the localized string. Point the tile at the same key so every locale shows its own unit. --- src/app/page-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page-client.tsx b/src/app/page-client.tsx index f5fa53d10..5287c60f8 100644 --- a/src/app/page-client.tsx +++ b/src/app/page-client.tsx @@ -1354,7 +1354,7 @@ export default function DashboardPageClient({ key="respiratoryRate" label={t("measurements.typeRespiratoryRate")} latest={respRateSummary?.latest ?? null} - unit="breaths/min" + unit={t("insights.units.respiratoryRate")} avg7={respRateSummary?.avg7 ?? null} avg30={respRateSummary?.avg30 ?? null} slope30={respRateSummary?.slope30 ?? null}