Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update templates

Neeraj Gupta3be7c4a60fca
diff --git a/server/mail-templates/legacy/legacy_invite.html b/server/mail-templates/legacy/legacy_invite.html
index 2f5f597657..d033271173 100644
--- a/server/mail-templates/legacy/legacy_invite.html
+++ b/server/mail-templates/legacy/legacy_invite.html
@@ -7,4 +7,4 @@
<p>To accept the invite, please open the Ente Photos app, and navigate to <strong>Settings > Account > Legacy</strong>.</p>
<p>If you need help, please reply to this email.</p>
-{{end}}
\ No newline at end of file
+{{end}}
diff --git a/server/mail-templates/legacy/legacy_invite_accepted.html b/server/mail-templates/legacy/legacy_invite_accepted.html
index 95624b8810..5044df609e 100644
--- a/server/mail-templates/legacy/legacy_invite_accepted.html
+++ b/server/mail-templates/legacy/legacy_invite_accepted.html
@@ -1,9 +1,9 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has accepted your request to be your trusted contact. </p>
+<p><strong>{{.TrustedContact}}</strong> has accepted your request to be your trusted contact. </p>
-<p> As a trusted contact, {{.TrustedUser}} can recover your account in your absence. </p>
+<p>As a trusted contact, {{.TrustedContact}} can recover your account in your absence.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/legacy_invite_rejected.html b/server/mail-templates/legacy/legacy_invite_rejected.html
index 971e4c853c..e770025781 100644
--- a/server/mail-templates/legacy/legacy_invite_rejected.html
+++ b/server/mail-templates/legacy/legacy_invite_rejected.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has rejected your request to be your trusted contact. </p>
+<p><strong>{{.TrustedContact}}</strong> has rejected your request to be a trusted contact. </p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email</p>
+{{end}}
diff --git a/server/mail-templates/legacy/legacy_invite_sent.html b/server/mail-templates/legacy/legacy_invite_sent.html
index baf38445f8..16f2f2db42 100644
--- a/server/mail-templates/legacy/legacy_invite_sent.html
+++ b/server/mail-templates/legacy/legacy_invite_sent.html
@@ -1,10 +1,10 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p>You have invited <strong>{{.TrustedyUser}}</strong> to be your trusted contact. </p>
+<p>You have invited <strong>{{.TrustedContact}}</strong> to be your trusted contact. </p>
-<p> As a trusted contact, {{.TrustedyUser}} can recover your account in your absence. </p>
+<p> As a trusted contact, {{.TrustedContact}} can recover your account in your absence. </p>
<p>If you want to cancel the invite, please navigate to <strong>Settings -> Account -> Legacy </strong> in the Ente Photos app. </p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/legacy_left.html b/server/mail-templates/legacy/legacy_left.html
index 72d03dd95b..4f065f6253 100644
--- a/server/mail-templates/legacy/legacy_left.html
+++ b/server/mail-templates/legacy/legacy_left.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has removed themselves from being your trusted contact. </p>
+<p><strong>{{.TrustedContact}}</strong> has removed themselves from being your trusted contact.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/legacy_removed.html b/server/mail-templates/legacy/legacy_removed.html
index 160dba288d..8b907a14d0 100644
--- a/server/mail-templates/legacy/legacy_removed.html
+++ b/server/mail-templates/legacy/legacy_removed.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.TrustedUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.LegacyUser}}</strong> has removed you as their trusted contact. </p>
+<p><strong>{{.LegacyContact}}</strong> has removed you as their trusted contact.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_cancelled.html b/server/mail-templates/legacy/recovery_cancelled.html
index 0e2a2828fd..6dce235043 100644
--- a/server/mail-templates/legacy/recovery_cancelled.html
+++ b/server/mail-templates/legacy/recovery_cancelled.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has cancelled the process of recovering your account</p>
+<p><strong>{{.TrustedUser}}</strong> has cancelled the process of recovering your account.</p>
-<p>If you need help with anything, please write back!</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_completed_legacy.html b/server/mail-templates/legacy/recovery_completed_legacy.html
index 4623393409..17d6f08f2b 100644
--- a/server/mail-templates/legacy/recovery_completed_legacy.html
+++ b/server/mail-templates/legacy/recovery_completed_legacy.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has successfully changed password of your account.</p>
+<p><strong>{{.TrustedContact}}</strong> has changed the password and can now access your account.
-<p>If you need help with anything, please write back!</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_completed_trusted.html b/server/mail-templates/legacy/recovery_completed_trusted.html
index 1dc9a9bf9b..268569f4f6 100644
--- a/server/mail-templates/legacy/recovery_completed_trusted.html
+++ b/server/mail-templates/legacy/recovery_completed_trusted.html
@@ -1,8 +1,7 @@
{{define "content"}}
-<p>Hey {{.TrustedContact}}!</p>
+<p>Hello,</p>
-<p>You can now access <strong>{{.LegacyContact}}'s</strong> account with the new password you setup on the Ente Photos app. </p>
-<p>Please save the new password so that you can access the account in the future.</p>
+<p>You can now access <strong>{{.LegacyContact}}'s</strong> account with the new password you setup on Ente.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need any help, please let us know by responding to this email, we'll be around.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_ready_legacy.html b/server/mail-templates/legacy/recovery_ready_legacy.html
index 0b32083511..b521f69ab1 100644
--- a/server/mail-templates/legacy/recovery_ready_legacy.html
+++ b/server/mail-templates/legacy/recovery_ready_legacy.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> can now recover your account by changing the password.
+<p><strong>{{.TrustedContact}}</strong> can now recover your account by changing the password.
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_ready_trusted.html b/server/mail-templates/legacy/recovery_ready_trusted.html
index 2eef93d54c..e688f8a605 100644
--- a/server/mail-templates/legacy/recovery_ready_trusted.html
+++ b/server/mail-templates/legacy/recovery_ready_trusted.html
@@ -1,8 +1,8 @@
{{define "content"}}
-<p>Hey {{.TrustedUser}}!</p>
+<p>Hello,</p>
-<p>You can now recover <strong>{{.LegacyUser}}'s</strong> account. </p>
-<p>To change the password to <strong>{{.LegacyUser}}'s</strong> account, please navigate to <strong>Settings -> Account -> Legacy </strong> in the Ente Photos app. </p>
+<p>You can now recover <strong>{{.LegacyContact}}'s</strong> account. </p>
+<p>To change the password to <strong>{{.LegacyContact}}'s</strong> account, please navigate to <strong>Settings > Account > Legacy </strong> in the Ente Photos app. </p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_rejected.html b/server/mail-templates/legacy/recovery_rejected.html
index c2d7e62ebf..ecb56dd963 100644
--- a/server/mail-templates/legacy/recovery_rejected.html
+++ b/server/mail-templates/legacy/recovery_rejected.html
@@ -1,7 +1,7 @@
{{define "content"}}
-<p>Hey {{.TrustedUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.LegacyUser}}</strong> has blocked your request to recover their account as their trusted contact. </p>
+<p><strong>{{.LegacyContact}}</strong> has blocked your request to recover their account.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_reminder.html b/server/mail-templates/legacy/recovery_reminder.html
index dc74893bae..3c7a35c496 100644
--- a/server/mail-templates/legacy/recovery_reminder.html
+++ b/server/mail-templates/legacy/recovery_reminder.html
@@ -1,9 +1,9 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has initiated recovery on your account. After 2 days, they would be able to change the password and access your account. </p>
+<p><strong>{{.TrustedContact}}</strong> has initiated recovery on your account. After 2 days, they will be able to change the password and access your account. </p>
-<p>If you want to block the recovery, please navigate to <strong>Settings -> Account -> Legacy </strong> in the Ente Photos app. </p>
+<p>If you want to block the recovery, please navigate to <strong>Settings > Account > Legacy </strong> in the Ente Photos app.</p>
-<p>If you need any help, please reply to this email or write to [email protected].</p>
-{{end}}
\ No newline at end of file
+<p>If you need help, please reply to this email.</p>
+{{end}}
diff --git a/server/mail-templates/legacy/recovery_started.html b/server/mail-templates/legacy/recovery_started.html
index 5136abc455..13a12c5ff8 100644
--- a/server/mail-templates/legacy/recovery_started.html
+++ b/server/mail-templates/legacy/recovery_started.html
@@ -1,7 +1,9 @@
{{define "content"}}
-<p>Hey {{.LegacyUser}}!</p>
+<p>Hello,</p>
-<p><strong>{{.TrustedUser}}</strong> has started the process to recover your account.</p>
+<p><strong>{{.TrustedContact}}</strong> has initiated recovery on your account. After 30 days, they will be able to change the password and access your account.</p>
-<p>If you need help with anything, please write back!</p>
-{{end}}
\ No newline at end of file
+<p>If you want to block the recovery, please navigate to <strong>Settings > Account > Legacy </strong> in the Ente Photos app.</p>
+
+<p>If you need help, please reply to this email.</p>
+{{end}}