feat: adapt email, mattermost, telegram, and webhook to new notifier module

This commit is contained in:
Fu Diwei
2025-04-24 23:37:27 +08:00
parent a117fd7d93
commit 11b413d0dc
10 changed files with 418 additions and 22 deletions

View File

@@ -160,6 +160,19 @@
"access.form.edgio_client_secret.label": "Edgio 客户端密码",
"access.form.edgio_client_secret.placeholder": "请输入 Edgio 客户端密码",
"access.form.edgio_client_secret.tooltip": "这是什么?请参阅 <a href=\"https://docs.edg.io/applications/v7/rest_api/authentication#administering-api-clients\" target=\"_blank\">https://docs.edg.io/applications/v7/rest_api/authentication#administering-api-clients</a>",
"access.form.email_smtp_host.label": "SMTP 服务器地址",
"access.form.email_smtp_host.placeholder": "请输入 SMTP 服务器地址",
"access.form.email_smtp_port.label": "SMTP 服务器端口",
"access.form.email_smtp_port.placeholder": "请输入 SMTP 服务器端口",
"access.form.email_smtp_tls.label": "SSL/TLS 连接",
"access.form.email_username.label": "用户名",
"access.form.email_username.placeholder": "请输入用户名",
"access.form.email_password.label": "密码",
"access.form.email_password.placeholder": "请输入密码",
"access.form.email_default_sender_address.label": "默认的发送邮箱地址(可选)",
"access.form.email_default_sender_address.placeholder": "请输入默认的发送邮箱地址",
"access.form.email_default_receiver_address.label": "默认的接收邮箱地址(可选)",
"access.form.email_default_receiver_address.placeholder": "请输入默认的接收邮箱地址",
"access.form.gcore_api_token.label": "Gcore API Token",
"access.form.gcore_api_token.placeholder": "请输入 Gcore API Token",
"access.form.gcore_api_token.tooltip": "这是什么?请参阅 <a href=\"https://api.gcore.com/docs/iam#section/Authentication\" target=\"_blank\">https://api.gcore.com/docs/iam#section/Authentication</a>",
@@ -197,6 +210,15 @@
"access.form.k8s_kubeconfig.placeholder": "请选择 KubeConfig 文件",
"access.form.k8s_kubeconfig.upload": "选择文件",
"access.form.k8s_kubeconfig.tooltip": "这是什么?请参阅 <a href=\"https://kubernetes.io/zh-cn/docs/concepts/configuration/organize-cluster-access-kubeconfig/\" target=\"_blank\">https://kubernetes.io/zh-cn/docs/concepts/configuration/organize-cluster-access-kubeconfig/</a><br><br>为空时,将使用 Pod 的 ServiceAccount 作为凭证。",
"access.form.mattermost_server_url.label": "Mattermost 服务地址",
"access.form.mattermost_server_url.placeholder": "请输入 Mattermost 服务地址",
"access.form.mattermost_username.label": "Mattermost 用户名",
"access.form.mattermost_username.placeholder": "请输入 Mattermost 用户名",
"access.form.mattermost_password.label": "Mattermost 密码",
"access.form.mattermost_password.placeholder": "请输入 Mattermost 密码",
"access.form.mattermost_default_channel_id.label": "默认的 Mattermost 频道 ID可选",
"access.form.mattermost_default_channel_id.placeholder": "请输入默认的 Mattermost 频道 ID",
"access.form.mattermost_default_channel_id.tooltip": "如何获取频道 ID从左侧边栏中选择目标频道点击顶部的频道名称选择“频道详情”即可在弹出页面中直接看到频道 ID。",
"access.form.namecheap_username.label": "Namecheap 用户名",
"access.form.namecheap_username.placeholder": "请输入 Namecheap 用户名",
"access.form.namecheap_username.tooltip": "这是什么?请参阅 <a href=\"https://www.namecheap.com/support/api/intro/\" target=\"_blank\">https://www.namecheap.com/support/api/intro/</a>",
@@ -268,6 +290,12 @@
"access.form.sslcom_eab_hmac_key.label": "ACME EAB HMAC key",
"access.form.sslcom_eab_hmac_key.placeholder": "请输入 ACME EAB HMAC key",
"access.form.sslcom_eab_hmac_key.tooltip": "这是什么?请参阅 <a href=\"https://www.ssl.com/how-to/generate-acme-credentials-for-reseller-customers/#ftoc-heading-6\" target=\"_blank\">https://www.ssl.com/how-to/generate-acme-credentials-for-reseller-customers/</a>",
"access.form.telegram_bot_token.label": "Telegram 机器人 API Token",
"access.form.telegram_bot_token.placeholder": "请输入 Telegram 机器人 API Token",
"access.form.telegram_bot_token.tooltip": "如何获取机器人 API Token请参阅 <a href=\"https://gist.github.com/nafiesl/4ad622f344cd1dc3bb1ecbe468ff9f8a\" target=\"_blank\">https://gist.github.com/nafiesl/4ad622f344cd1dc3bb1ecbe468ff9f8a</a>",
"access.form.telegram_default_chat_id.label": "默认的 Telegram 会话 ID可选",
"access.form.telegram_default_chat_id.placeholder": "请输入默认的 Telegram 会话 ID",
"access.form.telegram_default_chat_id.tooltip": "如何获取会话 ID请参阅 <a href=\"https://gist.github.com/nafiesl/4ad622f344cd1dc3bb1ecbe468ff9f8a\" target=\"_blank\">https://gist.github.com/nafiesl/4ad622f344cd1dc3bb1ecbe468ff9f8a</a>",
"access.form.tencentcloud_secret_id.label": "腾讯云 SecretId",
"access.form.tencentcloud_secret_id.placeholder": "请输入腾讯云 SecretId",
"access.form.tencentcloud_secret_id.tooltip": "这是什么?请参阅 <a href=\"https://cloud.tencent.com/document/product/598/40488\" target=\"_blank\">https://cloud.tencent.com/document/product/598/40488</a>",