Skip to content

Commit

Permalink
Merge pull request #1326 from sgratch/rename-property-for-setting-sta…
Browse files Browse the repository at this point in the history
…tic-ip-for-none-windows

🐾 [MTV-1435] It is now possible to set "static IP" for none windows VMs - rephrase labels
  • Loading branch information
yaacov committed Sep 16, 2024
2 parents fdfdd0f + 7b24cda commit eb6af0d
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 eb6af0d

Please sign in to comment.