luci-app-acme: Account email explanation
authorSergey Ponomarev <stokito@gmail.com>
Mon, 7 Aug 2023 20:44:06 +0000 (23:44 +0300)
committerSergey Ponomarev <stokito@gmail.com>
Mon, 7 Aug 2023 21:44:29 +0000 (00:44 +0300)
Add rationale how the email is used.
The translation key is separate to keep an existing translation.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js
applications/luci-app-acme/po/ru/acme.po

index a86fd4a328fa62d238c65dc195c1af848741cbfb..a7553df9a73eb2f67c22ac4054eb86a86a056cf5 100644 (file)
@@ -25,7 +25,9 @@ return view.extend({
                s.anonymous = true;
 
                o = s.option(form.Value, "account_email", _("Account email"),
-                       _("Email address to associate with account key."))
+                       _('Email address to associate with account key.') + '<br/>' +
+                       _('If a certificate wasn\'t renewed in time then you\'ll receive a notice at 20 days before expiry.')
+               )
                o.rmempty = false;
                o.datatype = "minlength(1)";
 
index b74ea4d18e7595c13e0e688ed7cc04217d5917ea..19141d9131bc3fe095370ea896f1e3e8fbae5724 100644 (file)
@@ -104,6 +104,9 @@ msgstr "ECC 384 бита"
 msgid "Email address to associate with account key."
 msgstr "E-mail адрес для привязки ключа аккаунта."
 
+msgid "If a certificate wasn't renewed in time then you'll receive a notice at 20 days before expiry."
+msgstr "Если сертификат не был перевыпущен вовремя то вы получите уведомление за 20 дней до истечения срока действия."
+
 #: applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js:34
 msgid "Enable debug logging"
 msgstr "Записывать в журнал данные для отладки"