From 8a13962055ebc3d4f9e976bd5f5e0fd4d76b8522 Mon Sep 17 00:00:00 2001 From: Sven Date: Thu, 23 Apr 2026 12:35:18 +0200 Subject: [PATCH] =?UTF-8?q?UX:=20KI-Analyse=20=E2=86=92=20KI=20Insights=20?= =?UTF-8?q?zu=20[Name]=20in=20PersonDetailView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sektionsüberschrift und Sheet-Titel enthalten jetzt den Vornamen der Person für mehr Kontext. Englische Format-Keys in xcstrings ergänzt. Co-Authored-By: Claude Sonnet 4.6 --- nahbar/nahbar/Localizable.xcstrings | 25 ++++++++++++++++++++++++- nahbar/nahbar/PersonDetailView.swift | 4 ++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/nahbar/nahbar/Localizable.xcstrings b/nahbar/nahbar/Localizable.xcstrings index 45e6bde..6e813de 100644 --- a/nahbar/nahbar/Localizable.xcstrings +++ b/nahbar/nahbar/Localizable.xcstrings @@ -5681,7 +5681,8 @@ } }, "Verlauf & KI-Analyse" : { - "comment" : "PersonDetailView – logbuch section header", + "comment" : "PersonDetailView – logbuch section header (legacy, nicht mehr in Verwendung)", + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -5691,6 +5692,28 @@ } } }, + "Verlauf & KI Insights zu %@" : { + "comment" : "PersonDetailView – logbuch section header mit Personenname", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "History & AI Insights on %@" + } + } + } + }, + "KI Insights zu %@" : { + "comment" : "AIAnalysisSheet – navigation title mit Personenname", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "AI Insights on %@" + } + } + } + }, "Version" : { "comment" : "SettingsView – version info row label", "extractionState" : "stale", diff --git a/nahbar/nahbar/PersonDetailView.swift b/nahbar/nahbar/PersonDetailView.swift index 3fd5fd1..e7d6b86 100644 --- a/nahbar/nahbar/PersonDetailView.swift +++ b/nahbar/nahbar/PersonDetailView.swift @@ -542,7 +542,7 @@ struct PersonDetailView: View { return VStack(alignment: .leading, spacing: 10) { HStack { - SectionHeader(title: "Verlauf & KI-Analyse", icon: "sparkles") + SectionHeader(title: "Verlauf & KI Insights zu \(person.firstName)", icon: "sparkles") Spacer() NavigationLink(destination: LogbuchView(person: person)) { Text("Alle") @@ -1674,7 +1674,7 @@ private struct AIAnalysisSheet: View { .padding(20) } .background(theme.backgroundPrimary.ignoresSafeArea()) - .navigationTitle("KI-Analyse") + .navigationTitle("KI Insights zu \(person.firstName)") .navigationBarTitleDisplayMode(.inline) .themedNavBar() .toolbar {