Skip to content

Commit

Permalink
[MTV-1435] It is now posible to set "static IP" for none windows VMs …
Browse files Browse the repository at this point in the history
…- rephrase labels

Reference: https://issues.redhat.com/browse/MTV-1435

Since it's now possible to to set "static IP" for none windows VMs, rephrase
the plan's settings section field accordingly (vSphere Plans -> details ->
Settings -> "reserve static IPs" field).

Signed-off-by: Sharon Gratch <sgratch@redhat.com>
  • Loading branch information
sgratch committed Sep 12, 2024
1 parent 28eea5e commit 7b24cda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"Disk counter": "Disk counter",
"Disk decryption passphrases": "Disk decryption passphrases",
"Disk transfer": "Disk transfer",
"Do not try to preserve the static IPs of VMs with Windows guest operating system from vSphere.": "Do not try to preserve the static IPs of VMs with Windows guest operating system from vSphere.",
"Do not try to preserve the static IPs of virtual machines migrated from vSphere.": "Do not try to preserve the static IPs of virtual machines migrated from vSphere.",
"Domain": "Domain",
"Domain name": "Domain name",
"Drag and drop a file or upload one": "Drag and drop a file or upload one",
Expand Down Expand Up @@ -366,7 +366,7 @@
"Preserve CPU model": "Preserve CPU model",
"Preserve static IPs": "Preserve static IPs",
"Preserve the CPU model and flags the VM runs with in its oVirt cluster.": "Preserve the CPU model and flags the VM runs with in its oVirt cluster.",
"Preserve the static IPs of VMs with Windows guest operating system from vSphere.": "Preserve the static IPs of VMs with Windows guest operating system from vSphere.",
"Preserve the static IPs of virtual machines migrated from vSphere.": "Preserve the static IPs of virtual machines migrated from vSphere.",
"Product": "Product",
"Progress": "Progress",
"Project": "Project",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const PreserveStaticIPsDetailsItem: React.FC<PlanDetailsItemProps> = ({
const { showModal } = useModal();

const defaultHelpContent = t(
`Preserve the static IPs of VMs with Windows guest operating system from vSphere.`,
`Preserve the static IPs of virtual machines migrated from vSphere.`,
);

const trueLabel = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ const PreserveStaticIPsInputFactory: () => ModalInputComponentType = () => {
return (
<Switch
id="simple-switch"
label={t(
'Preserve the static IPs of VMs with Windows guest operating system from vSphere.',
)}
label={t('Preserve the static IPs of virtual machines migrated from vSphere.')}
labelOff={t(
'Do not try to preserve the static IPs of VMs with Windows guest operating system from vSphere.',
'Do not try to preserve the static IPs of virtual machines migrated from vSphere.',
)}
isChecked={value === 'true'}
onChange={onChangeInternal}
Expand All @@ -76,7 +74,7 @@ const EditPlanPreserveStaticIPs_: React.FC<EditPlanPreserveStaticIPsProps> = (pr
label={props?.label || t('Whether to preserve the static IPs')}
model={PlanModel}
onConfirmHook={onConfirm}
body={t(`Preserve the static IPs of VMs with Windows guest operating system from vSphere.`)}
body={t(`Preserve the static IPs of virtual machines migrated from vSphere.`)}
InputComponent={PreserveStaticIPsInputFactory()}
/>
);
Expand Down

0 comments on commit 7b24cda

Please sign in to comment.