From d9109a48a6ffe5fe0455e22ef4aeb5aea0ac0d1a Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sat, 26 Apr 2025 08:15:59 +0800 Subject: [PATCH] update --- .../frontend/src/components/NotificationSettingForm.vue | 8 ++++---- packages/frontend/src/locales/en.json | 8 ++++---- packages/frontend/src/locales/zh.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/components/NotificationSettingForm.vue b/packages/frontend/src/components/NotificationSettingForm.vue index f0bb780..92edc70 100644 --- a/packages/frontend/src/components/NotificationSettingForm.vue +++ b/packages/frontend/src/components/NotificationSettingForm.vue @@ -62,9 +62,9 @@
- - {{ $t('settings.notifications.form.templateHelp') }} + {{ $t('settings.notifications.form.templateHelp') }}
@@ -78,7 +78,7 @@
- {{ $t('settings.notifications.form.templateHelp') }}
@@ -135,7 +135,7 @@
- {{ $t('settings.notifications.form.templateHelp') }}
diff --git a/packages/frontend/src/locales/en.json b/packages/frontend/src/locales/en.json index 4b3d5a4..0f7e509 100644 --- a/packages/frontend/src/locales/en.json +++ b/packages/frontend/src/locales/en.json @@ -464,11 +464,11 @@ "webhookMethod": "HTTP Method:", "webhookHeaders": "Custom Headers", "webhookBodyTemplate": "Body Template (Optional)", - "webhookBodyPlaceholder": "Default: JSON payload. Use {{event}}, {{timestamp}}, {{details}}.", + "webhookBodyPlaceholder": "Default: JSON payload. Use", "emailTo": "Recipient Email(s):", "emailToHelp": "Comma-separated list.", "emailSubjectTemplate": "Subject Template (Optional)", - "emailSubjectPlaceholder": "Default: Notification: {{event}}", + "emailSubjectPlaceholder": "Default: Notification:", "smtpHost": "SMTP Host:", "smtpPort": "SMTP Port:", "smtpSecure": "Use TLS/SSL", @@ -484,9 +484,9 @@ "telegramTokenHelp": "Store securely. Consider environment variables.", "telegramChatId": "Chat ID:", "telegramMessageTemplate": "Message Template (Optional)", - "telegramMessagePlaceholder": "Default: Markdown format. Use {{event}}, {{timestamp}}, {{details}}.", + "telegramMessagePlaceholder": "Default: Markdown format. Use", "enabledEvents": "Enabled Events:", - "templateHelp": "Placeholders: {{event}}, {{timestamp}}, {{details}} (JSON string)", + "templateHelp": "Placeholders:", "invalidJson": "Invalid JSON" }, "events": { diff --git a/packages/frontend/src/locales/zh.json b/packages/frontend/src/locales/zh.json index bd8fae0..02801e1 100644 --- a/packages/frontend/src/locales/zh.json +++ b/packages/frontend/src/locales/zh.json @@ -464,11 +464,11 @@ "webhookMethod": "HTTP 方法:", "webhookHeaders": "自定义 Headers", "webhookBodyTemplate": "请求体模板 (可选)", - "webhookBodyPlaceholder": "默认: JSON 格式负载。可使用 event, timestamp, details 变量。", + "webhookBodyPlaceholder": "默认: JSON 格式负载。可使用", "emailTo": "收件人邮箱:", "emailToHelp": "多个邮箱用逗号分隔。", "emailSubjectTemplate": "邮件主题模板 (可选)", - "emailSubjectPlaceholder": "默认: 通知: {{event}}", + "emailSubjectPlaceholder": "默认: 通知:", "smtpHost": "SMTP 主机:", "smtpPort": "SMTP 端口:", "smtpSecure": "使用 TLS/SSL", @@ -484,9 +484,9 @@ "telegramTokenHelp": "请安全存储。建议使用环境变量。", "telegramChatId": "聊天 ID:", "telegramMessageTemplate": "消息模板 (可选)", - "telegramMessagePlaceholder": "默认: Markdown 格式。可使用 {{event}}, {{timestamp}}, {{details}}。", + "telegramMessagePlaceholder": "默认: Markdown 格式。可使用", "enabledEvents": "启用的事件:", - "templateHelp": "可用占位符: event, timestamp, details (JSON 字符串)", + "templateHelp": "可用占位符:", "invalidJson": "无效的 JSON 格式" }, "events": {