From 75bd8aa3bf2b43ad2b4fbc4b2c547f1c10a49c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Thu, 22 Feb 2024 15:56:14 +0000 Subject: [PATCH] [web] Minor adjustments from code review --- web/src/components/storage/ProposalActionsSection.jsx | 2 +- web/src/components/storage/ProposalDeviceSection.jsx | 5 +++-- web/src/components/storage/ProposalSpacePolicySection.jsx | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/components/storage/ProposalActionsSection.jsx b/web/src/components/storage/ProposalActionsSection.jsx index 6310ad9fc1..8d35563afd 100644 --- a/web/src/components/storage/ProposalActionsSection.jsx +++ b/web/src/components/storage/ProposalActionsSection.jsx @@ -123,7 +123,7 @@ export default function ProposalActionsSection({ actions = [], errors = [], isLo // "delete partition A", "create partition B with filesystem C", ... title={_("Planned Actions")} // TRANSLATORS: The storage "Planned Actions" section's description - description={_("Actions to create the file systems and to ensure the new system boots")} + description={_("Actions to create the file systems and to ensure the new system boots.")} id="storage-actions" errors={errors} > diff --git a/web/src/components/storage/ProposalDeviceSection.jsx b/web/src/components/storage/ProposalDeviceSection.jsx index 1a066f4070..df37eaf304 100644 --- a/web/src/components/storage/ProposalDeviceSection.jsx +++ b/web/src/components/storage/ProposalDeviceSection.jsx @@ -47,7 +47,7 @@ import { noop } from "~/utils"; * * @param {object} props * @param {string} props.id - Form ID. - * @param {StorageDevice|undefined} [props.current] - Currently selected device, if any. + * @param {StorageDevice} [props.current] - Currently selected device, if any. * @param {StorageDevice[]} [props.devices=[]] - Available devices for the selection. * @param {onSubmitFn} [props.onSubmit=noop] - On submit callback. * @@ -411,7 +411,8 @@ export default function ProposalDeviceSection({ dangerouslySetInnerHTML={{ // TRANSLATORS: The storage "Device" sections's description. Do not // translate 'abbr' and 'title', they are part of the HTML markup. - __html: _("Select the main disk or LVM Volume Group for installation") + __html: _("Select the main disk or LVM \ +Volume Group for installation.") }} /> ); diff --git a/web/src/components/storage/ProposalSpacePolicySection.jsx b/web/src/components/storage/ProposalSpacePolicySection.jsx index e5735412df..c08135c0e5 100644 --- a/web/src/components/storage/ProposalSpacePolicySection.jsx +++ b/web/src/components/storage/ProposalSpacePolicySection.jsx @@ -451,7 +451,8 @@ export default function ProposalSpacePolicySection({ // TRANSLATORS: The storage "Find Space" section's title title={_("Find Space")} // TRANSLATORS: The storage "Find space" sections's description - description={_("Allocating the file systems might need to find free space in the devices listed below. Choose how to do it")} + description={_("Allocating the file systems might need to find free space \ +in the devices listed below. Choose how to do it.")} >