summaryrefslogtreecommitdiff
path: root/views/emails/createEventMagicLink
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2025-05-28 18:00:35 +0100
committerGitHub <noreply@github.com>2025-05-28 18:00:35 +0100
commitbde9b408342f56833cf0a514488365189083f312 (patch)
treee20a4f074704a2f5ede5ebd05b4f4ad949cd8205 /views/emails/createEventMagicLink
parent69f75005303d634b9208c23068655385734f4d3a (diff)
parentfb85d79dd2333cd6e0982e5ee0fdc1070ff99889 (diff)
Merge pull request #198 from dinoue/feature/localization-again
Localization, again
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" }}