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:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user