diff --git a/app/email/email.go b/app/email/email.go index 1bd25f999b..b0cd66e7dd 100644 --- a/app/email/email.go +++ b/app/email/email.go @@ -1037,7 +1037,7 @@ func (es *Service) SendNoCardPaymentFailedEmail(email string, locale string, sit func (es *Service) SendDelinquencyEmail7(email, locale, siteURL, planName string) error { T := i18n.GetUserTranslations(locale) - subject := T("api.templates.payment_failed.subject") + subject := T("api.templates.payment_failed.subject", map[string]any{"Plan": planName}) data := es.NewEmailTemplateData(locale) data.Props["SiteURL"] = siteURL diff --git a/i18n/en.json b/i18n/en.json index 4087b69144..365a0d2199 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3265,7 +3265,7 @@ }, { "id": "api.templates.delinquency_14.subject", - "translation": "Payment is overdue for your Mattermost {{.Plan}}." + "translation": "Payment is overdue for your Mattermost {{.Plan}}" }, { "id": "api.templates.delinquency_14.subtitle1", @@ -3313,7 +3313,7 @@ }, { "id": "api.templates.delinquency_30.subtitle2", - "translation": "if no action is taken, your workspace will be downgraded and the following data may be archived:" + "translation": "If no action is taken, your workspace will be downgraded and the following data may be archived:" }, { "id": "api.templates.delinquency_30.title", @@ -3329,7 +3329,7 @@ }, { "id": "api.templates.delinquency_45.subtitle1", - "translation": "We've been unable to collect payment for outstanding invoices dated {{.DelinquencyDate}}. Your workspace is at risk of being downgraded." + "translation": "We've been unable to collect payment for outstanding invoices since {{.DelinquencyDate}}. Your workspace is at risk of being downgraded." }, { "id": "api.templates.delinquency_45.subtitle2", @@ -3377,7 +3377,7 @@ }, { "id": "api.templates.delinquency_7.subtitle1", - "translation": "We couldn't process your most recent payment" + "translation": "We couldn't process your most recent payment." }, { "id": "api.templates.delinquency_7.subtitle2", @@ -3401,7 +3401,7 @@ }, { "id": "api.templates.delinquency_75.subtitle1", - "translation": "This is a final reminder that we haven’t received payment for your Mattermost Cloud workspace since {{.DelinquencyDate}}" + "translation": "This is a final reminder that we haven’t received payment for your Mattermost Cloud workspace since {{.DelinquencyDate}}." }, { "id": "api.templates.delinquency_75.subtitle2", diff --git a/templates/cloud_30_day_arrears.html b/templates/cloud_30_day_arrears.html index 19290dd87f..40cc01ef49 100644 --- a/templates/cloud_30_day_arrears.html +++ b/templates/cloud_30_day_arrears.html @@ -439,7 +439,7 @@ - + -
diff --git a/templates/cloud_30_day_arrears.mjml b/templates/cloud_30_day_arrears.mjml index eaff779310..1b3fb3bb3c 100644 --- a/templates/cloud_30_day_arrears.mjml +++ b/templates/cloud_30_day_arrears.mjml @@ -32,7 +32,7 @@ {{.Props.LimitsDocs}} - + {{.Props.Button}} diff --git a/templates/cloud_45_day_arrears.html b/templates/cloud_45_day_arrears.html index 9c4af6731c..f868f37ab4 100644 --- a/templates/cloud_45_day_arrears.html +++ b/templates/cloud_45_day_arrears.html @@ -433,7 +433,7 @@
+ -
diff --git a/templates/cloud_90_day_arrears.html b/templates/cloud_90_day_arrears.html index f63b2b2a07..21769839ca 100644 --- a/templates/cloud_90_day_arrears.html +++ b/templates/cloud_90_day_arrears.html @@ -433,7 +433,7 @@
+
diff --git a/templates/partials/cloud_title_3subtitles_button.mjml b/templates/partials/cloud_title_3subtitles_button.mjml index 23681ab9e3..38c39071af 100644 --- a/templates/partials/cloud_title_3subtitles_button.mjml +++ b/templates/partials/cloud_title_3subtitles_button.mjml @@ -16,7 +16,7 @@ {{.Props.Button}} {{if .IncludeSecondaryActionButton}} - + {{.Props.SecondaryActionButtonText}} {{end}}