From 1c2113525d2bca78f76b0c257dd28fdf449f9154 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 3 Mar 2016 15:04:22 -0500 Subject: Replaced FeedbackEmail with SupportEmail in the email footer --- api/api.go | 2 +- i18n/en.json | 2 +- i18n/es.json | 2 +- i18n/pt.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/api.go b/api/api.go index d202172d0..4fecd3dd4 100644 --- a/api/api.go +++ b/api/api.go @@ -36,7 +36,7 @@ func (me *ServerTemplatePage) Render() string { T := utils.GetUserTranslations(me.Locale) me.Props["Footer"] = T("api.templates.email_footer") me.Html["EmailInfo"] = template.HTML(T("api.templates.email_info", - map[string]interface{}{"FeedbackEmail": me.ClientCfg["FeedbackEmail"], "SiteName": me.ClientCfg["SiteName"]})) + map[string]interface{}{"SupportEmail": me.ClientCfg["SupportEmail"], "SiteName": me.ClientCfg["SiteName"]})) if err := ServerTemplates.ExecuteTemplate(&text, me.TemplateName, me); err != nil { l4g.Error(utils.T("api.api.render.error"), me.TemplateName, err) diff --git a/i18n/en.json b/i18n/en.json index 2b125feca..0f8b5de7c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1113,7 +1113,7 @@ }, { "id": "api.templates.email_info", - "translation": "Any questions at all, mail us any time: {{.FeedbackEmail}}.
Best wishes,
The {{.SiteName}} Team
" + "translation": "Any questions at all, mail us any time: {{.SupportEmail}}.
Best wishes,
The {{.SiteName}} Team
" }, { "id": "api.templates.error.link", diff --git a/i18n/es.json b/i18n/es.json index 1426195dd..6670b7f5b 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -1113,7 +1113,7 @@ }, { "id": "api.templates.email_info", - "translation": "Si tienes alguna pregunta, escribenos en cualquier momento a: {{.FeedbackEmail}}.
Los mejores deseos,
El Equipo {{.SiteName}}
" + "translation": "Si tienes alguna pregunta, escribenos en cualquier momento a: {{.SupportEmail}}.
Los mejores deseos,
El Equipo {{.SiteName}}
" }, { "id": "api.templates.error.link", diff --git a/i18n/pt.json b/i18n/pt.json index a70cccf4d..e01db6b22 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -1113,7 +1113,7 @@ }, { "id": "api.templates.email_info", - "translation": "Qualquer dúvida, envie-nos a qualquer momento: {{.FeedbackEmail}}.
Nossos melhores cumprimentos,
Equipe {{.SiteName}}
" + "translation": "Qualquer dúvida, envie-nos a qualquer momento: {{.SupportEmail}}.
Nossos melhores cumprimentos,
Equipe {{.SiteName}}
" }, { "id": "api.templates.error.link", @@ -3587,4 +3587,4 @@ "id": "web.watcher_fail.error", "translation": "Falha ao adicionar diretório observador %v" } -] \ No newline at end of file +] -- cgit v1.2.3-1-g7c22