Skip to content

Commit

Permalink
[web] Minor adjustments from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Feb 22, 2024
1 parent eb8814a commit 75bd8aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/src/components/storage/ProposalActionsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
>
Expand Down
5 changes: 3 additions & 2 deletions web/src/components/storage/ProposalDeviceSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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 <abbr title='Logical Volume Manager'>LVM</abbr> Volume Group for installation")
__html: _("Select the main disk or <abbr title='Logical Volume Manager'>LVM</abbr> \
Volume Group for installation.")
}}
/>
);
Expand Down
3 changes: 2 additions & 1 deletion web/src/components/storage/ProposalSpacePolicySection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.")}
>
<If
condition={isLoading && settings.spacePolicy === undefined}
Expand Down

0 comments on commit 75bd8aa

Please sign in to comment.