diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index a49e7101746..85e8bc21af7 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -136,7 +136,7 @@ size="small" status="active" :percent="parseFloat(resource.cpuused)" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.cpuusedghz')" + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.used')" /> @@ -144,7 +144,7 @@ class="progress-bar" size="small" :percent="parseFloat(resource.cpuallocated)" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.cpuallocatedghz')" + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.allocated')" /> @@ -161,7 +161,7 @@ size="small" status="active" :percent="Number(parseFloat(100.0 * (resource.memorykbs - resource.memoryintfreekbs) / resource.memorykbs).toFixed(2))" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.memoryusedgb')" + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.used')" /> @@ -178,7 +178,7 @@ size="small" status="active" :percent="Number(parseFloat(100.0 * parseFloat(resource.memoryusedgb) / parseFloat(resource.memorytotalgb)).toFixed(2))" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.memoryusedgb')" + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.used')" /> @@ -186,7 +186,7 @@ class="progress-bar" size="small" :percent="Number(parseFloat(100.0 * parseFloat(resource.memoryallocatedgb) / parseFloat(resource.memorytotalgb)).toFixed(2))" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.memoryallocatedgb')" + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.allocated')" /> @@ -207,7 +207,7 @@ size="small" status="active" :percent="parseFloat(resource.memoryused)" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.memoryused')" /> + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.used')" /> @@ -215,7 +215,7 @@ class="progress-bar" size="small" :percent="parseFloat(resource.memoryallocated)" - :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.memoryallocatedgb')" /> + :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('label.allocated')" /> diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 1fdbb35f921..64a70585882 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -599,16 +599,16 @@ "label.cpu.allocated": "CPU Allocated", "label.cpu.sockets": "CPU Sockets", "label.cpuallocated": "CPU Allocated for VMs", -"label.cpuallocatedghz": "Allocated", +"label.cpuallocatedghz": "CPU Allocated", "label.cpulimit": "CPU limits", "label.cpumaxdeviation": "Deviation", "label.cpunumber": "CPU Cores", "label.cpusockets": "The Number of CPU Sockets", "label.cpuspeed": "CPU (in MHz)", "label.cputotal": "Total CPU", -"label.cputotalghz": "Total", +"label.cputotalghz": "CPU Total", "label.cpuused": "CPU Utilized", -"label.cpuusedghz": "Used CPU", +"label.cpuusedghz": "CPU Used", "label.create.account": "Create Account", "label.create.backup": "Start Backup", "label.create.network": "Create New Network", @@ -1303,13 +1303,13 @@ "label.memory.total": "Memory Total", "label.memory.used": "Memory Used", "label.memoryallocated": "Memory Allocated", -"label.memoryallocatedgb": "Allocated", +"label.memoryallocatedgb": "Memory Allocated", "label.memorylimit": "Memory limits (MiB)", "label.memorymaxdeviation": "Deviation", "label.memorytotal": "Memory Allocated", -"label.memorytotalgb": "Total", +"label.memorytotalgb": "Memory Total", "label.memoryused": "Used Memory", -"label.memoryusedgb": "Used", +"label.memoryusedgb": "Memory Used", "label.memused": "Memory Usage", "label.menu.all.accounts": "All Accounts", "label.menu.all.instances": "All Instances",