diff --git a/packages/forklift-console-plugin/locales/en/plugin__forklift-console-plugin.json b/packages/forklift-console-plugin/locales/en/plugin__forklift-console-plugin.json index 63333ac1b..6ce5cda59 100644 --- a/packages/forklift-console-plugin/locales/en/plugin__forklift-console-plugin.json +++ b/packages/forklift-console-plugin/locales/en/plugin__forklift-console-plugin.json @@ -1,15 +1,19 @@ { "{{Canceled}} canceled": "{{Canceled}} canceled", + "{{canceled}} VMs canceled": "{{canceled}} VMs canceled", "{{completed}} / {{total}}": "{{completed}} / {{total}}", "{{dateLabel}} Failed: {{value}}": "{{dateLabel}} Failed: {{value}}", "{{dateLabel}} Running: {{value}}": "{{dateLabel}} Running: {{value}}", "{{dateLabel}} Succeeded: {{value}}": "{{dateLabel}} Succeeded: {{value}}", + "{{error}} VMs failed": "{{error}} VMs failed", "{{label}} field is missing from the secret data.": "{{label}} field is missing from the secret data.", "{{name}} Details": "{{name}} Details", "{{selectedLength}} hosts selected.": "{{selectedLength}} hosts selected.", "{{success}} of {{total}} VMs migrated": "{{success}} of {{total}} VMs migrated", + "{{success}} VMs succeeded": "{{success}} VMs succeeded", "{{total}} VM": "{{total}} VM", "{{total}} VM_plural": "{{total}} VMs", + "{{total}} VMs": "{{total}} VMs", "{{vmCount}} VMs selected ": "{{vmCount}} VMs selected ", "{children}": "{children}", "24 hours": "24 hours", @@ -451,6 +455,7 @@ "Start migration": "Start migration", "Started at": "Started at", "Status": "Status", + "Status details": "Status details", "Storage": "Storage", "Storage classes": "Storage classes", "Storage domains": "Storage domains", @@ -505,6 +510,7 @@ "Token": "Token", "Total CPU count:": "Total CPU count:", "Total memory:": "Total memory:", + "Total of {{total}} VMs are planned for migration:": "Total of {{total}} VMs are planned for migration:", "Total virtual machines": "Total virtual machines", "Total: {{length}}": "Total: {{length}}", "Transfer Network": "Transfer Network", diff --git a/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx b/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx index 3d22954f5..541d95c15 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx @@ -21,6 +21,7 @@ import { isPlanArchived, isPlanExecuting, PlanData, + PlanPhase, } from '../utils'; export const PlanActionsDropdownItems = ({ data }: PlanActionsDropdownItemsProps) => { @@ -93,7 +94,9 @@ export const PlanActionsDropdownItems = ({ data }: PlanActionsDropdownItemsProps {t('Archive Plan')} diff --git a/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx b/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx index e99fbf42c..805573071 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx @@ -8,7 +8,7 @@ import { PlanModel, V1beta1Plan } from '@kubev2v/types'; import { K8sModel, k8sPatch } from '@openshift-console/dynamic-plugin-sdk'; import { Alert, Button, Modal, ModalVariant } from '@patternfly/react-core'; -import { getPlanPhase } from '../utils'; +import { getPlanPhase, PlanPhase } from '../utils'; /** * Props for the DeleteModal component @@ -70,7 +70,7 @@ export const ArchiveModal: React.FC = ({ title, resource, red const actions = [ + + } + size={ProgressSize.sm} + measureLocation={ProgressMeasureLocation.top} + variant={progressVariant} + /> + + ); +};