From dedee7f2eedda0fa4cb6fa9cae2d497706c3f6e7 Mon Sep 17 00:00:00 2001 From: timothyhay Date: Mon, 13 Jan 2025 11:13:54 -0700 Subject: [PATCH] Improve email notification message (#154) * Improve email notification message * Fix notification_post_reply_body variable name --- email/en.json | 53 ++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/email/en.json b/email/en.json index 18049b2..38ce24d 100644 --- a/email/en.json +++ b/email/en.json @@ -1,26 +1,27 @@ -{ "registration_approved_subject": "Registration approved for {username}", - "registration_approved_body": "Your registration application has been approved. Welcome to {hostname}!", - "registration_denied": "Registration denied", - "registration_denied_subject": "Registration denied for {username}", - "registration_denied_body": "Your registration application for {hostname} has been denied.", - "registration_denied_reason_body": "Your registration application for {hostname} has been denied.
The following reason was provided:

\"{deny_reason}\"", - "application_question_required": "You must add an application questionnaire if applications are required.", - "password_reset_subject": "Password reset for {username}", - "password_reset_body": "

Password Reset Request for {username}


Click here to reset your password", - "verify_email_subject": "Verify your email address for {hostname}", - "email_verified_subject": "Email verified for {username}", - "email_verified_body": "Your email has been verified.", - "verify_email_body": "Please click the link below to verify your email address for the account @{username}@{hostname}. Ignore this email if the account isn't yours.

Verify your email", - "notification_post_reply_subject": "Reply from {username}", - "notification_post_reply_body": "

Post reply


{username} - {comment_text}

inbox", - "notification_comment_reply_subject": "Reply from {username}", - "notification_comment_reply_body": "

Comment reply


{username} - {comment_text}

inbox", - "notification_mentioned_by_subject": "Mentioned by {username}", - "notification_mentioned_by_body": "

Person Mention


{username} - {comment_text}

inbox", - "notification_private_message_subject": "Private message from {username}", - "notification_private_message_body": "

Private message


{username} - {message_text}

inbox", - "new_application_subject": "{username} has applied to join {hostname}", - "new_application_body": "Please click the link below to view their application.

View Applications", - "new_report_subject": "New report created by {reporter_username} for {reported_username} on {hostname}", - "new_report_body": "Please click the link below to view all reports.

View Reports" -} +{ + "registration_approved_subject": "Registration approved for {username}", + "registration_approved_body": "Your registration application has been approved. Welcome to {hostname}!", + "registration_denied": "Registration denied", + "registration_denied_subject": "Registration denied for {username}", + "registration_denied_body": "Your registration application for {hostname} has been denied.", + "registration_denied_reason_body": "Your registration application for {hostname} has been denied.
The following reason was provided:

\"{deny_reason}\"", + "application_question_required": "You must add an application questionnaire if applications are required.", + "password_reset_subject": "Password reset for {username}", + "password_reset_body": "

Password Reset Request for {username}


Click here to reset your password", + "verify_email_subject": "Verify your email address for {hostname}", + "email_verified_subject": "Email verified for {username}", + "email_verified_body": "Your email has been verified.", + "verify_email_body": "Please click the link below to verify your email address for the account @{username}@{hostname}. Ignore this email if the account isn't yours.

Verify your email", + "notification_post_reply_subject": "Reply from {username}", + "notification_post_reply_body": "

Post reply


{username} replied to \"{post_title}\": {comment_text}

comment inbox", + "notification_comment_reply_subject": "Reply from {username}", + "notification_comment_reply_body": "

Comment reply


{username} replied to \"{parent_comment_text}\" on \"{post_title}\": {comment_text}

comment inbox", + "notification_mentioned_by_subject": "Mentioned by {username}", + "notification_mentioned_by_body": "

Person Mention


{username} mentioned you: {comment_text}

comment inbox", + "notification_private_message_subject": "Private message from {username}", + "notification_private_message_body": "

Private message


{username} private messaged you: {message_text}

inbox", + "new_application_subject": "{username} has applied to join {hostname}", + "new_application_body": "Please click the link below to view their application.

View Applications", + "new_report_subject": "New report created by {reporter_username} for {reported_username} on {hostname}", + "new_report_body": "Please click the link below to view all reports.

View Reports" +} \ No newline at end of file