[welcome] Start improving the tooltips for missing requirements
This commit is contained in:
parent
b129cb0786
commit
217e4ab4f7
@ -145,6 +145,7 @@ GeneralRequirements::checkRequirements()
|
|||||||
<< TR( "hasInternet", hasInternet )
|
<< TR( "hasInternet", hasInternet )
|
||||||
<< TR( "isRoot", isRoot );
|
<< TR( "isRoot", isRoot );
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
Calamares::RequirementsList checkEntries;
|
Calamares::RequirementsList checkEntries;
|
||||||
foreach ( const QString& entry, m_entriesToCheck )
|
foreach ( const QString& entry, m_entriesToCheck )
|
||||||
{
|
{
|
||||||
@ -154,7 +155,11 @@ GeneralRequirements::checkRequirements()
|
|||||||
checkEntries.append(
|
checkEntries.append(
|
||||||
{ entry,
|
{ entry,
|
||||||
[ req = m_requiredStorageGiB ]
|
[ req = m_requiredStorageGiB ]
|
||||||
{ return tr( "has at least %1 GiB available drive space" ).arg( req ); },
|
{
|
||||||
|
return tr( "Please ensure the system has at least %1 GiB available drive space." ).arg( req )
|
||||||
|
+ QStringLiteral( "<br/><br/>" )
|
||||||
|
+ tr( "Available drive space is all of the hard disks and SSDs connected to the system." );
|
||||||
|
},
|
||||||
[ req = m_requiredStorageGiB ]
|
[ req = m_requiredStorageGiB ]
|
||||||
{ return tr( "There is not enough drive space. At least %1 GiB is required." ).arg( req ); },
|
{ return tr( "There is not enough drive space. At least %1 GiB is required." ).arg( req ); },
|
||||||
enoughStorage,
|
enoughStorage,
|
||||||
|
Loading…
Reference in New Issue
Block a user