[partition] Fix message (use MiB instead of bytes)
Reported by cfinnberg. FIXES: #1796
This commit is contained in:
parent
6b460ce440
commit
a72fc06502
@ -558,9 +558,10 @@ PartitionViewStep::onLeave()
|
||||
if ( !okSize )
|
||||
{
|
||||
cDebug() << o << "ESP too small";
|
||||
const auto atLeastBytes = PartUtils::efiFilesystemMinimumSize();
|
||||
const auto atLeastMiB = CalamaresUtils::Units::BytesToMiB( atLeastBytes );
|
||||
description.append( ' ' );
|
||||
description.append( tr( "The filesystem must be at least %1 MiB in size." )
|
||||
.arg( PartUtils::efiFilesystemMinimumSize() ) );
|
||||
description.append( tr( "The filesystem must be at least %1 MiB in size." ).arg( atLeastMiB ) );
|
||||
}
|
||||
if ( !okFlag )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user