Skip to content

Commit c7f3d75

Browse files
committed
fix(pod): top 列表字段名称修改
1 parent 59545b5 commit c7f3d75

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

web/dashboard/src/business/workloads/pods/top/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
</div>
4646
</template>
4747
</el-table-column>
48-
<el-table-column :label="$t('commons.table.created_time')" min-width="35" show-overflow-tooltip prop="metadata.timestamp" fix>
48+
<el-table-column :label="$t('business.pod.time_stamp')" min-width="35" show-overflow-tooltip prop="metadata.timestamp" fix>
4949
<template v-slot:default="{row}">
5050
{{ row.timestamp | age }}
5151
</template>
5252
</el-table-column>
53-
<el-table-column label="window" show-overflow-tooltip prop="window" min-width="35" fix>
53+
<el-table-column :label="$t('business.pod.windows')" show-overflow-tooltip prop="window" min-width="35" fix>
5454
<template v-slot:default="{row}">
5555
{{ row.window }}
5656
</template>

web/dashboard/src/i18n/lang/en-US.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ const message = {
209209
eviction_help2: "2. Eviction the pod",
210210
eviction_help3: "3. Set the node to the schedulable state",
211211
drain_success: "Pod eviction succeeded, please refresh the page later",
212+
time_stamp: "Timestamp",
212213
windows: "Windows",
213214
ready: "Ready",
214215
restart_count: "Restart count",

web/dashboard/src/i18n/lang/zh-CN.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ const message = {
210210
eviction_help2: "2. 驱散该 pod",
211211
eviction_help3: "3. 将节点置为可调度状态",
212212
drain_success: "pod 驱散成功,请稍后刷新页面",
213-
windows: "时间窗口",
213+
time_stamp: "采样时间",
214+
windows: "采样时长",
214215
ready: "准备就绪",
215216
restart_count: "重启次数",
216217
type: "类别",

0 commit comments

Comments
 (0)