mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 08:41:42 +00:00
fix: traducir el asunto #9941
This commit is contained in:
parent
222cc8f626
commit
77e209ac97
1 changed files with 2 additions and 1 deletions
|
@ -15,12 +15,13 @@ class DeployMailer < ApplicationMailer
|
|||
def deployed(deploys)
|
||||
usuarie = Usuarie.find(params[:usuarie])
|
||||
site = usuarie.sites.find(params[:site])
|
||||
subject = t('.subject', site: site.name)
|
||||
hostname = site.hostname
|
||||
|
||||
# Informamos a cada quien en su idioma y damos una dirección de
|
||||
# respuesta porque a veces les usuaries nos escriben
|
||||
I18n.with_locale(usuarie.lang) do
|
||||
subject = t('.subject', site: site.name)
|
||||
|
||||
@hi = t('.hi')
|
||||
@explanation = t('.explanation', fqdn: hostname)
|
||||
@help = t('.help')
|
||||
|
|
Loading…
Reference in a new issue