diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 3dbb335d..94a563f6 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -656,6 +656,40 @@ export default { getOut:'Forced retreat', getOutSure:'Confirm the forced logout of the user whose login account is {userName} ?', }, + system:{ + systemInfo:'System Information', + runPlace:'Running Platform', + placeVersion:'Platform Version', + systemPlace:'System Platform', + systemArchitecture:'System Architecture', + host:'Host Name', + runTime:'Running Time', + cpuInfo:'CPU information', + model:'Model', + hz:'Rate Hz', + cores:'Number of Cores', + usage:'Usage Rate (%)', + memory:'memory information', + totalMemory:'Total Memory', + lastMemory:'Remaining Memory', + proMemory:'Total process memory', + heapSize:'Total size of the heap', + heapUsage:'Heap Allocated', + libUse:'Link Library Occupation', + timeInfo:'Time Information', + time:'Time', + timeZone:'Time Zone', + timeZoneName:'time Zone Name', + networkInfo:'Network Information', + ethernet:'Ethernet', + localConnect:'Local Connection* ', + diskInfo:'Disk Information', + disk:'Path Drive Letter', + totalSize:'Total size', + lastSize:'Remaining size', + usageSize:'Used size', + spaceUsage:'Space usage (%)' + }, job: { jobName: "JobName", jobNamePlease: 'Please enter the task name correctly, limited to 2-20 characters', @@ -902,7 +936,7 @@ export default { delAllSure:'Confirm to clear all login log data items?', delAllSuss:'Cleared successfully', operModule:'Operation module', - operTime:'operation time', + operTime:'Operation time', delAll:'Clear', fail:'Failed', suss:'Normal', @@ -916,7 +950,7 @@ export default { account:'Login Account', loginIp:'Login Address', loginLoc:'Login Location', - os:'operating System', + os:'Operating System', browser:'Browser', status:'Status', info:'Login Information', @@ -928,7 +962,7 @@ export default { unlockSuss:'{userName} unlocked successfully', unlockSure:'Confirm to unlock user [{username}] data item?', } - } + }, }, mmlManage: { cmdTitle: "Command Navigator", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 7724eb3b..544b453b 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -656,6 +656,40 @@ export default { getOut:'强退', getOutSure:'确认强退登录账号为 {userName} 的用户?', }, + system:{ + systemInfo:'系统信息', + runPlace:'运行平台', + placeVersion:'平台版本', + systemPlace:'系统平台', + systemArchitecture:'系统架构', + host:'主机名称', + runTime:'运行时长', + cpuInfo:'CPU信息', + model:'型号', + hz:'速率Hz', + cores:'核心数', + usage:'使用率(%)', + memory:'内存信息', + totalMemory:'总内存', + lastMemory:'剩余内存', + proMemory:'进程总内存', + heapSize:'堆的总大小', + heapUsage:'堆已分配', + libUse:'链接库占用', + timeInfo:'时间信息', + time:'时间', + timeZone:'时区', + timeZoneName:'时区名称', + networkInfo:'网络信息', + ethernet:'以太网', + localConnect:'本地连接* ', + diskInfo:'磁盘信息', + disk:'路径盘符', + totalSize:'总大小', + lastSize:'剩余大小', + usageSize:'已使用大小', + spaceUsage:'空间使用率(%)' + }, job: { jobName: "任务名称", jobNamePlease: '请正确输入任务名称,限2-20个字符', diff --git a/src/views/monitor/system/info.vue b/src/views/monitor/system/info.vue index 47af7681..8f8ee74a 100644 --- a/src/views/monitor/system/info.vue +++ b/src/views/monitor/system/info.vue @@ -13,28 +13,28 @@ let loading = ref(true); /**磁盘信息表格字段列 */ let diskTableColumns: ColumnsType = [ { - title: '路径盘符', + title: t('views.monitor.system.disk'), dataIndex: 'target', align: 'center', }, { - title: '总大小', + title: t('views.monitor.system.totalSize'), dataIndex: 'size', align: 'center', }, { - title: '剩余大小', + title: t('views.monitor.system.lastSize'), dataIndex: 'avail', align: 'center', }, { - title: '已使用大小', + title: t('views.monitor.system.usageSize'), dataIndex: 'used', align: 'center', }, { - title: '空间使用率(%)', + title: t('views.monitor.system.spaceUsage'), dataIndex: 'pcent', align: 'center', }, @@ -122,7 +122,7 @@ onMounted(() => {