From a4ba1ad5ed6415ffecd2a6d1234741b4c2532e35 Mon Sep 17 00:00:00 2001 From: Bagas Sanjaya Date: Tue, 11 Aug 2020 09:38:30 +0700 Subject: [PATCH] Add placeholder text for send testing email button in admin/config (#12452) * Add placeholder text for send testing email button in admin/config * Change placeholder text to expecting email address * Localize placeholder text * Apply suggestion from @silverwind ok Co-authored-by: silverwind Co-authored-by: silverwind Co-authored-by: techknowlogick --- options/locale/locale_en-US.ini | 1 + templates/admin/config.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 6dedae342..e429486df 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2174,6 +2174,7 @@ config.mailer_use_sendmail = Use Sendmail config.mailer_sendmail_path = Sendmail Path config.mailer_sendmail_args = Extra Arguments to Sendmail config.mailer_sendmail_timeout = Sendmail Timeout +config.test_email_placeholder = Email (e.g. test@example.com) config.send_test_mail = Send Testing Email config.test_mail_failed = Failed to send a testing email to '%s': %v config.test_mail_sent = A testing email has been sent to '%s'. diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 1b553230b..f43cc86fd 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -237,7 +237,7 @@ {{.CsrfTokenHtml}}
- +