Fixing hosts listview labels

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
davidjumani 2020-10-16 13:19:52 +05:30 committed by Rohit Yadav
parent f5d6e43133
commit 66cc46bab1
2 changed files with 13 additions and 13 deletions

View File

@ -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')"
/>
</span>
<span v-if="resource.cpuallocated">
@ -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')"
/>
</span>
</div>
@ -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')"
/>
</span>
</div>
@ -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')"
/>
</span>
<span v-if="resource.memoryallocatedgb">
@ -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')"
/>
</span>
</div>
@ -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')" />
</span>
<span
v-if="resource.memoryallocated">
@ -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')" />
</span>
</div>
</div>

View File

@ -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",