Update en&zh-CN lang file with 1 new i18n entry

This commit is contained in:
AnnAngela-work 2022-04-19 10:48:20 +08:00
parent 9bf3b3a0f4
commit 18925293fb
3 changed files with 21 additions and 7 deletions

View file

@ -424,7 +424,7 @@ export default {
"Add New Status Page": "Add New Status Page", "Add New Status Page": "Add New Status Page",
Slug: "Slug", Slug: "Slug",
"Accept characters:": "Accept characters:", "Accept characters:": "Accept characters:",
"startOrEndWithOnly": "Start or end with {0} only", startOrEndWithOnly: "Start or end with {0} only",
"No consecutive dashes": "No consecutive dashes", "No consecutive dashes": "No consecutive dashes",
Next: "Next", Next: "Next",
"The slug is already taken. Please choose another slug.": "The slug is already taken. Please choose another slug.", "The slug is already taken. Please choose another slug.": "The slug is already taken. Please choose another slug.",
@ -450,7 +450,7 @@ export default {
"Fingerprint:": "Fingerprint:", "Fingerprint:": "Fingerprint:",
"No status pages": "No status pages", "No status pages": "No status pages",
"Domain Name Expiry Notification": "Domain Name Expiry Notification", "Domain Name Expiry Notification": "Domain Name Expiry Notification",
"Proxy": "Proxy", Proxy: "Proxy",
"Date Created": "Date Created", "Date Created": "Date Created",
onebotHttpAddress: "OneBot HTTP Address", onebotHttpAddress: "OneBot HTTP Address",
onebotMessageType: "OneBot Message Type", onebotMessageType: "OneBot Message Type",
@ -459,4 +459,7 @@ export default {
onebotUserOrGroupId: "Group/User ID", onebotUserOrGroupId: "Group/User ID",
onebotSafetyTips: "For safety, must set access token", onebotSafetyTips: "For safety, must set access token",
"PushDeer Key": "PushDeer Key", "PushDeer Key": "PushDeer Key",
"Footer Text": "Footer Text",
"Show Powered By": "Show Powered By",
"Domain Names": "Domain Names",
}; };

View file

@ -434,7 +434,7 @@ export default {
"Add New Status Page": "添加新的状态页", "Add New Status Page": "添加新的状态页",
Slug: "路径", Slug: "路径",
"Accept characters:": "可接受的字符:", "Accept characters:": "可接受的字符:",
"startOrEndWithOnly": "开头和结尾必须为 {0}", startOrEndWithOnly: "开头和结尾必须为 {0}",
"No consecutive dashes": "不能有连续的破折号", "No consecutive dashes": "不能有连续的破折号",
Next: "下一步", Next: "下一步",
"The slug is already taken. Please choose another slug.": "该路径已被使用。请选择其他路径。", "The slug is already taken. Please choose another slug.": "该路径已被使用。请选择其他路径。",
@ -450,7 +450,7 @@ export default {
"Fingerprint:": "指纹:", "Fingerprint:": "指纹:",
"No status pages": "无状态页", "No status pages": "无状态页",
"Domain Name Expiry Notification": "域名到期时通知", "Domain Name Expiry Notification": "域名到期时通知",
"Proxy": "代理", Proxy: "代理",
"Date Created": "创建于", "Date Created": "创建于",
onebotHttpAddress: "OneBot HTTP 地址", onebotHttpAddress: "OneBot HTTP 地址",
onebotMessageType: "OneBot 消息类型", onebotMessageType: "OneBot 消息类型",
@ -458,4 +458,15 @@ export default {
onebotPrivateMessage: "私聊", onebotPrivateMessage: "私聊",
onebotUserOrGroupId: "群组/用户ID", onebotUserOrGroupId: "群组/用户ID",
onebotSafetyTips: "出于安全原因,请务必设置 AccessToken", onebotSafetyTips: "出于安全原因,请务必设置 AccessToken",
topic: "Topic",
topicExplanation: "MQTT 传递给监控的 Topic",
successMessage: "成功时消息",
successMessageExplanation: "MQTT 成功时所传递的消息",
Customize: "自定义",
"Custom Footer": "自定义底部",
"Custom CSS": "自定义 CSS",
"PushDeer Key": "PushDeer Key",
"Footer Text": "底部自定义文本",
"Show Powered By": "显示 Powered By",
"Domain Names": "域名",
}; };

View file

@ -52,7 +52,7 @@
<!-- Domain Name List --> <!-- Domain Name List -->
<div class="my-3"> <div class="my-3">
<label class="form-label"> <label class="form-label">
Domain Names {{ $t("Domain Names") }}
<font-awesome-icon icon="plus-circle" class="btn-add-domain action text-primary" @click="addDomainField" /> <font-awesome-icon icon="plus-circle" class="btn-add-domain action text-primary" @click="addDomainField" />
</label> </label>
@ -707,7 +707,7 @@ export default {
}, },
postIncident() { postIncident() {
if (this.incident.title == "" || this.incident.content == "") { if (this.incident.title === "" || this.incident.content === "") {
toast.error(this.$t("Please input title and content")); toast.error(this.$t("Please input title and content"));
return; return;
} }