mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-15 14:11:46 +00:00
Updating the translations used by gauges to reference locally defined keys
One of the keys was referencing a non-existant key "allocated" from the dashboard translations. Most likely defined in the fork.
This commit is contained in:
parent
81711ee900
commit
6bb4b8105b
@ -88,7 +88,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<template #title="{amountTemplateValues, formattedPercentage}">
|
<template #title="{amountTemplateValues, formattedPercentage}">
|
||||||
<span>
|
<span>
|
||||||
{{ t('clusterIndexPage.hardwareResourceGauge.reserved') }}
|
{{ t('harvester.formatters.hardwareResourceGauge.reserved') }}
|
||||||
</span>
|
</span>
|
||||||
<span class="precent-data">
|
<span class="precent-data">
|
||||||
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
||||||
@ -108,7 +108,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<template #title="{amountTemplateValues, formattedPercentage}">
|
<template #title="{amountTemplateValues, formattedPercentage}">
|
||||||
<span>
|
<span>
|
||||||
{{ t('clusterIndexPage.hardwareResourceGauge.used') }}
|
{{ t('harvester.formatters.hardwareResourceGauge.used') }}
|
||||||
</span>
|
</span>
|
||||||
<span class="precent-data">
|
<span class="precent-data">
|
||||||
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
||||||
|
|||||||
@ -105,7 +105,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<template #title="{amountTemplateValues, formattedPercentage}">
|
<template #title="{amountTemplateValues, formattedPercentage}">
|
||||||
<span>
|
<span>
|
||||||
{{ t('clusterIndexPage.hardwareResourceGauge.reserved') }}
|
{{ t('harvester.formatters.hardwareResourceGauge.reserved') }}
|
||||||
</span>
|
</span>
|
||||||
<span class="precent-data">
|
<span class="precent-data">
|
||||||
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
||||||
@ -126,7 +126,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<template #title="{amountTemplateValues, formattedPercentage}">
|
<template #title="{amountTemplateValues, formattedPercentage}">
|
||||||
<span>
|
<span>
|
||||||
{{ t('clusterIndexPage.hardwareResourceGauge.used') }}
|
{{ t('harvester.formatters.hardwareResourceGauge.used') }}
|
||||||
</span>
|
</span>
|
||||||
<span class="precent-data">
|
<span class="precent-data">
|
||||||
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
{{ t('node.detail.glance.consumptionGauge.amount', amountTemplateValues) }}
|
||||||
|
|||||||
@ -147,7 +147,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<template #title="{formattedPercentage}">
|
<template #title="{formattedPercentage}">
|
||||||
<span>
|
<span>
|
||||||
{{ t('clusterIndexPage.hardwareResourceGauge.allocated') }}
|
{{ t('harvester.formatters.hardwareResourceGauge.allocated') }}
|
||||||
</span>
|
</span>
|
||||||
<span class="precent-data">
|
<span class="precent-data">
|
||||||
{{ t('node.detail.glance.consumptionGauge.amount', allocatedAmountTemplateValues) }}
|
{{ t('node.detail.glance.consumptionGauge.amount', allocatedAmountTemplateValues) }}
|
||||||
|
|||||||
@ -192,6 +192,20 @@ harvester:
|
|||||||
powerOn: Power On
|
powerOn: Power On
|
||||||
reboot: Reboot
|
reboot: Reboot
|
||||||
forceStop: Force Stop
|
forceStop: Force Stop
|
||||||
|
formatters:
|
||||||
|
hardwareResourceGauge:
|
||||||
|
allocated: Allocated
|
||||||
|
consumption: "{useful} of {total} {units} {suffix}"
|
||||||
|
cores: CPU
|
||||||
|
pods: Pods
|
||||||
|
ram: Memory
|
||||||
|
used: Used
|
||||||
|
reserved: Reserved
|
||||||
|
units:
|
||||||
|
cores: |-
|
||||||
|
{count, plural,
|
||||||
|
=1 {core}
|
||||||
|
other {cores}}
|
||||||
tableHeaders:
|
tableHeaders:
|
||||||
size: Size
|
size: Size
|
||||||
virtualSize: Virtual Size
|
virtualSize: Virtual Size
|
||||||
|
|||||||
@ -660,7 +660,7 @@ export default {
|
|||||||
:name="t('harvester.dashboard.hardwareResourceGauge.storage')"
|
:name="t('harvester.dashboard.hardwareResourceGauge.storage')"
|
||||||
:used="storageUsed"
|
:used="storageUsed"
|
||||||
:reserved="storageAllocated"
|
:reserved="storageAllocated"
|
||||||
:reserved-title="t('clusterIndexPage.hardwareResourceGauge.allocated')"
|
:reserved-title="t('harvester.formatters.hardwareResourceGauge.allocated')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user