feat(luci): добавление недостающих настроек уведомлений Telegram и локализации
This commit is contained in:
@@ -763,6 +763,46 @@ function createTelegramContent(section) {
|
||||
o.depends("enabled", "1");
|
||||
o.default = "1";
|
||||
o.rmempty = false;
|
||||
|
||||
o = section.option(
|
||||
form.Flag,
|
||||
"notify_server_switch",
|
||||
_("Notify on Server Switches"),
|
||||
_("Send a Telegram notification when a URLTest group switches to a new server."),
|
||||
);
|
||||
o.depends("enabled", "1");
|
||||
o.default = "1";
|
||||
o.rmempty = false;
|
||||
|
||||
o = section.option(
|
||||
form.Flag,
|
||||
"notify_subscription",
|
||||
_("Notify on Subscription Updates"),
|
||||
_("Send a Telegram notification when proxy subscriptions are successfully updated."),
|
||||
);
|
||||
o.depends("enabled", "1");
|
||||
o.default = "1";
|
||||
o.rmempty = false;
|
||||
|
||||
o = section.option(
|
||||
form.Flag,
|
||||
"notify_cert",
|
||||
_("Notify on Certificate Warnings"),
|
||||
_("Send a Telegram notification if SSL/TLS certificates are close to expiration."),
|
||||
);
|
||||
o.depends("enabled", "1");
|
||||
o.default = "1";
|
||||
o.rmempty = false;
|
||||
|
||||
o = section.option(
|
||||
form.Flag,
|
||||
"notify_dns_leak",
|
||||
_("Notify on DNS Leaks"),
|
||||
_("Send a Telegram notification if a potential DNS leak is detected."),
|
||||
);
|
||||
o.depends("enabled", "1");
|
||||
o.default = "1";
|
||||
o.rmempty = false;
|
||||
}
|
||||
|
||||
const EntryPoint = {
|
||||
|
||||
@@ -2305,3 +2305,27 @@ msgstr "sing-box outbound для Zapret2 настроен"
|
||||
|
||||
msgid "Zapret2 sing-box outbound is not configured"
|
||||
msgstr "sing-box outbound для Zapret2 не настроен"
|
||||
|
||||
msgid "Notify on Server Switches"
|
||||
msgstr "Оповещать при переключении серверов"
|
||||
|
||||
msgid "Send a Telegram notification when a URLTest group switches to a new server."
|
||||
msgstr "Отправлять уведомление в Telegram при переключении группы URLTest на другой сервер."
|
||||
|
||||
msgid "Notify on Subscription Updates"
|
||||
msgstr "Оповещать об обновлении подписок"
|
||||
|
||||
msgid "Send a Telegram notification when proxy subscriptions are successfully updated."
|
||||
msgstr "Отправлять уведомление в Telegram при успешном обновлении подписок прокси."
|
||||
|
||||
msgid "Notify on Certificate Warnings"
|
||||
msgstr "Оповещать о предупреждениях сертификатов"
|
||||
|
||||
msgid "Send a Telegram notification if SSL/TLS certificates are close to expiration."
|
||||
msgstr "Отправлять уведомление в Telegram при скором истечении срока действия SSL/TLS-сертификатов."
|
||||
|
||||
msgid "Notify on DNS Leaks"
|
||||
msgstr "Оповещать об утечках DNS"
|
||||
|
||||
msgid "Send a Telegram notification if a potential DNS leak is detected."
|
||||
msgstr "Отправлять уведомление в Telegram при обнаружении потенциальной утечки DNS."
|
||||
|
||||
Reference in New Issue
Block a user