From def73e2f8eeadf807c9b2e2a422e2335444280dd Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 8 Mar 2026 15:53:00 +0100 Subject: [PATCH] feat: add translation keys for conversational emails Add action strings with doer names for comments, mentions, assignments, and reminders. Add notification settings footer and task identifier format strings. --- pkg/i18n/lang/en.json | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkg/i18n/lang/en.json b/pkg/i18n/lang/en.json index 0645eda32..ec79274bc 100644 --- a/pkg/i18n/lang/en.json +++ b/pkg/i18n/lang/en.json @@ -71,8 +71,8 @@ "message": "This is a friendly reminder of the task \"%[1]s\" (%[2]s)." }, "comment": { - "subject": "Re: %[1]s", - "mentioned_subject": "%[1]s mentioned you in a comment in \"%[2]s\"", + "subject": "Re: %[1]s (%[2]s)", + "mentioned_subject": "%[1]s mentioned you in a comment in \"%[2]s\" (%[3]s)", "mentioned_message": "**%[1]s** mentioned you in a comment:" }, "assigned": { @@ -88,8 +88,8 @@ "message": "%[1]s has deleted the task \"%[2]s\" (%[3]s)" }, "mentioned": { - "subject_new": "%[1]s mentioned you in a new task \"%[2]s\"", - "subject": "%[1]s mentioned you in a task \"%[2]s\"", + "subject_new": "%[1]s mentioned you in a new task \"%[2]s\" (%[3]s)", + "subject": "%[1]s mentioned you in a task \"%[2]s\" (%[3]s)", "message": "**%[1]s** mentioned you in a task:" }, "overdue": { @@ -137,7 +137,7 @@ "have_nice_day": "Have a nice day!", "copy_url": "If the button above doesn't work, copy the url below and paste it in your browser's address bar:", "actions": { - "open_task": "Open Task", + "open_task": "Open Task in Vikunja", "open_vikunja": "Open Vikunja", "open_project": "Open Project", "open_team": "Open Team", @@ -147,7 +147,14 @@ "confirm_email": "Confirm your email address", "abort_deletion": "Abort the deletion", "confirm_account_deletion": "Confirm the deletion of my account", - "change_notification_settings_link": "You can change your notification settings [here](%[1]s)." + "change_notification_settings_link": "You can change your notification settings [here](%[1]s).", + "left_comment": "%[1]s left a comment", + "mentioned_you_comment": "%[1]s mentioned you in a comment", + "mentioned_you": "%[1]s mentioned you", + "mentioned_you_new_task": "%[1]s mentioned you in a new task", + "assigned_you": "%[1]s assigned you", + "assigned_themselves": "%[1]s assigned themselves", + "assigned_user": "%[1]s assigned %[2]s" } } },