From 80592f60c673a6220561f0b9821f46033b34c3df Mon Sep 17 00:00:00 2001 From: Ronan LE MEILLAT Date: Mon, 20 Feb 2023 16:03:44 +0100 Subject: [PATCH] Translate the subject of the email sent with personnal datas (#1193) --- cmd/public.go | 2 +- static/public/templates/subscription.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/public.go b/cmd/public.go index 9c1591726..c7c57fb2e 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 354d13ed6..221a80198 100644 --- a/static/public/templates/subscription.html +++ b/static/public/templates/subscription.html @@ -18,7 +18,7 @@

{{ L.T "public.unsubTitle" }}

{{ if .Data.AllowPreferences }} - Manage preferences + {{ L.T "public.managePrefs" }} {{ end }}