feat: translate notifications

This commit is contained in:
kolaente
2025-03-02 11:30:50 +01:00
parent e915164086
commit e11a3026b9
14 changed files with 615 additions and 104 deletions

View File

@@ -51,7 +51,7 @@ var testmailCmd = &cobra.Command{
Line("If you received this, Vikunja is correctly set up to send emails.").
Action("Go to your instance", config.ServicePublicURL.GetString())
opts, err := notifications.RenderMail(message)
opts, err := notifications.RenderMail(message, "en")
if err != nil {
log.Errorf("Error rendering test mail: %s", err.Error())
return