From ba188b9128978f9d4073b806ff5a95e33e33c45c Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 19 Nov 2020 18:20:31 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Asystem=20basic=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=99=90=E5=88=B6query=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=95=B0=E9=87=8F=20=E4=BB=A5=E5=8F=8A=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=96=B0=E7=9A=84=E6=A0=87=E7=AD=BE=E9=A1=B5Notticati?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/language/cn.js | 15 +- .../src/components/common/language/en.js | 17 +- .../src/components/page/config/system.vue | 207 +++++++++++++++++- 3 files changed, 234 insertions(+), 5 deletions(-) diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index 7861abe6c..8d5e0585d 100644 --- a/nezha-fronted/src/components/common/language/cn.js +++ b/nezha-fronted/src/components/common/language/cn.js @@ -702,7 +702,8 @@ const cn = { timezone: "时区", defaultCabinetUsize: "机柜默认U位", second:'秒', - day:'天' + day:'天', + maxSeries:'Query max series', }, email: { email: "邮件", @@ -747,6 +748,18 @@ const cn = { nameMaxLength:"长度应小于64", uriRequired:'请填写正确的网址' }, + notification: { + notification:'Notification', + name: "名称", + filePath: "文件路径", + operation: "操作", + add: "添加", + update: "更新", + del: "删除", + nameMaxLength:"长度应小于64", + uriRequired:'必填项', + filePathReg:'请输入正确的文件路径' + }, reset: { reset: "重置", type: "类型", diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 904098b66..d6e261116 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -707,7 +707,8 @@ const en = { timezone:'Timezone', defaultCabinetUsize:'Cabinet U Size', second:'second', - day:'day' + day:'day', + maxSeries:'Query max series', }, email:{ email:'Email', @@ -744,7 +745,7 @@ const en = { link: { link:'Link', name: "Name", - url: "URL", + filePath: "FilePath", operation: "Operation", add: "Add", update: "Update", @@ -752,6 +753,18 @@ const en = { nameMaxLength:'The length should be less than 64', uriRequired:'Please fill in the correct url' }, + notification: { + notification:'Notification', + name: "Name", + filePath: "filePath", + operation: "Operation", + add: "Add", + update: "Update", + del: "Delete", + nameMaxLength:'The length should be less than 64', + uriRequired:'Required', + filePathReg:'Please enter the correct file path' + }, reset:{ reset:'Reset', type:'Type', diff --git a/nezha-fronted/src/components/page/config/system.vue b/nezha-fronted/src/components/page/config/system.vue index feed6e3bb..f4039b1ec 100644 --- a/nezha-fronted/src/components/page/config/system.vue +++ b/nezha-fronted/src/components/page/config/system.vue @@ -2,7 +2,7 @@
-
+
@@ -29,8 +29,11 @@ {{$t('config.system.basic.day')}} + + + - + @@ -133,6 +136,74 @@
+ + +