fix: Use translations for name when sending emails (#12411)

Fix missing translation.
This commit is contained in:
Pranav
2025-09-11 00:39:07 -07:00
committed by GitHub
parent ff5d304541
commit 052b328a1f
2 changed files with 2 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ class ConversationReplyMailer < ApplicationMailer
end
def custom_sender_name
current_message&.sender&.available_name || @agent&.available_name || 'Notifications'
current_message&.sender&.available_name || @agent&.available_name || I18n.t('conversations.reply.email.header.notifications')
end
def business_name

View File

@@ -228,6 +228,7 @@ en:
reply:
email:
header:
notifications: 'Notifications'
from_with_name: '%{assignee_name} from %{inbox_name} <%{from_email}>'
reply_with_name: '%{assignee_name} from %{inbox_name} <reply+%{reply_email}>'
friendly_name: '%{sender_name} from %{business_name} <%{from_email}>'