Add [PM] to subject of email notifications for private messages
This commit is contained in:
parent
463be6fadf
commit
34e1f376f6
|
@ -34,7 +34,7 @@ class UserNotifications < ActionMailer::Base
|
|||
"user_notifications.private_message",
|
||||
message: post.raw,
|
||||
url: post.url,
|
||||
subject_prefix: post.post_number != 1 ? "re: " : "",
|
||||
subject_prefix: "[#{I18n.t('private_message_abbrev')}] #{post.post_number != 1 ? 're: ' : ''}",
|
||||
topic_title: post.topic.title,
|
||||
private_message_from: post.user.name,
|
||||
from: "#{I18n.t(:via, username: post.user.name, site_name: SiteSetting.title)} <#{SiteSetting.notification_email}>",
|
||||
|
|
|
@ -49,6 +49,7 @@ en:
|
|||
rss_posts_in_topic: "RSS feed of '%{topic}'"
|
||||
rss_topics_in_category: "RSS feed of topics in the '%{category}' category"
|
||||
author_wrote: "%{author} wrote:"
|
||||
private_message_abbrev: "PM"
|
||||
|
||||
groups:
|
||||
default_names:
|
||||
|
|
Loading…
Reference in New Issue