summaryrefslogtreecommitdiff
path: root/views/emails/createEventMagicLink
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:01:08 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:01:08 +0100
commita5e2faf58ddd4793a5f7e3e284b023162d69cbb3 (patch)
treedf8dacfd279760f505d4b0f6dcf195a6a44a6a1b /views/emails/createEventMagicLink
parentbc9e983b16d9ac2d27a4458c0a87f9d11aa80c0e (diff)
parentbde9b408342f56833cf0a514488365189083f312 (diff)
Merge remote-tracking branch 'origin/main' into raphael/add-mailgun
Diffstat (limited to 'views/emails/createEventMagicLink')
-rw-r--r--views/emails/createEventMagicLink/createEventMagicLinkHtml.handlebars10
-rw-r--r--views/emails/createEventMagicLink/createEventMagicLinkText.handlebars9
2 files changed, 9 insertions, 10 deletions
diff --git a/views/emails/createEventMagicLink/createEventMagicLinkHtml.handlebars b/views/emails/createEventMagicLink/createEventMagicLinkHtml.handlebars
index 1379607..5afd37e 100644
--- a/views/emails/createEventMagicLink/createEventMagicLinkHtml.handlebars
+++ b/views/emails/createEventMagicLink/createEventMagicLinkHtml.handlebars
@@ -1,8 +1,8 @@
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Here's a magic link which will allow you to create an event on {{siteName}}.</p>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">This link will expire in 24 hours and can be used multiple times before then. Don't share it publicly, because it will allow anyone to create an event on your behalf!</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.magiclink.preface" }}</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.magiclink.link" }}</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"><a href="https://{{domain}}/new/{{token}}">https://{{domain}}/new/{{token}}</a></p>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Love,</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 have no idea what this email is about!</strong></p>
-<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">If you didn't try to create an event on {{siteName}}, someone may have accidentally typed your email instead of theirs. Don't worry - there isn't anything you need to do. Your email address will be deleted after the magic link expires.</p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"><strong>{{t "views.emails.holdup" }}</strong></p>
+<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">{{t "views.emails.magiclink.dontknow" }}</p>
diff --git a/views/emails/createEventMagicLink/createEventMagicLinkText.handlebars b/views/emails/createEventMagicLink/createEventMagicLinkText.handlebars
index e3b4f96..7f01539 100644
--- a/views/emails/createEventMagicLink/createEventMagicLinkText.handlebars
+++ b/views/emails/createEventMagicLink/createEventMagicLinkText.handlebars
@@ -1,11 +1,10 @@
-Here's a magic link which will allow you to create an event on {{siteName}}.
+{{t "views.emails.magiclink.preface" }}
-This link will expire in 24 hours and can be used multiple times before then. Don't share it publicly, because it will allow anyone to create an event on your behalf!
+{{t "views.emails.magiclink.link" }}
https://{{domain}}/new/{{token}}
-Love,
-
+{{t "views.emails.love" }}
{{siteName}}
-If you didn't try to create an event on {{siteName}}, someone may have accidentally typed your email instead of theirs. Don't worry - there isn't anything you need to do. Your email address will be deleted after the magic link expires.
+{{t "views.emails.magiclink.dontknow" }}