From 3b045d6fbab1ffb69af91899d7fa451932208ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 15 May 2026 20:54:54 +0200 Subject: [PATCH] chore(insights): rename the advisor title key to neutral phrasing across six locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace `insights.aiAnalysisTitle` with `insights.advisorTitle` across all six locale bundles and the four call sites in `insight-advisor-card.tsx`. EN renders "Personal health advisor", DE "Persönlicher Berater" matching the card subtitle vocabulary, and FR/ES/IT/PL pick up native phrasings instead of the English fallback that previously leaked verbatim on those locales. The card now reads in the same voice as the rest of the Coach and advisor surfaces. --- messages/de.json | 2 +- messages/en.json | 2 +- messages/es.json | 2 +- messages/fr.json | 2 +- messages/it.json | 2 +- messages/pl.json | 2 +- src/components/insights/insight-advisor-card.tsx | 8 ++++---- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/messages/de.json b/messages/de.json index 1f2c33c77..62dc7c435 100644 --- a/messages/de.json +++ b/messages/de.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Vergleich für Compliance nicht verfügbar" }, "insights": { - "aiAnalysisTitle": "KI-Gesundheitsanalyse", + "advisorTitle": "Persönlicher Berater", "aiOverviewTitle": "Persönlicher Berater", "emptyTitle": "Noch nicht genug Daten", "emptyDescription": "Insights erscheinen, sobald du ein paar Messwerte erfasst hast. Beginne mit Gewicht oder Blutdruck.", diff --git a/messages/en.json b/messages/en.json index 24028f55c..71cd53ab0 100644 --- a/messages/en.json +++ b/messages/en.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Comparison N/A for compliance" }, "insights": { - "aiAnalysisTitle": "AI Health Analysis", + "advisorTitle": "Personal health advisor", "aiOverviewTitle": "Personal advisor", "noAnalysisYet": "No analysis yet.", "emptyTitle": "Not enough data yet", diff --git a/messages/es.json b/messages/es.json index be63eb91b..e6a5f57b3 100644 --- a/messages/es.json +++ b/messages/es.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Comparison N/A for compliance" }, "insights": { - "aiAnalysisTitle": "AI Health Analysis", + "advisorTitle": "Asesor personal de salud", "aiOverviewTitle": "Personal advisor", "noAnalysisYet": "No analysis yet.", "emptyTitle": "Not enough data yet", diff --git a/messages/fr.json b/messages/fr.json index 4528d5f58..44a062bc5 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Comparison N/A for compliance" }, "insights": { - "aiAnalysisTitle": "AI Health Analysis", + "advisorTitle": "Conseiller santé personnel", "aiOverviewTitle": "Personal advisor", "noAnalysisYet": "No analysis yet.", "emptyTitle": "Not enough data yet", diff --git a/messages/it.json b/messages/it.json index 4aaaddd27..34b127a51 100644 --- a/messages/it.json +++ b/messages/it.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Comparison N/A for compliance" }, "insights": { - "aiAnalysisTitle": "AI Health Analysis", + "advisorTitle": "Consulente personale di salute", "aiOverviewTitle": "Personal advisor", "noAnalysisYet": "No analysis yet.", "emptyTitle": "Not enough data yet", diff --git a/messages/pl.json b/messages/pl.json index f696e49dd..cd44d861a 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -907,7 +907,7 @@ "notAvailableForCompliance": "Comparison N/A for compliance" }, "insights": { - "aiAnalysisTitle": "AI Health Analysis", + "advisorTitle": "Osobisty doradca zdrowotny", "aiOverviewTitle": "Personal advisor", "noAnalysisYet": "No analysis yet.", "emptyTitle": "Not enough data yet", diff --git a/src/components/insights/insight-advisor-card.tsx b/src/components/insights/insight-advisor-card.tsx index e514eecaf..2a3f3f684 100644 --- a/src/components/insights/insight-advisor-card.tsx +++ b/src/components/insights/insight-advisor-card.tsx @@ -345,7 +345,7 @@ export function InsightAdvisorCard({
{icon ?? } - {t("insights.aiAnalysisTitle")} + {t("insights.advisorTitle")}
{title &&

{title}

} @@ -377,7 +377,7 @@ export function InsightAdvisorCard({
{icon ?? } - {t("insights.aiAnalysisTitle")} + {t("insights.advisorTitle")}
@@ -467,7 +467,7 @@ export function InsightAdvisorCard({
{icon ?? } - {t("insights.aiAnalysisTitle")} + {t("insights.advisorTitle")}
{onRegenerate && ( @@ -528,7 +528,7 @@ export function InsightAdvisorCard({
{icon ?? } - {t("insights.aiAnalysisTitle")} + {t("insights.advisorTitle")}