From c75c6c5640a91346fda397c317566c6017224b5c Mon Sep 17 00:00:00 2001 From: AnnAngela Date: Fri, 11 Feb 2022 22:50:46 +0800 Subject: [PATCH] Update zh-CN.js Update DingDing and AliyunSms setting dialogs for better translations and document links --- src/components/notifications/AliyunSms.vue | 4 ++-- src/components/notifications/DingDing.vue | 4 ++-- src/languages/zh-CN.js | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) 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 @@
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", };