diff --git a/web/package/agama-web-ui.changes b/web/package/agama-web-ui.changes index b379fe7778..5180e3718f 100644 --- a/web/package/agama-web-ui.changes +++ b/web/package/agama-web-ui.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 24 08:50:54 UTC 2025 - Ancor Gonzalez Sosa + +- Some visual changes at the form to add and edit partitions + (gh#agama-project/agama#2054). + ------------------------------------------------------------------- Fri Feb 21 13:56:52 UTC 2025 - José Iván López González diff --git a/web/src/components/storage/PartitionPage.tsx b/web/src/components/storage/PartitionPage.tsx index 242d714eba..dbaa688a63 100644 --- a/web/src/components/storage/PartitionPage.tsx +++ b/web/src/components/storage/PartitionPage.tsx @@ -479,7 +479,8 @@ function TargetOptionLabel({ value }: TargetOptionLabelProps): React.ReactNode { const device = useDevice(); if (value === NEW_PARTITION) { - return sprintf(_("As a new partition on %s"), device.name); + // TRANSLATORS: %1$s is a disk name (eg. "/dev/sda") and %2$s is its size (eg. "250 GiB") + return sprintf(_("As a new partition on %1$s (%2$s)"), device.name, deviceSize(device.size)); } else { return sprintf(_("Using partition %s"), value); } @@ -1034,15 +1035,17 @@ function CustomSize({ value, onChange }: CustomSizeProps) { return ( - - {_("Sizes must be entered as a numbers optionally followed by a unit.")} - - - {_( - "If the unit is omitted, bytes (B) will be used. Greater units can be of \ - the form GiB (power of 2) or GB (power of 10).", - )} - + + + {_("Sizes must be entered as a numbers optionally followed by a unit.")} + + + {_( + "If the unit is omitted, bytes (B) will be used. Greater units can be of \ + the form GiB (power of 2) or GB (power of 10).", + )} + +