Merge remote-tracking branch 'AnnAngela/master'

# Conflicts:
#	src/languages/zh-CN.js
This commit is contained in:
Louis Lam 2022-03-02 13:43:34 +08:00
commit 0671e4ea2b
3 changed files with 36 additions and 27 deletions

View file

@ -6,7 +6,7 @@
<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>
<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>
<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>
<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:">
<a href="https://help.aliyun.com/document_detail/101414.html" target="_blank">https://help.aliyun.com/document_detail/101414.html</a>
</i18n-t>

View file

@ -7,9 +7,9 @@
<input id="secretKey" v-model="$parent.notification.secretKey" type="text" class="form-control" required>
<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:">
<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>
</div>
</div>

View file

@ -2,7 +2,7 @@ export default {
languageName: "简体中文",
checkEverySecond: "检测频率 {0} 秒",
retriesDescription: "最大重试失败次数",
ignoreTLSError: "忽略HTTPS站点的证书错误",
ignoreTLSError: "忽略 HTTPS 站点的证书错误",
upsideDownModeDescription: "反向状态监控(状态码范围外为有效状态,反之为无效)",
maxRedirectDescription: "最大重定向次数,设置为 0 禁止重定向",
acceptedStatusCodesDescription: "选择被视为成功响应的状态码",
@ -12,7 +12,7 @@ export default {
pauseDashboardHome: "暂停",
deleteMonitorMsg: "确定要删除此监控吗?",
deleteNotificationMsg: "确定要删除此消息通知吗?这将对所有监控生效。",
resolverserverDescription: "可自定义要使用的DNS服务器",
resolverserverDescription: "可自定义要使用的 DNS 服务器",
rrtypeDescription: "选择要监控的资源记录类型",
pauseMonitorMsg: "确定要暂停吗?",
Settings: "设置",
@ -56,7 +56,7 @@ export default {
"Monitor Type": "监控类型",
Keyword: "关键字",
"Friendly Name": "自定义名称",
URL: "网址URL",
URL: "网址 URL",
Hostname: "主机名",
Port: "端口号",
"Heartbeat Interval": "心跳间隔",
@ -131,8 +131,8 @@ export default {
backupDescription3: "导出的文件中可能包含敏感信息,如消息通知的 Token 信息,请小心存放!",
alertNoFile: "请选择一个文件导入",
alertWrongFileType: "请选择一个 JSON 格式的文件",
twoFAVerifyLabel: "请输入Token以验证 2FA二次验证是否正常工作",
tokenValidSettingsMsg: "Token有效!您现在可以保存 2FA二次验证设置",
twoFAVerifyLabel: "请输入 Token 以验证 2FA二次验证是否正常工作",
tokenValidSettingsMsg: "Token 有效!您现在可以保存 2FA二次验证设置",
confirmEnableTwoFAMsg: "确定要启用 2FA二次验证吗?",
confirmDisableTwoFAMsg: "确定要禁用 2FA二次验证吗?",
"Apply on all existing monitors": "应用到所有监控项",
@ -151,7 +151,7 @@ export default {
importHandleDescription: "如果想跳过同名的监控项或通知,请选择“跳过”;“覆盖”将删除所有现有的监控项和通知。",
confirmImportMsg: "确定要导入备份吗?请确保已经选择了正确的导入选项。",
"Heartbeat Retry Interval": "心跳重试间隔",
"Backup": "备份",
Backup: "备份",
"Import Backup": "导入备份",
"Export Backup": "导出备份",
"Skip existing": "跳过",
@ -218,9 +218,9 @@ export default {
"Post URL": "目标链接",
"Content Type": "Content Type",
webhookJsonDesc: "{0} 适合现代的服务,比如 express.js",
webhookFormDataDesc: "{multipart} 适合PHP解码使用 {decodeFunction}",
secureOptionNone: "无 / STARTTLS25587",
secureOptionTLS: "TLS465",
webhookFormDataDesc: "{multipart} 适合 PHP解码使用 {decodeFunction}",
secureOptionNone: "无 / STARTTLS常见端口号为 25、587",
secureOptionTLS: "TLS常见端口号为 465",
"Ignore TLS Error": "忽略 TLS 错误",
"From Email": "发信人",
"To Email": "收信人",
@ -301,14 +301,14 @@ export default {
Body: "请求体",
Headers: "请求头",
PushUrl: "Push URL",
HeadersInvalidFormat: "请求头不是有效的JSON: ",
BodyInvalidFormat: "请求体不是有效的JSON: ",
HeadersInvalidFormat: "请求头不是有效的 JSON: ",
BodyInvalidFormat: "请求体不是有效的 JSON: ",
"Monitor History": "监控历史数据",
clearDataOlderThan: "保留监控历史数据 {0} 天",
PasswordsDoNotMatch: "密码不匹配",
records: "records",
"One record": "One record",
steamApiKeyDescription: "为了监控Steam游戏服务器你需要一个Steam Web-API key。你可以在这里注册你的API密钥: ",
steamApiKeyDescription: "为了监控 Steam 游戏服务器,你需要一个 Steam Web-API key。你可以在这里注册你的 API 密钥: ",
"Current User": "当前用户",
recent: "最近",
Done: "完成",
@ -341,27 +341,36 @@ export default {
"Hide Tags": "隐藏标签",
Description: "描述",
"No monitors available.": "没有可用的监控项",
"Add one": "Add one",
"Add one": "创建新的监控项",
"No Monitors": "没有监控项",
"Untitled Group": "无标题的分组",
Services: "服务",
Discard: "取消",
Cancel: "取消",
"Powered by": "Powered by",
shrinkDatabaseDescription: "这将触发SQLite数据库的 VACUUM 命令如果您的数据库是在1.10.0版本之后创建的AUTO_VACUUM已经启用了则不需要再使用此功能",
shrinkDatabaseDescription: "这将触发 SQLite 数据库的 VACUUM 命令如果您的数据库是在1.10.0版本之后创建的AUTO_VACUUM 已经启用了,则不需要再使用此功能",
serwersms: "SerwerSMS.pl",
serwersmsAPIUser: "API Username (incl. webapi_ prefix)",
serwersmsAPIUser: "API Username(请保留 webapi_ 前缀)",
serwersmsAPIPassword: "API Password",
serwersmsPhoneNumber: "Phone number",
serwersmsSenderName: "SMS Sender Name (registered via customer portal)",
stackfield: "Stackfield",
smtpDkimSettings: "DKIM Settings",
smtpDkimDesc: "Please refer to the Nodemailer DKIM {0} for usage.",
documentation: "documentation",
smtpDkimSettings: "DKIM 设置",
smtpDkimDesc: "请参考 Nodemailer 的 DKIM {0} 进行配置。",
documentation: "文档",
smtpDkimDomain: "域名",
smtpDkimKeySelector: "Key Selector",
smtpDkimPrivateKey: "Private Key",
smtpDkimHashAlgo: "Hash Algorithm (可选)",
smtpDkimheaderFieldNames: "Header Keys to sign (可选)",
smtpDkimskipFields: "Header Keys not to sign (可选)",
smtpDkimKeySelector: "前缀选择器",
smtpDkimPrivateKey: "密钥",
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",
};