Skip to content

Commit

Permalink
use harvester allocated translation key
Browse files Browse the repository at this point in the history
(cherry picked from commit ff89417)
  • Loading branch information
a110605 committed Sep 20, 2024
1 parent a6be928 commit f8a0b98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/harvester/formatters/HarvesterStorageUsed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default {
>
<template #title="{formattedPercentage}">
<span>
{{ t('clusterIndexPage.hardwareResourceGauge.allocated') }}
{{ t('harvester.dashboard.hardwareResourceGauge.allocated') }}
</span>
<span class="precent-data">
{{ t('node.detail.glance.consumptionGauge.amount', allocatedAmountTemplateValues) }}
Expand Down
1 change: 1 addition & 0 deletions pkg/harvester/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ harvester:
cpu: CPU
memory: Memory
storage: Storage
allocated: Allocated
sections:
events:
label: Events
Expand Down
2 changes: 1 addition & 1 deletion pkg/harvester/list/harvesterhci.io.dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export default {
:name="t('harvester.dashboard.hardwareResourceGauge.storage')"
:used="storageUsed"
:reserved="storageAllocated"
:reserved-title="t('clusterIndexPage.hardwareResourceGauge.allocated')"
:reserved-title="t('harvester.dashboard.hardwareResourceGauge.allocated')"
/>
</div>
</template>
Expand Down

0 comments on commit f8a0b98

Please sign in to comment.