Translate emails for mentions (#167)

This commit is contained in:
Alexander Skvortsov 2020-10-01 11:18:44 -04:00 committed by GitHub
parent 4cb95b1869
commit a91ec31637

View File

@ -35,3 +35,35 @@ flarum-mentions:
# These translations are used in the user profile page and profile popup.
user:
mentions_link: Mentions
# Translations in this namespace are used in emails sent by the forum.
email:
# These translations are used in emails sent when a post is replied to
post_mentioned:
subject: "{replier_display_name} replied to your post in {title}"
body: |
Hey {recipient_display_name}!
{replier_display_name} replied to your post (#{post_number}) in {title}.
{url}
---
{content}
# These translations are used in emails sent when a user is mentioned
user_mentioned:
subject: "{mentioner_display_name} mentioned you in {title}"
body: |
Hey {recipient_display_name}!
{mentioner_display_name} mentioned you in a post in {title}.
{url}
---
{content}