Notifications: \"Vorhaben\" durch passende Begriffe ersetzen

- Todo-Erinnerungen (AddTodoView, PersonDetailView): Subtitle \"Dein Todo\"
- Moment-Erinnerungen (AddMomentView): Subtitle \"Geplanter Moment\"
- Localizable.xcstrings: \"Dein Vorhaben\" entfernt, neue Strings ergänzt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 21:02:29 +02:00
parent 86ddc10e7b
commit ec0dc68db9
4 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ struct AddMomentView: View {
let content = UNMutableNotificationContent()
content.title = person.firstName
content.subtitle = String(localized: "Dein Vorhaben")
content.subtitle = String(localized: "Geplanter Moment")
content.body = moment.text
content.sound = .default
content.userInfo = ["momentID": moment.id.uuidString]
+1 -1
View File
@@ -181,7 +181,7 @@ struct AddTodoView: View {
}
let content = UNMutableNotificationContent()
content.title = person.firstName
content.subtitle = String(localized: "Dein Vorhaben")
content.subtitle = String(localized: "Dein Todo")
content.body = todo.title
content.sound = .default
content.userInfo = ["todoID": todo.id.uuidString]
+14 -3
View File
@@ -1499,13 +1499,24 @@
}
}
},
"Dein Vorhaben" : {
"comment" : "Notification subtitle for todo and intention reminders",
"Dein Todo" : {
"comment" : "Notification subtitle for todo reminders",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Your intention"
"value" : "Your to-do"
}
}
}
},
"Geplanter Moment" : {
"comment" : "Notification subtitle for moment reminders",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Planned moment"
}
}
}
+1 -1
View File
@@ -1262,7 +1262,7 @@ struct EditTodoView: View {
}
let content = UNMutableNotificationContent()
content.title = todo.person?.firstName ?? ""
content.subtitle = String(localized: "Dein Vorhaben")
content.subtitle = String(localized: "Dein Todo")
content.body = todo.title
content.sound = .default
content.userInfo = ["todoID": todo.id.uuidString]