[finished] Fix up string arguments

- The "set up" message only uses one argument.
main
Adriaan de Groot 6 years ago
parent 81bd173b7e
commit 5677a4bb28

@ -54,8 +54,7 @@ FinishedPage::FinishedPage( QWidget* parent )
ui->mainText->setText( tr( "<h1>All done.</h1><br/>" ui->mainText->setText( tr( "<h1>All done.</h1><br/>"
"%1 has been set up on your computer.<br/>" "%1 has been set up on your computer.<br/>"
"You may now start using your new system." ) "You may now start using your new system." )
.arg( *Calamares::Branding::VersionedName ) .arg( *Calamares::Branding::VersionedName ) );
.arg( *Calamares::Branding::ProductName ) );
ui->restartCheckBox->setToolTip( tr ( "<html><head/><body>" ui->restartCheckBox->setToolTip( tr ( "<html><head/><body>"
"<p>When this box is checked, your system will " "<p>When this box is checked, your system will "
"restart immediately when you click on " "restart immediately when you click on "
@ -68,8 +67,7 @@ FinishedPage::FinishedPage( QWidget* parent )
"%1 has been installed on your computer.<br/>" "%1 has been installed on your computer.<br/>"
"You may now restart into your new system, or continue " "You may now restart into your new system, or continue "
"using the %2 Live environment." ) "using the %2 Live environment." )
.arg( *Calamares::Branding::VersionedName ) .arg( *Calamares::Branding::VersionedName, *Calamares::Branding::ProductName ) );
.arg( *Calamares::Branding::ProductName ) );
ui->restartCheckBox->setToolTip( tr ( "<html><head/><body>" ui->restartCheckBox->setToolTip( tr ( "<html><head/><body>"
"<p>When this box is checked, your system will " "<p>When this box is checked, your system will "
"restart immediately when you click on " "restart immediately when you click on "

Loading…
Cancel
Save