feat: add new notification methods (telegram, webhooks, gotify) (#295)

This commit is contained in:
Miguel Ribeiro
2024-05-06 00:15:44 +02:00
committed by GitHub
parent 5fff7c59eb
commit a408031ef8
37 changed files with 1658 additions and 234 deletions
+13
View File
@@ -127,6 +127,18 @@ $i18n = [
"smtp_password" => "SMTP 密码",
"from_email" => "发件人邮箱(可选)",
"smtp_info" => "SMTP 密码以明文传输和存储。为安全起见,建议专门为 Wallos 创建一个账户。",
"telegram" => "Telegram",
"telegram_bot_token" => "Telegram 机器人令牌",
"telegram_chat_id" => "Telegram 聊天 ID",
"webhook" => "Webhook",
"webhook_url" => "Webhook URL",
"request_method" => "请求方法",
"custom_headers" => "自定义标头",
"webhook_payload" => "Webhook 负载",
"webhook_iterator_key" => "替换 {{subscriptions}} 为键名",
"variables_available" => "可用变量",
"gotify" => "Gotify",
"token" => "令牌",
"categories" => "分类",
"save_category" => "保存分类",
"delete_category" => "删除分类",
@@ -226,6 +238,7 @@ $i18n = [
"wallos_notification" => "Wallos 通知",
"test_notification" => "这是一条测试通知。如果您看到此消息,说明 Wallos 通知邮件配置正确。",
"email_error" => "发送电子邮件时出错",
"notification_failed" => "通知发送失败",
"notification_sent_successfuly" => "通知已成功发送",
"notifications_settings_saved" => "通知设置已成功保存。",