Skip to content

Commit

Permalink
Rephrase migration phase label for failed VMs under uncompleted Plan
Browse files Browse the repository at this point in the history
Reference: #1277

When the plan status is not set yet as failed but at least one VM under
that plan was failed to migrated already, change the phase status from
"vm fail" to "Some VMs Failed" to be more clear.

Signed-off-by: Sharon Gratch <[email protected]>
  • Loading branch information
sgratch committed Sep 5, 2024
1 parent 7e85021 commit f9dea41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@
"Skip certificate validation": "Skip certificate validation",
"Skip VMware Virtual Disk Development Kit (VDDK) SDK acceleration, migration may be slow.": "Skip VMware Virtual Disk Development Kit (VDDK) SDK acceleration, migration may be slow.",
"Snapshot polling interval (seconds)": "Snapshot polling interval (seconds)",
"Some VMs Failed": "Some VMs Failed",
"Something is wrong, the data was not loaded due to an error, please try to reload the page.": "Something is wrong, the data was not loaded due to an error, please try to reload the page.",
"Something is wrong, the secret was not loaded, please try to reload the page.": "Something is wrong, the secret was not loaded, please try to reload the page.",
"source": "source",
Expand Down Expand Up @@ -527,7 +528,6 @@
"Virtual machines": "Virtual machines",
"Virtual Machines": "Virtual Machines",
"Virtual machines:": "Virtual machines:",
"VM Failed": "VM Failed",
"VM(s) with more than one interface mapped to Pod Networking were detected.": "VM(s) with more than one interface mapped to Pod Networking were detected.",
"VM(s) with multiple NICs on the same network were detected.": "VM(s) with multiple NICs on the same network were detected.",
"VM(s) with NICs that are not linked with a NIC profile were detected.": "VM(s) with NICs that are not linked with a NIC profile were detected.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const phaseLabels: Record<PlanPhase, string> = {
Error: 'Error',
// t('Warning')
Warning: 'Warning',
// t('VM Failed')
vmError: 'VM Failed',
// t('Some VMs Failed')
vmError: 'Some VMs Failed',
// t('Unknown')
Unknown: 'Unknown',
};

0 comments on commit f9dea41

Please sign in to comment.