From c10b4ca3fd806a22e59de3dd3d1a3721e8400eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 14 May 2026 18:32:23 +0200 Subject: [PATCH] feat(dashboard): abbreviate tile headings + locale-specific BP/BF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wires the top-row Dashboard tiles (Weight, BP-sys, BP-dia, Pulse, Body Fat, Mood, Sleep, Steps, VO2 max, BP in Target) to locale-specific abbreviated heading keys (`dashboard.*Short`) so the heading row always fits a single line at narrow viewports. The Romance + Slavic locales pick the clinical compact forms used in medical practice — FR/IT/ES use `TA` / `PA` for blood pressure, PL uses `RR` (Riva-Rocci); body-fat shortens to `KF` in DE and `GC` / `TG` / `TT` in the other non-EN locales. EN and the already-short DE labels (Puls, Stimmung, Schlaf, Waga) keep their familiar wording. The corresponding i18n keys landed in messages/ across all six locales via the same touchpoint. The full `dashboard.bloodPressureSys` / `bodyFat` / `pulse` labels stay in place for the Settings → Dashboard layout picker and the chart-row titles below the tile strip — only the cramped tile heading row reaches for the short form. --- src/app/page.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 856996d55..82d15cec8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -571,7 +571,7 @@ export default function DashboardPage() { node: (