From 8010406cd18b8f3f61ed8bb3e89f3fbbde4129bc Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 21 Jun 2022 18:14:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=88=A0=E9=99=A4=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E5=9B=BD=E9=99=85=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/chart/chart/chartMap.vue | 2 +- .../components/chart/chart/chartTopology.vue | 2 +- .../src/components/chart/chartDetail.vue | 6 +++--- .../src/components/chart/chartHeader.vue | 2 +- nezha-fronted/src/components/cli/webSSH.vue | 8 ++++---- .../common/ChartDiagram/diagram.vue | 2 +- .../components/common/alert/alertLabel.vue | 12 +++++------ .../components/common/alert/alertLabel2.vue | 12 +++++------ .../components/common/alert/alertLabel3.vue | 12 +++++------ .../common/alert/alertMessageInfoTab.vue | 2 +- .../common/alert/alertMessageInfoTimeLine.vue | 2 +- .../components/common/alert/alertRuleInfo.vue | 4 ++-- .../common/alert/alertRuleInfo2.vue | 4 ++-- .../components/common/bottomBox/bottomBox.vue | 4 ++-- .../common/bottomBox/tabs/alertMessageTab.vue | 4 ++-- .../bottomBox/tabs/endpointQueryTab.vue | 2 +- .../common/bottomBox/tabs/endpointTab.vue | 8 ++++---- .../list/alertRule/alertRuleDetail.vue | 2 +- .../detailView/list/userDetail/userDetail.vue | 2 +- .../detailView/view/detailViewRight.vue | 2 +- .../components/common/elSelect/MyElSelect.vue | 2 +- .../common/globalSearch/globalSearch.vue | 2 +- .../common/globalSearch/searchItemInfo.vue | 6 +++--- .../src/components/common/js/constants.js | 4 ++-- .../src/components/common/language/newcn.js | 3 ++- .../src/components/common/language/newen.js | 3 ++- .../myDatePicker/src/panel/date-range.vue | 2 +- .../myDatePicker/src/panel/time-range.vue | 2 +- .../src/components/common/popBox/guide.vue | 2 +- .../common/popBox/topToolMoreOptions.vue | 2 +- .../common/project/L5/CanvasContextMenu.vue | 2 +- .../common/project/L5/CanvasProps.vue | 12 +++++------ .../common/project/popData/Main.vue | 8 ++++---- .../common/project/popData/endpointTable.vue | 2 +- .../components/common/project/topologyL5.vue | 4 ++-- .../common/rightBox/addEndpointBox.vue | 4 ++-- .../rightBox/administration/backupsBox.vue | 6 +++--- .../rightBox/administration/modelBox.vue | 2 +- .../rightBox/administration/userBox.vue | 8 ++++---- .../components/common/rightBox/agentBox.vue | 4 ++-- .../common/rightBox/alertRuleBox.vue | 6 +++--- .../common/rightBox/alertSilenceBox.vue | 2 +- .../common/rightBox/batchAddEndpoint.vue | 2 +- .../common/rightBox/batchModifyEndpoint.vue | 2 +- .../common/rightBox/chart/chartRightBox.vue | 2 +- .../common/rightBox/chartTempBox.vue | 2 +- .../src/components/common/rightBox/dcBox.vue | 2 +- .../common/rightBox/editEndpointBoxNew.vue | 12 +++++------ .../common/rightBox/exprTmplBox.vue | 2 +- .../components/common/rightBox/moduleBox.vue | 8 ++++---- .../common/rightBox/setting/cabinetBox.vue | 2 +- .../trafficSetting/trafficSettingTab.vue | 2 +- .../components/common/searchSelectInfo.vue | 20 +++++++++---------- .../common/table/alert/alertMessageTable.vue | 2 +- .../table/alert/alertRuleEvalLogTable.vue | 2 +- .../common/table/alert/alertRuleTable.vue | 18 ++++++++--------- .../common/table/alert/alertSilenceTable.vue | 2 +- .../common/table/asset/assetTable.vue | 2 +- .../common/table/settings/agentTable.vue | 2 +- .../common/table/settings/dcTable.vue | 2 +- .../common/table/settings/endpointTable.vue | 6 +++--- .../common/table/settings/exprTmplTable.vue | 2 +- .../common/table/settings/mibTable.vue | 2 +- .../common/table/settings/moduleTable.vue | 2 +- .../table/settings/operationLogTable.vue | 2 +- .../common/table/settings/projectTable.vue | 2 +- .../table/settings/scrapeEndpointTable.vue | 2 +- .../table/settings/terminalLogTable.vue | 2 +- .../src/components/common/timePicker.vue | 2 +- .../components/page/alert/alertMessage.vue | 2 +- .../src/components/page/config/backups.vue | 4 ++-- .../src/components/page/config/mibBrowser.vue | 2 +- .../src/components/page/config/monitor.vue | 6 +++--- .../src/components/page/config/profile.vue | 2 +- .../src/components/page/config/setup.vue | 4 ++-- .../src/components/page/config/system.vue | 6 +++--- .../components/page/config/system/license.vue | 4 ++-- .../page/config/template/exprTemp.vue | 2 +- .../page/dashboard/alertChartParam.vue | 2 +- .../page/dashboard/explore/exploreItem.vue | 4 ++-- .../page/dashboard/overview/overview.vue | 8 ++++---- .../page/dashboard/overview/overview2.vue | 14 ++++++------- .../page/monitor/project/project.vue | 4 ++-- .../src/entrance/exportHtml/i18nData.js | 2 +- 84 files changed, 179 insertions(+), 177 deletions(-) diff --git a/nezha-fronted/src/components/chart/chart/chartMap.vue b/nezha-fronted/src/components/chart/chart/chartMap.vue index 15f066536..abd4658a3 100644 --- a/nezha-fronted/src/components/chart/chart/chartMap.vue +++ b/nezha-fronted/src/components/chart/chart/chartMap.vue @@ -203,7 +203,7 @@ export default {
${dcStat.agent.up}
-
${self.$t('guide.agent')} ${self.$t('overall.unusual')}
+
${self.$t('guide.agent')} ${self.$t('asset.down')}
diff --git a/nezha-fronted/src/components/chart/chart/chartTopology.vue b/nezha-fronted/src/components/chart/chart/chartTopology.vue index 59e5d483b..30bd99f42 100644 --- a/nezha-fronted/src/components/chart/chart/chartTopology.vue +++ b/nezha-fronted/src/components/chart/chart/chartTopology.vue @@ -73,7 +73,7 @@ export default { { class: 'nz-icon nz-icon-Datacenter2', type: 'datacenter', label: this.$t('overall.dc') }, { class: 'nz-icon nz-icon-project', type: 'project', label: this.$t('overall.project') }, { class: 'nz-icon nz-icon-overview-module', type: 'module', label: this.$t('overall.module') }, - { class: 'nz-icon nz-icon-overview-endpoint', type: 'endpoint', label: this.$t('overall.endpoint') } + { class: 'nz-icon nz-icon-overview-endpoint', type: 'endpoint', label: this.$t('asset.endpoint') } ] } }, diff --git a/nezha-fronted/src/components/chart/chartDetail.vue b/nezha-fronted/src/components/chart/chartDetail.vue index 1c52dcae2..6fdd1892a 100644 --- a/nezha-fronted/src/components/chart/chartDetail.vue +++ b/nezha-fronted/src/components/chart/chartDetail.vue @@ -68,7 +68,7 @@
-
{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})
+
{{$t('project.topology.alert')}}({{$t('overall.active')}})
{{$t('overall.result.total')}}
{{chartDetail.alertNum}}
@@ -118,7 +118,7 @@
-
{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})
+
{{$t('project.topology.alert')}}({{$t('overall.active')}})
{{$t('overall.result.total')}}
{{chartDetail.alertNum}}
@@ -131,7 +131,7 @@
{{$t('overall.state')}}
- {{$t('project.metrics.metrics')}} + {{$t('overall.metric')}} diff --git a/nezha-fronted/src/components/chart/chartHeader.vue b/nezha-fronted/src/components/chart/chartHeader.vue index fb6e30719..39bb62cbb 100644 --- a/nezha-fronted/src/components/chart/chartHeader.vue +++ b/nezha-fronted/src/components/chart/chartHeader.vue @@ -43,7 +43,7 @@ - + diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index 8ac377820..d39bdac73 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -95,7 +95,7 @@