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

This commit is contained in:
Ronan LE MEILLAT 2023-02-20 16:03:44 +01:00 committed by GitHub
parent 2c531eb1d6
commit 80592f60c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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{
{

View file

@ -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>