1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16208] Fix closed post report notifications

PHPBB3-16208
This commit is contained in:
rxu
2020-07-05 16:52:42 +07:00
parent 3caa31bf58
commit 242476c290
4 changed files with 54 additions and 13 deletions

View File

@@ -2,6 +2,12 @@ Subject: Report closed - "{POST_SUBJECT}"
Hello {USERNAME},
You are receiving this notification because the report you filed on the post "{POST_SUBJECT}" in "{TOPIC_TITLE}" at "{SITENAME}" was handled by a moderator or by an administrator. The report was afterwards closed. If you have further questions contact {CLOSER_NAME} with a personal message.
You are receiving this notification because the report you filed on the post "{POST_SUBJECT}" by "{AUTHOR_NAME}" in "{TOPIC_TITLE}" topic at "{SITENAME}" was handled by a moderator or by an administrator. The report was afterwards closed. If you have further questions contact {CLOSER_NAME} with a personal message.
You can view your reported post by clicking on the following link:
{U_VIEW_POST}
You have requested that you be notified on this event, remember that you can always choose not to be notified of closed post reports by changing the appropriate setting in your profile.
{EMAIL_SIG}

View File

@@ -343,6 +343,7 @@ $lang = array_merge($lang, array(
'NOTIFICATION_TYPE_POST' => 'Someone replies to a topic to which you are subscribed',
'NOTIFICATION_TYPE_QUOTE' => 'Someone quotes you in a post',
'NOTIFICATION_TYPE_REPORT' => 'Someone reports a post',
'NOTIFICATION_TYPE_REPORT_CLOSED' => 'Your report on a post is closed by a moderator',
'NOTIFICATION_TYPE_REPORT_PM' => 'Someone reports a private message',
'NOTIFICATION_TYPE_REPORT_PM_CLOSED' => 'Your report on a private message is closed by a moderator',
'NOTIFICATION_TYPE_TOPIC' => 'Someone creates a topic in a forum to which you are subscribed',