Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Translate the subject of the email sent with personnal datas (#1193)

Ronan LE MEILLAT80592f60c673
diff --git a/cmd/public.go b/cmd/public.go
index 9c159172..c7c57fb2 100644
--- a/cmd/public.go
+++ b/cmd/public.go
@@ -574,7 +574,7 @@ func handleSelfExportSubscriberData(c echo.Context) error {
ContentType: app.notifTpls.contentType,
From: app.constants.FromEmail,
To: []string{data.Email},
- Subject: "Your data",
+ Subject: app.i18n.Ts("email.data.title"),
Body: msg.Bytes(),
Attachments: []messenger.Attachment{
{
diff --git a/static/public/templates/subscription.html b/static/public/templates/subscription.html
index 354d13ed..221a8019 100644
--- a/static/public/templates/subscription.html
+++ b/static/public/templates/subscription.html
@@ -18,7 +18,7 @@
</p>
{{ if .Data.AllowPreferences }}
- <a href="?manage=true">Manage preferences</a>
+ <a href="?manage=true">{{ L.T "public.managePrefs" }}</a>
{{ end }}
</div>
</form>