mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 18:36:48 +03:00
Update zh-CN.js
Update DingDing and AliyunSms setting dialogs for better translations and document links
This commit is contained in:
parent
5aed36b470
commit
c75c6c5640
3 changed files with 13 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
<label for="secretAccessKey" class="form-label">{{ $t("SecretAccessKey") }}<span style="color: red;"><sup>*</sup></span></label>
|
<label for="secretAccessKey" class="form-label">{{ $t("SecretAccessKey") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||||
<input id="secretAccessKey" v-model="$parent.notification.secretAccessKey" type="text" class="form-control" required>
|
<input id="secretAccessKey" v-model="$parent.notification.secretAccessKey" type="text" class="form-control" required>
|
||||||
|
|
||||||
<label for="phonenumber" class="form-label">{{ $t("Phonenumber") }}<span style="color: red;"><sup>*</sup></span></label>
|
<label for="phonenumber" class="form-label">{{ $t("PhoneNumbers") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||||
<input id="phonenumber" v-model="$parent.notification.phonenumber" type="text" class="form-control" required>
|
<input id="phonenumber" v-model="$parent.notification.phonenumber" type="text" class="form-control" required>
|
||||||
|
|
||||||
<label for="templateCode" class="form-label">{{ $t("TemplateCode") }}<span style="color: red;"><sup>*</sup></span></label>
|
<label for="templateCode" class="form-label">{{ $t("TemplateCode") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
<input id="signName" v-model="$parent.notification.signName" type="text" class="form-control" required>
|
<input id="signName" v-model="$parent.notification.signName" type="text" class="form-control" required>
|
||||||
|
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
<p>Sms template must contain parameters: <br> <code>${name} ${time} ${status} ${msg}</code></p>
|
<p>{{ $t("Sms template must contain parameters: ") }}<br> <code>${name} ${time} ${status} ${msg}</code></p>
|
||||||
<i18n-t tag="p" keypath="Read more:">
|
<i18n-t tag="p" keypath="Read more:">
|
||||||
<a href="https://help.aliyun.com/document_detail/101414.html" target="_blank">https://help.aliyun.com/document_detail/101414.html</a>
|
<a href="https://help.aliyun.com/document_detail/101414.html" target="_blank">https://help.aliyun.com/document_detail/101414.html</a>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<input id="secretKey" v-model="$parent.notification.secretKey" type="text" class="form-control" required>
|
<input id="secretKey" v-model="$parent.notification.secretKey" type="text" class="form-control" required>
|
||||||
|
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
<p>For safety, must use secret key</p>
|
<p>{{ $t("For safety, must use secret key") }}</p>
|
||||||
<i18n-t tag="p" keypath="Read more:">
|
<i18n-t tag="p" keypath="Read more:">
|
||||||
<a href="https://developers.dingtalk.com/document/robots/custom-robot-access" target="_blank">https://developers.dingtalk.com/document/robots/custom-robot-access</a>
|
<a href="https://developers.dingtalk.com/document/robots/custom-robot-access" target="_blank">https://developers.dingtalk.com/document/robots/custom-robot-access</a> <a href="https://open.dingtalk.com/document/robots/customize-robot-security-settings#title-7fs-kgs-36x" target="_blank">https://open.dingtalk.com/document/robots/customize-robot-security-settings#title-7fs-kgs-36x</a>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -364,4 +364,13 @@ export default {
|
||||||
smtpDkimHashAlgo: "哈希算法(可选)",
|
smtpDkimHashAlgo: "哈希算法(可选)",
|
||||||
smtpDkimheaderFieldNames: "明确包含在哈希计算对象内的 Header 列表(可选)",
|
smtpDkimheaderFieldNames: "明确包含在哈希计算对象内的 Header 列表(可选)",
|
||||||
smtpDkimskipFields: "不包含在哈希计算对象内的 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",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue