Skip to content

Commit

Permalink
add translate
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhu committed Oct 14, 2022
1 parent cde0673 commit e09c5b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pkg/web/src/i18n/resources/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,8 @@
"当前副本数": "Current Replicas",
"更新时间": "Update Time",
"当前资源(容器/CPU/Memory)": "Current Resource(Container/CPU/Memory)",
"成本分布": "Cost by Dimension"
"成本分布": "Cost by Dimension",
"最近1小时": "Last 1 Hour",
"节点名": "Node Name",
"闲置节点": "Idle Node"
}
5 changes: 4 additions & 1 deletion pkg/web/src/i18n/resources/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,8 @@
"当前副本数": "当前副本数",
"更新时间": "更新时间",
"当前资源(容器/CPU/Memory)": "当前资源(容器/CPU/Memory)",
"成本分布": "成本分布"
"成本分布": "成本分布",
"最近1小时": "最近1小时",
"节点名": "节点名",
"闲置节点": "闲置节点"
}
2 changes: 1 addition & 1 deletion pkg/web/src/router/modules/recommend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const useRecommendRouteConfig = () => {
path: 'idleNode',
Component: lazy(() => import('pages/Recommend/IdleNode')),
meta: {
title: t('闭置节点'),
title: t('闲置节点'),
},
},
],
Expand Down

0 comments on commit e09c5b9

Please sign in to comment.