66 class MailTemplates {
77 public static function verify () {
88 $ mailTokens = array (
9- "title " => "Bevestig je e-mail " ,
10- "description " => "Je online identiteit is bijna klaar. Vul de code in om je registratie te voltooien. " ,
9+ "title " => "Confirm your e-mail " ,
10+ "description " => "Your online identity is almost ready. Enter to code to complete your registration " ,
1111 "footer " => "" ,
1212 "buttonText " => "{code} " ,
1313 );
1414
15- $ mailSubject = "Bevestig je e-mail: {code} " ;
15+ $ mailSubject = "Confirm your e-mail: {code} " ;
1616 $ mailHtmlBody = MailTemplateGenerator::mailTemplate ($ mailTokens );
1717
1818 $ mailPlainBody = implode ("\n\n" , array (
@@ -36,12 +36,12 @@ public static function verify() {
3636 }
3737
3838 public static function resetPassword () {
39- $ mailSubject = "Wachtwoordherstel " ;
39+ $ mailSubject = "Password reset " ;
4040 $ mailTokens = array (
41- "title " => "Wachtwoordherstel " ,
42- "description " => "Werkt de link niet? Knip en plak dan deze in je browser: " . BASEURL . "/change-password/?token={code} " ,
41+ "title " => "Password reset " ,
42+ "description " => "If the link does not work, copy and paste this in your browser: " . BASEURL . "/change-password/?token={code} " ,
4343 "footer " => "" ,
44- "buttonText " => "Herstel wachtwoord " ,
44+ "buttonText " => "Reset password " ,
4545 "buttonLink " => BASEURL . "/change-password/?token={code} "
4646 );
4747
@@ -69,12 +69,12 @@ public static function resetPassword() {
6969 }
7070
7171 public static function deleteAccount () {
72- $ mailSubject = "Je account verwijderen " ;
72+ $ mailSubject = "Delete your account " ;
7373 $ mailTokens = array (
74- "title " => "Je account verwijderen " ,
75- "description " => "Werkt de link niet? Knip en plak dan deze in je browser: " . BASEURL . "/account/delete/confirm/?token={code} " ,
74+ "title " => "Delete your account " ,
75+ "description " => "If the link does not work, copy and paste this in your browser: " . BASEURL . "/account/delete/confirm/?token={code} " ,
7676 "footer " => "" ,
77- "buttonText " => "Verwijder account " ,
77+ "buttonText " => "Delete account " ,
7878 "buttonLink " => BASEURL . "/account/delete/confirm/?token={code} "
7979 );
8080
@@ -103,12 +103,12 @@ public static function deleteAccount() {
103103
104104 public static function accountCreated () {
105105 $ mailTokens = array (
106- "title " => "Welkom bij Solid! " ,
107- "description " => "Je online identiteit is klaar om te gebruiken. Je WebID is: {webId} " ,
106+ "title " => "Welcome to Solid! " ,
107+ "description " => "Your online identity is ready to use. Your WebID is: {webId} " ,
108108 "footer " => "" ,
109109 );
110110
111- $ mailSubject = "Welkom bij Solid! " ;
111+ $ mailSubject = "Welcome to Solid! " ;
112112
113113 $ mailHtmlBody = MailTemplateGenerator::mailTemplate ($ mailTokens );
114114
0 commit comments