DriveSetup: clarify partition state

DriveSetup does not make it clear when there is empty space or when a
partition is not formatted. Reword things a bit to make this easier to
understand.

This was a common source of confusion in various video reviews of Haiku,
with people trying to install Haiku to a partition that had not been
formatted.

Part of #16304
This commit is contained in:
Adrien Destugues 2021-01-10 15:02:47 +01:00
parent c38dea9e37
commit d9848639c6
2 changed files with 4 additions and 4 deletions

View File

@ -421,7 +421,7 @@ public:
partition_id id
= fSpaceIDMap.SpaceIDFor(partition->ID(), offset);
PartitionView* view = new PartitionView(
B_TRANSLATE("<empty or unknown>"), scale, offset,
B_TRANSLATE("Empty space"), scale, offset,
parentView->Level() + 1, id, partition);
fViewMap.Put(id, view);

View File

@ -305,8 +305,8 @@ PartitionListRow::PartitionListRow(BPartition* partition)
SetField(new BStringField(kUnavailableString), kVolumeNameColumn);
} else {
if (!partitionType.IsEmpty()) {
partitionType.Prepend("(");
partitionType.Append(")");
partitionType.SetToFormat(B_TRANSLATE("Not formatted (%s)"),
partitionType.String());
SetField(new BStringField(partitionType), kFilesystemColumn);
} else
SetField(new BStringField(kUnavailableString), kFilesystemColumn);
@ -378,7 +378,7 @@ PartitionListRow::PartitionListRow(partition_id parentID, partition_id id,
// TODO: design icon for spaces on partitions
SetField(new BBitmapStringField(NULL, "-"), kDeviceColumn);
SetField(new BStringField(B_TRANSLATE("<empty or unknown>")),
SetField(new BStringField(B_TRANSLATE("Empty space")),
kFilesystemColumn);
SetField(new BStringField(kUnavailableString), kVolumeNameColumn);