From 57b5f76db76022f2b15b23665a70e6d4fa9baff4 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 6 Sep 2024 19:57:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E6=9E=84tool=E7=9A=84ps?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 26 +- src/i18n/locales/zh-CN.ts | 22 +- src/views/tool/ps/index.vue | 533 +++++++++++++++++++----------------- 3 files changed, 298 insertions(+), 283 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 1a911f98..9e6991a3 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -2104,21 +2104,19 @@ export default { hostSelectHeader: "Host List", }, ps:{ - hour:"h", - min:"min", - sec:"s", - fastSpeed:"fast", - normalSpeed:"normal", - slowSpeed:"slow", - changeTime:"Refresh rate", - PID:"PID", - name:"APP name", - username:"User name", - workTime:"workTime", - numThreads:"numThreads", - cpuPercent:"cpu Percent", + realTimeHigh:"High", + realTimeLow:"Low", + realTimeRegular:"Regular", + realTimeStop:"Stop", + realTime:"Real Time Speed", + pid:"PID", + name:"APP Name", + username:"User Name", + runTime:"Run Time", + numThreads:"Thread", + cpuPercent:"CPU Percent", diskRead:"Disk Read", - diskWrite:"DiskWrite", + diskWrite:"Disk Write", }, net:{ PID:"PID", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 11667034..5bc65ddb 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -2103,22 +2103,20 @@ export default { hostSelectMore: "加载更多 {num}", hostSelectHeader: "主机列表", }, - ps:{ - hour:"时", - min:"分", - sec:"秒", - fastSpeed:"快速", - normalSpeed:"正常", - slowSpeed:"缓慢", - changeTime:"刷新频率", - PID:"PID", + ps:{ + realTimeHigh:"高", + realTimeLow:"低", + realTimeRegular:"常规", + realTimeStop:"已暂停", + realTime:"实时更新速度", + pid:"PID", name:"应用名称", username:"用户名", - workTime:"运行时间", + runTime:"运行时间", numThreads:"线程数", cpuPercent:"CPU使用率", - diskRead:"磁盘读取率", - diskWrite:"磁盘写入率", + diskRead:"磁盘读取", + diskWrite:"磁盘写入", }, net:{ PID:"PID", diff --git a/src/views/tool/ps/index.vue b/src/views/tool/ps/index.vue index 58f60a25..068e1ee2 100644 --- a/src/views/tool/ps/index.vue +++ b/src/views/tool/ps/index.vue @@ -1,346 +1,365 @@ + +