Skip to content

Commit e09c5b9

Browse files
committed
add translate
1 parent cde0673 commit e09c5b9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

pkg/web/src/i18n/resources/en/translation.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,8 @@
157157
"当前副本数": "Current Replicas",
158158
"更新时间": "Update Time",
159159
"当前资源(容器/CPU/Memory)": "Current Resource(Container/CPU/Memory)",
160-
"成本分布": "Cost by Dimension"
160+
"成本分布": "Cost by Dimension",
161+
"最近1小时": "Last 1 Hour",
162+
"节点名": "Node Name",
163+
"闲置节点": "Idle Node"
161164
}

pkg/web/src/i18n/resources/zh/translation.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,8 @@
157157
"当前副本数": "当前副本数",
158158
"更新时间": "更新时间",
159159
"当前资源(容器/CPU/Memory)": "当前资源(容器/CPU/Memory)",
160-
"成本分布": "成本分布"
160+
"成本分布": "成本分布",
161+
"最近1小时": "最近1小时",
162+
"节点名": "节点名",
163+
"闲置节点": "闲置节点"
161164
}

pkg/web/src/router/modules/recommend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const useRecommendRouteConfig = () => {
3838
path: 'idleNode',
3939
Component: lazy(() => import('pages/Recommend/IdleNode')),
4040
meta: {
41-
title: t('闭置节点'),
41+
title: t('闲置节点'),
4242
},
4343
},
4444
],

0 commit comments

Comments
 (0)