From ec0dc68db9490c6751ce909b8eff74e7f6553a35 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 22 Apr 2026 21:02:29 +0200 Subject: [PATCH] Notifications: \"Vorhaben\" durch passende Begriffe ersetzen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- nahbar/nahbar/AddMomentView.swift | 2 +- nahbar/nahbar/AddTodoView.swift | 2 +- nahbar/nahbar/Localizable.xcstrings | 17 ++++++++++++++--- nahbar/nahbar/PersonDetailView.swift | 2 +- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/nahbar/nahbar/AddMomentView.swift b/nahbar/nahbar/AddMomentView.swift index 67fa27a..ea1a17d 100644 --- a/nahbar/nahbar/AddMomentView.swift +++ b/nahbar/nahbar/AddMomentView.swift @@ -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] diff --git a/nahbar/nahbar/AddTodoView.swift b/nahbar/nahbar/AddTodoView.swift index f60fc02..13b28eb 100644 --- a/nahbar/nahbar/AddTodoView.swift +++ b/nahbar/nahbar/AddTodoView.swift @@ -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] diff --git a/nahbar/nahbar/Localizable.xcstrings b/nahbar/nahbar/Localizable.xcstrings index 32eb20c..9d67f4e 100644 --- a/nahbar/nahbar/Localizable.xcstrings +++ b/nahbar/nahbar/Localizable.xcstrings @@ -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" } } } diff --git a/nahbar/nahbar/PersonDetailView.swift b/nahbar/nahbar/PersonDetailView.swift index 185d963..da0b3a6 100644 --- a/nahbar/nahbar/PersonDetailView.swift +++ b/nahbar/nahbar/PersonDetailView.swift @@ -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]