Skip to content

Commit

Permalink
Translate the subject of the email sent with personnal datas (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Feb 20, 2023
1 parent 2c531eb commit 80592f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down
2 changes: 1 addition & 1 deletion static/public/templates/subscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>{{ L.T "public.unsubTitle" }}</h2>
</p>

{{ if .Data.AllowPreferences }}
<a href="?manage=true">Manage preferences</a>
<a href="?manage=true">{{ L.T "public.managePrefs" }}</a>
{{ end }}
</div>
</form>
Expand Down

0 comments on commit 80592f6

Please sign in to comment.