Skip to content

Commit

Permalink
Translate emails for subscriptions (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Sep 30, 2020
1 parent 3e91255 commit 80d30ea
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions locale/flarum-subscriptions.yml
Expand Up @@ -47,6 +47,28 @@ flarum-subscriptions:
notify_alert_tooltip: Get a forum notification when there are new posts
notify_email_tooltip: Get an email when there are new posts

# Translations in this namespace are used in emails sent by the forum.
email:

# These translations are used in emails sent when a post is made in a subscribed discussion
new_post:
subject: "[New Post] {title}"
body: |
Hey {recipient_display_name}!
{poster_display_name} made a post in a discussion you're following: {title}.
To view the new activity, check out the following link:
{url}
---
{content}
---
You won't receive any more notifications about this discussion until you're up-to-date.
##
# REUSED TRANSLATIONS - These keys should not be used directly in code!
##
Expand Down

0 comments on commit 80d30ea

Please sign in to comment.