diff --git a/src/modules/license/LicensePage.cpp b/src/modules/license/LicensePage.cpp
index 45205dcd4..915b396a7 100644
--- a/src/modules/license/LicensePage.cpp
+++ b/src/modules/license/LicensePage.cpp
@@ -144,7 +144,7 @@ LicensePage::setEntries( const QList< LicenseEntry >& entriesList )
m_allLicensesOptional &= !entry.isRequired();
}
- ui->acceptCheckBox->setChecked(false);
+ ui->acceptCheckBox->setChecked( false );
checkAcceptance( false );
}
@@ -152,20 +152,27 @@ void
LicensePage::retranslate()
{
ui->acceptCheckBox->setText( tr( "I accept the terms and conditions above." ) );
+
+ QString header = tr( "
License Agreement
" );
+ QString review = tr( "Please review the End User License Agreements (EULAs)." );
+ const auto br = QStringLiteral( "
" );
+
if ( !m_allLicensesOptional )
{
- ui->mainText->setText( tr( "License Agreement
"
- "This setup procedure will install proprietary "
- "software that is subject to licensing terms." ) );
+ ui->mainText->setText( header
+ + tr( "This setup procedure will install proprietary "
+ "software that is subject to licensing terms." )
+ + br + review );
ui->additionalText->setText( tr( "If you do not agree with the terms, the setup procedure cannot continue." ) );
}
else
{
- ui->mainText->setText( tr( "License Agreement
"
- "This setup procedure can install proprietary "
- "software that is subject to licensing terms "
- "in order to provide additional features and enhance the user "
- "experience." ) );
+ ui->mainText->setText( header
+ + tr( "This setup procedure can install proprietary "
+ "software that is subject to licensing terms "
+ "in order to provide additional features and enhance the user "
+ "experience." )
+ + br + review );
ui->additionalText->setText( tr( "If you do not agree with the terms, proprietary software will not "
"be installed, and open source alternatives will be used instead." ) );
}
diff --git a/src/modules/license/LicensePage.ui b/src/modules/license/LicensePage.ui
index c5857a716..13c4d94b1 100644
--- a/src/modules/license/LicensePage.ui
+++ b/src/modules/license/LicensePage.ui
@@ -32,16 +32,6 @@
- -
-
-
-
-
-
- Please review the End User License Agreements (EULAs).
-
-
-
-