UX: KI-Analyse → KI Insights zu [Name] in PersonDetailView

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 <noreply@anthropic.com>
This commit is contained in:
2026-04-23 12:35:18 +02:00
parent 5f14649112
commit 8a13962055
2 changed files with 26 additions and 3 deletions
+24 -1
View File
@@ -5681,7 +5681,8 @@
} }
}, },
"Verlauf & KI-Analyse" : { "Verlauf & KI-Analyse" : {
"comment" : "PersonDetailView logbuch section header", "comment" : "PersonDetailView logbuch section header (legacy, nicht mehr in Verwendung)",
"extractionState" : "stale",
"localizations" : { "localizations" : {
"en" : { "en" : {
"stringUnit" : { "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" : { "Version" : {
"comment" : "SettingsView version info row label", "comment" : "SettingsView version info row label",
"extractionState" : "stale", "extractionState" : "stale",
+2 -2
View File
@@ -542,7 +542,7 @@ struct PersonDetailView: View {
return VStack(alignment: .leading, spacing: 10) { return VStack(alignment: .leading, spacing: 10) {
HStack { HStack {
SectionHeader(title: "Verlauf & KI-Analyse", icon: "sparkles") SectionHeader(title: "Verlauf & KI Insights zu \(person.firstName)", icon: "sparkles")
Spacer() Spacer()
NavigationLink(destination: LogbuchView(person: person)) { NavigationLink(destination: LogbuchView(person: person)) {
Text("Alle") Text("Alle")
@@ -1674,7 +1674,7 @@ private struct AIAnalysisSheet: View {
.padding(20) .padding(20)
} }
.background(theme.backgroundPrimary.ignoresSafeArea()) .background(theme.backgroundPrimary.ignoresSafeArea())
.navigationTitle("KI-Analyse") .navigationTitle("KI Insights zu \(person.firstName)")
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
.themedNavBar() .themedNavBar()
.toolbar { .toolbar {