fix: remove translation key

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit 8b43c200b2d41e22839ab7acfeb9fe92c983b9c5)
This commit is contained in:
andy.lee 2025-01-09 16:13:51 +08:00 committed by Mergify
parent 47760a8426
commit 8d79b69748
2 changed files with 6 additions and 15 deletions

View File

@ -742,6 +742,9 @@ harvester:
terminationGracePeriodSeconds: terminationGracePeriodSeconds:
label: Termination Grace Period label: Termination Grace Period
affinity: affinity:
addLabel: Add Workload Selector
topologyKey:
placeholder: 'topology.kubernetes.io/zone'
thisPodNamespace: This virtual machine's namespace thisPodNamespace: This virtual machine's namespace
matchExpressions: matchExpressions:
inNamespaces: "Workloads in these namespaces" inNamespaces: "Workloads in these namespaces"
@ -1494,18 +1497,6 @@ harvester:
pollingInterval: pollingInterval:
label: Polling Interval label: Polling Interval
affinity:
thisPodNamespace: This virtual machine's namespace
matchExpressions:
inNamespaces: "Workloads in these namespaces"
vmAffinityTitle: Virtual Machine Scheduling
namespaces:
placeholder: e.g. default,system,base
label: Namespaces
addLabel: Add Workload Selector
topologyKey:
placeholder: 'topology.kubernetes.io/zone'
advancedSettings: advancedSettings:
experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases' experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases'
descriptions: descriptions:

View File

@ -282,14 +282,14 @@ export default {
affinityLabels() { affinityLabels() {
return { return {
namespaceInputLabel: this.t('harvester.affinity.namespaces.label'), namespaceInputLabel: this.t('harvester.virtualMachine.affinity.namespaces.label'),
namespaceSelectionLabels: [ namespaceSelectionLabels: [
this.t('harvester.virtualMachine.affinity.thisPodNamespace'), this.t('harvester.virtualMachine.affinity.thisPodNamespace'),
this.t('workload.scheduling.affinity.allNamespaces'), this.t('workload.scheduling.affinity.allNamespaces'),
this.t('harvester.virtualMachine.affinity.matchExpressions.inNamespaces') this.t('harvester.virtualMachine.affinity.matchExpressions.inNamespaces')
], ],
addLabel: this.t('harvester.affinity.addLabel'), addLabel: this.t('harvester.virtualMachine.affinity.addLabel'),
topologyKeyPlaceholder: this.t('harvester.affinity.topologyKey.placeholder') topologyKeyPlaceholder: this.t('harvester.virtualMachine.affinity.topologyKey.placeholder')
}; };
}, },
}, },