chore(insights): rename the advisor title key to neutral phrasing across six locales

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.
This commit is contained in:
Marc-André Bombeck committed 2026-05-15 20:54:54 +02:00
1 parent 47d2071938
commit 3b045d6fba
7 files changed
+10 -10

No files matched your search

@@ -345,7 +345,7 @@ export function InsightAdvisorCard({
<div className="flex items-center gap-2">
{icon ?? <Sparkles className="text-dracula-purple h-5 w-5" />}
<CardTitle className="text-lg">
{t("insights.aiAnalysisTitle")}
{t("insights.advisorTitle")}
</CardTitle>
</div>
{title && <p className="text-muted-foreground text-sm">{title}</p>}
@@ -377,7 +377,7 @@ export function InsightAdvisorCard({
<div className="flex items-center gap-2">
{icon ?? <Sparkles className="text-dracula-purple h-5 w-5" />}
<CardTitle className="text-lg">
{t("insights.aiAnalysisTitle")}
{t("insights.advisorTitle")}
</CardTitle>
</div>
</div>
@@ -467,7 +467,7 @@ export function InsightAdvisorCard({
<div className="flex items-center gap-2">
{icon ?? <Sparkles className="text-dracula-purple h-5 w-5" />}
<CardTitle className="text-lg">
{t("insights.aiAnalysisTitle")}
{t("insights.advisorTitle")}
</CardTitle>
</div>
{onRegenerate && (
@@ -528,7 +528,7 @@ export function InsightAdvisorCard({
<div className="flex items-center gap-2">
{icon ?? <Sparkles className="text-dracula-purple h-5 w-5" />}
<CardTitle className="text-lg">
{t("insights.aiAnalysisTitle")}
{t("insights.advisorTitle")}
</CardTitle>
</div>
<div className="flex items-center gap-2">