mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Add mailer subject tests and refine i18n keys (#910)
* Add mailer subject tests and refine i18n keys * Linter * Fix test * More fixes * More fixes --------- Co-authored-by: sentry[bot] <39604003+sentry[bot]@users.noreply.github.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ class InvitationMailer < ApplicationMailer
|
||||
subject: t(
|
||||
".subject",
|
||||
inviter: @invitation.inviter.display_name,
|
||||
product: product_name
|
||||
product_name: product_name
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
@@ -6,7 +6,7 @@ class PdfImportMailer < ApplicationMailer
|
||||
|
||||
mail(
|
||||
to: @user.email,
|
||||
subject: t(".subject", product: product_name)
|
||||
subject: t(".subject", product_name: product_name)
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h1><%= t(".greeting", product: product_name) %></h1>
|
||||
<h1><%= t(".greeting", product_name: product_name) %></h1>
|
||||
|
||||
<p>
|
||||
<%= t(
|
||||
|
||||
Reference in New Issue
Block a user