diff --git a/pkg/harvester/dialog/ConfirmRelatedToRemoveDialog.vue b/pkg/harvester/dialog/ConfirmRelatedToRemoveDialog.vue
index cc4ead48..36bd0c3e 100644
--- a/pkg/harvester/dialog/ConfirmRelatedToRemoveDialog.vue
+++ b/pkg/harvester/dialog/ConfirmRelatedToRemoveDialog.vue
@@ -128,7 +128,7 @@ export default {
},
protip() {
- return this.t('promptRemove.protip', { alternateLabel });
+ return this.t('dialog.promptRemove.protip', { alternateLabel });
},
},
@@ -164,7 +164,7 @@ export default {
>
- {{ t('promptRemove.title') }}
+ {{ t(title, { type }, true) }}
diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml
index 65a08bb6..9c77b124 100644
--- a/pkg/harvester/l10n/en-us.yaml
+++ b/pkg/harvester/l10n/en-us.yaml
@@ -52,6 +52,11 @@ dialog:
message: "Are you sure you want to continue stop the {type} {names}?"
pause:
message: "Are you sure you want to continue pause the {type} {names}?"
+ promptRemove:
+ title: "Delete {type}"
+ warningMessage: "Deleting the selected {type} permanently removes all resources on {thisOrThese} {type}. This action is irreversible. Do you want to continue?"
+ confirmName: "Type {nameToMatch} to delete the {type}:"
+ protip: "Tip: Hold the {alternateLabel} key while clicking Delete to bypass the confirmation step."
harvester:
branding:
@@ -785,7 +790,7 @@ harvester:
instanceLabels:
banner: These labels are automatically synchronized to the virtual machine instance.
labels:
- banner: These key values are added as labels to the virtual machine.
+ banner: These key values are added as labels to the virtual machine.
volume:
label: Volumes
diff --git a/pkg/harvester/models/harvester/namespace.js b/pkg/harvester/models/harvester/namespace.js
index 57198ef7..e15bedbe 100644
--- a/pkg/harvester/models/harvester/namespace.js
+++ b/pkg/harvester/models/harvester/namespace.js
@@ -67,8 +67,7 @@ export default class HciNamespace extends namespace {
promptRemove(resources = this) {
this.$dispatch('promptModal', {
resources,
- warningMessageKey: 'promptRemove.confirmRelatedResource',
- component: 'ConfirmRelatedToRemoveDialog'
+ component: 'ConfirmRelatedToRemoveDialog'
});
}
diff --git a/pkg/harvester/models/harvester/node.js b/pkg/harvester/models/harvester/node.js
index 3370816c..709771a2 100644
--- a/pkg/harvester/models/harvester/node.js
+++ b/pkg/harvester/models/harvester/node.js
@@ -115,8 +115,7 @@ export default class HciNode extends HarvesterResource {
promptRemove(resources = this) {
this.$dispatch('promptModal', {
resources,
- warningMessageKey: 'promptRemove.confirmRelatedResource',
- component: 'ConfirmRelatedToRemoveDialog'
+ component: 'ConfirmRelatedToRemoveDialog'
});
}