diff --git a/web/src/components/storage/DeviceSelectionDialog.jsx b/web/src/components/storage/DeviceSelectionDialog.jsx index 1095b63963..09aa98fcd1 100644 --- a/web/src/components/storage/DeviceSelectionDialog.jsx +++ b/web/src/components/storage/DeviceSelectionDialog.jsx @@ -42,10 +42,6 @@ const SELECT_DISK_PANEL_ID = "panel-for-disk-selection"; const CREATE_LVM_PANEL_ID = "panel-for-lvm-creation"; const OPTIONS_NAME = "selection-mode"; -const Html = ({ children, ...props }) => ( -
-); - /** * Renders a dialog that allows the user to select a target device for installation. * @component @@ -101,6 +97,19 @@ export default function DeviceSelectionDialog({ const isDeviceSelectable = (device) => device.isDrive || device.type === "md"; + // TRANSLATORS: description for using plain partitions for installing the + // system, the text in the square brackets [] is displayed in bold, use only + // one pair in the translation + const [msgStart1, msgBold1, msgEnd1] = _("The file systems will be allocated \ +by default as [new partitions in the selected device].").split(/[[\]]/); + // TRANSLATORS: description for using logical volumes for installing the + // system, the text in the square brackets [] is displayed in bold, use only + // one pair in the translation + const [msgStart2, msgBold2, msgEnd2] = _("The file systems will be allocated \ +by default as [logical volumes of a new LVM Volume Group]. The corresponding \ +physical volumes will be created on demand as new partitions at the selected \ +devices.").split(/[[\]]/); + return ( - - { - // TRANSLATORS: beware the HTML markup ( and ) - _("The file systems will be allocated by default as new partitions in the selected device.") - } - + {msgStart1} + {msgBold1} + {msgEnd1} - - { - // TRANSLATORS: beware the HTML markup ( and ) - _("The file systems will be allocated by default as logical volumes of a new LVM Volume \ -Group. The corresponding physical volumes will be created on demand as new partitions at the selected devices.") - } - + {msgStart2} + {msgBold2} + {msgEnd2}