diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index 467c890a2..688900262 100644 --- a/nezha-fronted/src/components/common/language/cn.js +++ b/nezha-fronted/src/components/common/language/cn.js @@ -139,6 +139,7 @@ const cn = { sync: '同步到设备', last:'Last', threshold:'阈值', + thresholds:'阈值', typeVal: { line: { label: "曲线图" @@ -205,7 +206,7 @@ const cn = { legendValue:'Legend option', content:'内容', tooltip:'Tooltip', - displayChart:'Display chart', + displayChart:'图表', aggregation:"Aggregation", }, chartTableColumn: { @@ -956,7 +957,8 @@ const cn = { addLine:'添加连线', editLine:'编辑连线', lineName:'连线名称', - width:'宽度', + width:'宽', + height:'高', dashes:'虚线', option:'设置', arrows:'箭头方向', @@ -982,6 +984,41 @@ const cn = { imgMeasure:'上传的图片宽高必须都大于100!', data:"数据", style:'样式', + title:'标题', + level:'等级', + value:'值', + animation:'动画', + animationType:'动画类型', + animationColor:'动画颜色', + link:'链接', + fill:'背景', + lines:'边框', + text:'文字', + name:'名称', + bac:'背景', + bacImage:'背景图片', + defaultLineWidth:'默认线宽', + lineWidth:'线条宽度', + grids:'网格', + gridSize:'网格大小', + gridColor:'网格颜色', + rule:'标尺', + ruleColor:"标尺颜色", + defaultStartArrow:'默认开始箭头', + defaultEndArrow:'默认结束箭头', + positionAndSize:"位置和大小", + circularBead:'圆角', + rotate:'旋转', + pl:"内边距 - 左", + pt:"内边距 - 上", + pr:"内边距 - 右", + pb:"内边距 - 下", + gradient:'渐变', + lineStyle:'线条样式', + lineColor:'线条颜色', + fromArrow:"起点箭头", + toArrow:"终点箭头", + arrowColor:"箭头颜色", }, }, date:{ diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 48cc2ff11..e250bd770 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -152,6 +152,7 @@ const en = { sync: 'Sync to assets', last:'Last', threshold:'Threshold', + thresholds:'Thresholds', typeVal:{ line:{ label:'Line Chart' //"曲线图" @@ -962,7 +963,8 @@ const en = { addLine:'Add line', editLine:'Edit line', lineName:'Line Name', - width:'thickness', + width:'Width', + height:'Height', dashes:'dotted line', option:'Option', arrows:'arrows', @@ -978,7 +980,7 @@ const en = { total:'Chart', info:'Module Info', alert:'Alert Message', - lineType:'linetype', + lineType:'Line type', straight:'straight', curve:'curve', upload:'upload', @@ -988,6 +990,41 @@ const en = { imgMeasure:'The width and height of uploaded pictures must be greater than 100!', data:"Data", style:'Style', + title:'Title', + level:'Level', + value:'Value', + animation:'Animation', + animationType:'Animation type', + animationColor:'Animation color', + link:'Link', + fill:'Fill', + lines:'Line', + text:'Text', + name:'Name', + bac:"Background", + bacImage:'Background image', + defaultLineWidth:'Default lineWidth', + lineWidth:'Line width', + grids:'Grids', + gridSize:'Grid Size', + gridColor:'Grid Color', + rule:"Rule", + ruleColor:"Rule Color", + defaultStartArrow:'Default start arrow', + defaultEndArrow:'Default end arrow', + positionAndSize:"Position&Size", + circularBead:'Circular bead', + rotate:'Rotate', + pl:"Padding left", + pt:"Padding top", + pr:"Padding right", + pb:"Padding bottom", + gradient:'Gradient', + lineStyle:'Line dash', + lineColor:'Line color', + fromArrow:"From arrow", + toArrow:"To arrow", + arrowColor:"Arrow color", }, }, date:{ diff --git a/nezha-fronted/src/components/common/project/L5/CanvasProps.vue b/nezha-fronted/src/components/common/project/L5/CanvasProps.vue index bb0fbd892..9461e1955 100644 --- a/nezha-fronted/src/components/common/project/L5/CanvasProps.vue +++ b/nezha-fronted/src/components/common/project/L5/CanvasProps.vue @@ -23,7 +23,7 @@ - + - + @@ -140,16 +140,16 @@ - {{'Thresholds'}} (0:Ok > … >2:Critical)
- Level - Color - Value - Animation + {{$t('project.topology.level')}} + {{$t('project.topology.color')}} + {{$t('project.topology.value')}} + {{$t('project.topology.animation')}} @@ -181,9 +181,9 @@
-
Fill
-
Line
-
Text
+
{{$t('project.topology.fill')}}
+
{{$t('project.topology.lines')}}
+
{{$t('project.topology.text')}}
@@ -204,7 +204,6 @@ - {{'Link'}} + {{$t('project.topology.link')}} @@ -256,7 +254,7 @@ - +
@@ -297,7 +295,7 @@
-
宽(px)
+
{{$t('project.topology.width')}}(px)
-
高(px)
+
{{$t('project.topology.height')}}(px)
-
圆角(0 - 1)
+
{{$t('project.topology.circularBead')}}(0 - 1)
-
旋转(°)
+
{{$t('project.topology.rotate')}}(°)
-
内边距 上(px)
+
{{$t('project.topology.pt')}}(px)
-
内边距 下(px)
+
{{$t('project.topology.pb')}}(px)
-
内边距 左(px)
+
{{$t('project.topology.pl')}}(px)
-
内边距 右(px)
+
{{$t('project.topology.pr')}}(px)
- +
-
背景颜色
+
{{$t('project.topology.bac')}}
@@ -476,7 +474,7 @@
-
Gradient
+
{{$t('project.topology.gradient')}}
- @@ -515,9 +513,9 @@
-
线条样式
+
{{$t('project.topology.lineDash')}}
-
@@ -545,9 +543,9 @@
-
连线类型
+
{{$t('project.topology.lineType')}}
-
@@ -575,9 +573,9 @@
-
起点箭头
+
{{$t('project.topology.fromArrow')}}
-
@@ -624,9 +622,9 @@
-
终点箭头
+
{{$t('project.topology.toArrow')}}
-
@@ -673,7 +671,7 @@
-
线条宽度(px)
+
{{$t('project.topology.lineWidth')}}(px)
-
线条颜色
+
{{$t('project.topology.lineColor')}}
@@ -714,7 +712,7 @@
-
箭头颜色
+
{{$t('project.topology.arrowColor')}}
@@ -739,7 +737,7 @@
-
Animation +
{{$t('project.topology.animation')}}
- +
- +
- @@ -777,7 +775,7 @@
- +
@@ -811,24 +809,24 @@ Project
-
Title
+
{{$t('project.topology.title')}}
- +
-
-
Appearance
+
{{$t('project.topology.name')}}
- +
@@ -850,15 +848,15 @@
- +
- +
- +
- +
- +
- +
@@ -932,7 +930,7 @@
- +
- +
@@ -967,9 +965,9 @@
- +
-
@@ -1017,9 +1015,9 @@
- +
-
@@ -1073,7 +1071,7 @@
- +
- +
-
Link
+
{{$t('project.topology.link')}}
-