From b25d552193269a4c58f689523394fb519b3bee91 Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Thu, 19 Sep 2019 09:52:47 +0100 Subject: [PATCH] follow @Tirokk and @datenbrei suggestions --- .../email/templates/resetPassword.html | 14 ++++---- .../middleware/email/templates/signup.html | 33 ++++++++----------- .../email/templates/templateBuilder.js | 2 +- .../email/templates/wrongAccount.html | 18 +++++----- 4 files changed, 30 insertions(+), 37 deletions(-) diff --git a/backend/src/middleware/email/templates/resetPassword.html b/backend/src/middleware/email/templates/resetPassword.html index 1b12702b4..e0dde53e5 100644 --- a/backend/src/middleware/email/templates/resetPassword.html +++ b/backend/src/middleware/email/templates/resetPassword.html @@ -8,7 +8,7 @@ - Reset Password | Neues Passwort + Neues Passwort | Reset Password
- Here is your signup link. + Dein Anmeldelink. | Here is your signup link.
@@ -261,9 +261,9 @@

Willkommen bei Human Connection!

-

Danke, dass du dich angemeldet hast – wir freuen uns, dich dabei zu haben. Jetzt - fehlt nur noch eine Kleinigkeit, bevor wir gemeinsam die Welt verbessern können... Bitte bestätige - deine E-Mail Adresse:

+

Danke, dass Du dich angemeldet hast – wir freuen uns, Dich dabei zu haben. Jetzt + fehlt nur noch eine Kleinigkeit, bevor wir gemeinsam die Welt verbessern können ... Bitte bestätige + Deine E-Mail Adresse:

@@ -275,7 +275,7 @@ Bestätige - deine E-Mail Adresse + Deine E-Mail Adresse @@ -299,10 +299,10 @@ -

Falls du dich nicht selbst bei Falls Du Dich nicht selbst bei Human Connection angemeldet hast, schau doch mal vorbei! Wir sind ein gemeinnütziges Aktionsnetzwerk – von Menschen für Menschen.

-

PS: Wenn du keinen Account bei uns möchtest, kannst du diese +

PS: Wenn Du keinen Account bei uns möchtest, kannst Du diese E-Mail einfach ignorieren. ;)

@@ -323,8 +323,8 @@ -

Melde dich gerne bei - unserem Support Team wenn du Fragen hast.

+

Melde Dich gerne bei + unserem Support Team, wenn Du Fragen hast.

Bis bald bei Human Connection!

– Dein Human Connection Team

@@ -374,7 +374,7 @@ style="margin: 0 0 10px 0; font-family: Lato, sans-serif; font-size: 25px; line-height: 30px; color: #333333; font-weight: normal;"> Welcome to Human Connection!

Thank you for joining our cause – it's awesome to have you on board. There's - just one tiny step missing before we can start shaping the world together... Please confirm your + just one tiny step missing before we can start shaping the world together ... Please confirm your e-mail address by clicking the button below:

@@ -387,21 +387,13 @@ Confirm - your email address + your e-mail address - - -

-

Or you can copy this code and paste it in your browser window: {{{ nonce }}}

- -

–––––––––––––––––––––––––––––––––––––––––––––––

@@ -422,7 +414,8 @@

If you didn't sign up for Human Connection we recommend you to check it out! It's a social network from people for people who want to connect and change the world together.

-

PS: If you ignore this email we will not create an account for +

PS: If you ignore this e-mail we will not create an account + for you. ;)

diff --git a/backend/src/middleware/email/templates/templateBuilder.js b/backend/src/middleware/email/templates/templateBuilder.js index 8bf7dc438..fdeb47a89 100644 --- a/backend/src/middleware/email/templates/templateBuilder.js +++ b/backend/src/middleware/email/templates/templateBuilder.js @@ -42,7 +42,7 @@ export const wrongAccountTemplate = ({ email }) => { return { from, to: email, - subject: 'Falsche Mailadresse? | Wrong Email?', + subject: 'Falsche Mailadresse? | Wrong E-mail?', html: mustache.render(wrongAccountHtml, { actionUrl, supportUrl }), } } diff --git a/backend/src/middleware/email/templates/wrongAccount.html b/backend/src/middleware/email/templates/wrongAccount.html index cc3823ceb..b8e6f6f57 100644 --- a/backend/src/middleware/email/templates/wrongAccount.html +++ b/backend/src/middleware/email/templates/wrongAccount.html @@ -8,7 +8,7 @@ - Falsche Mailadresse? | Wrong Email? + Falsche Mailadresse? | Wrong E-mail?