|
|
|
@ -76,13 +76,18 @@ WelcomePage::WelcomePage( QWidget* parent )
|
|
|
|
|
CALAMARES_RETRANSLATE(
|
|
|
|
|
QString message;
|
|
|
|
|
|
|
|
|
|
if ( Calamares::Settings::instance()->isSetupMode() ) message
|
|
|
|
|
= Calamares::Branding::instance()->welcomeStyleCalamares()
|
|
|
|
|
? tr( "<h1>Welcome to the Calamares setup program for %1.</h1>" )
|
|
|
|
|
: tr( "<h1>Welcome to %1 setup.</h1>" );
|
|
|
|
|
else message = Calamares::Branding::instance()->welcomeStyleCalamares()
|
|
|
|
|
? tr( "<h1>Welcome to the Calamares installer for %1.</h1>" )
|
|
|
|
|
: tr( "<h1>Welcome to the %1 installer.</h1>" );
|
|
|
|
|
if ( Calamares::Settings::instance()->isSetupMode() )
|
|
|
|
|
{
|
|
|
|
|
message = Calamares::Branding::instance()->welcomeStyleCalamares()
|
|
|
|
|
? tr( "<h1>Welcome to the Calamares setup program for %1.</h1>" )
|
|
|
|
|
: tr( "<h1>Welcome to %1 setup.</h1>" );
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
message = Calamares::Branding::instance()->welcomeStyleCalamares()
|
|
|
|
|
? tr( "<h1>Welcome to the Calamares installer for %1.</h1>" )
|
|
|
|
|
: tr( "<h1>Welcome to the %1 installer.</h1>" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ui->mainText->setText( message.arg( *Calamares::Branding::VersionedName ) );
|
|
|
|
|
ui->retranslateUi( this );
|
|
|
|
|