[partition] Give requirement entry a description

- The description is used in the Details dialog when the
   requirements fail. This one should be visible.
This commit is contained in:
Adriaan de Groot 2019-02-25 05:12:03 -05:00
parent 2092ec3c9a
commit 40de1bd2eb

View File

@ -679,8 +679,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
l.append(
{
QLatin1Literal( "partitions" ),
[]{ return QString(); },
[this]{ return tr( "There are no partitons to install on." ); },
[]{ return tr( "has at least one disk device available." ); },
[]{ return tr( "There are no partitons to install on." ); },
m_core->deviceModel()->rowCount() > 0, // satisfied
true // required
} );