summaryrefslogtreecommitdiff
path: root/views/emails/subscribed
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
commita6f8ec770d06ce33042ed3f222cba786897e0233 (patch)
treea060e72668de41fcbeae5e891ee86b096b096f26 /views/emails/subscribed
parent08fa2f616c90e59066d0308097c65c424b5b4a88 (diff)
parentfd637b405c8784a07dabd54b10fda98ad9f4a4ad (diff)
Merge remote-tracking branch 'origin/main' into clearer-editing-mode
Diffstat (limited to 'views/emails/subscribed')
-rw-r--r--views/emails/subscribed/subscribedHtml.handlebars11
-rw-r--r--views/emails/subscribed/subscribedText.handlebars10
2 files changed, 9 insertions, 12 deletions
diff --git a/views/emails/subscribed/subscribedHtml.handlebars b/views/emails/subscribed/subscribedHtml.handlebars
index 3a3c4ad..343b304 100644
--- a/views/emails/subscribed/subscribedHtml.handlebars
+++ b/views/emails/subscribed/subscribedHtml.handlebars
@@ -1,9 +1,8 @@
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">You have been subscribed to the event group '{{eventGroupName}}' on {{siteName}}.</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.subscribed.preface" }}</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin:
-0; Margin-bottom: 15px;">You will receive emails when new events are added to
-the group, and can unsubscribe at any time.</p>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Love,</p>
+0; Margin-bottom: 15px;">{{t "views.emails.subscribed.desc" }}</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.love" }}</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{siteName}}</p>
<hr/>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"><strong>Hold up - I don't want to receive these emails any more!</strong></p>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">If you didn't subscribe yourself to this event group on {{siteName}}, someone may have accidentally typed your email instead of theirs. <a href="https://{{domain}}/unsubscribe/{{eventGroupID}}?email={{emailAddress}}">Click here to unsubscribe</a>.</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"><strong>{{t "views.emails.eventgroupupdate.holduphtml" }}</strong></p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.eventgroupupdate.dontknow" }} <a href="https://{{domain}}/unsubscribe/{{eventGroupID}}?email={{emailAddress}}">{{t "views.emails.eventgroupupdate.unsubscribe" }}</a></p>
diff --git a/views/emails/subscribed/subscribedText.handlebars b/views/emails/subscribed/subscribedText.handlebars
index 68418bc..d9970b2 100644
--- a/views/emails/subscribed/subscribedText.handlebars
+++ b/views/emails/subscribed/subscribedText.handlebars
@@ -1,9 +1,7 @@
-You have been subscribed to the event group '{{eventGroupName}}' on {{siteName}}.
-
-You will receive emails when new events are added to the group, and can unsubscribe at any time.
-
-Love,
+{{t "views.emails.subscribed.preface", {eventGroupName: {{eventGroupName}}} }}
+{{t "views.emails.subscribed.desc" }}
+{{t "views.emails.love" }}
{{siteName}}
-If you didn't subscribe yourself to this event group on {{siteName}}, someone may have accidentally typed your email instead of theirs. Click here to unsubscribe: https://{{domain}}/unsubscribe/{{eventGroupID}}?email={{emailAddress}}.
+{{t "views.emails.eventgroupupdate.dontknowhtml" }}: https://{{domain}}/unsubscribe/{{eventGroupID}}?email={{emailAddress}}