summaryrefslogtreecommitdiff
path: root/views/emails/createEventMagicLink
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2025-05-28 18:58:46 +0100
committerGitHub <noreply@github.com>2025-05-28 18:58:46 +0100
commit3d84891118f8a81af3ddb978af9b3f8b02fd5d65 (patch)
tree0a8d344e331a0551b73435bbbb3919107737f69f /views/emails/createEventMagicLink
parent6f0b7a44b995b6b66baf42a9369182fc05a90b34 (diff)
parent4664b6968fdcaca54268d60f400da02364213f05 (diff)
Merge branch 'main' into main
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" }}