diff --git a/src/components/notifications/AliyunSms.vue b/src/components/notifications/AliyunSms.vue index 2c25a3a9c..422b7006f 100644 --- a/src/components/notifications/AliyunSms.vue +++ b/src/components/notifications/AliyunSms.vue @@ -6,7 +6,7 @@ - + @@ -16,7 +16,7 @@
-

Sms template must contain parameters:
${name} ${time} ${status} ${msg}

+

{{ $t("Sms template must contain parameters: ") }}
${name} ${time} ${status} ${msg}

https://help.aliyun.com/document_detail/101414.html diff --git a/src/components/notifications/DingDing.vue b/src/components/notifications/DingDing.vue index 713859aca..79d8d837d 100644 --- a/src/components/notifications/DingDing.vue +++ b/src/components/notifications/DingDing.vue @@ -7,9 +7,9 @@
-

For safety, must use secret key

+

{{ $t("For safety, must use secret key") }}

- https://developers.dingtalk.com/document/robots/custom-robot-access + https://developers.dingtalk.com/document/robots/custom-robot-access https://open.dingtalk.com/document/robots/customize-robot-security-settings#title-7fs-kgs-36x
diff --git a/src/languages/zh-CN.js b/src/languages/zh-CN.js index 7cb4f1a40..bb4d997bc 100644 --- a/src/languages/zh-CN.js +++ b/src/languages/zh-CN.js @@ -364,4 +364,13 @@ export default { smtpDkimHashAlgo: "哈希算法(可选)", smtpDkimheaderFieldNames: "明确包含在哈希计算对象内的 Header 列表(可选)", smtpDkimskipFields: "不包含在哈希计算对象内的 Header 列表(可选)", + Feishu: "飞书", + AliyunSMS: "阿里云短信服务", + "Sms template must contain parameters: ": "短信模板必须包含以下变量:", + DingDing: "钉钉自定义机器人", + WebHookUrl: "钉钉自定义机器人 Webhook 地址", + SecretKey: "钉钉自定义机器人加签密钥", + "For safety, must use secret key": "出于安全考虑,必须使用加签密钥", + WeCom: "企业微信群机器人", + "WeCom Bot Key": "企业微信群机器人 key", };