diff --git a/src/modules/welcome/WelcomePage.cpp b/src/modules/welcome/WelcomePage.cpp
index 9c520a7fa..05c955a2d 100644
--- a/src/modules/welcome/WelcomePage.cpp
+++ b/src/modules/welcome/WelcomePage.cpp
@@ -76,13 +76,18 @@ WelcomePage::WelcomePage( QWidget* parent )
CALAMARES_RETRANSLATE(
QString message;
- if ( Calamares::Settings::instance()->isSetupMode() ) message
- = Calamares::Branding::instance()->welcomeStyleCalamares()
- ? tr( "
Welcome to the Calamares setup program for %1.
" )
- : tr( "Welcome to %1 setup.
" );
- else message = Calamares::Branding::instance()->welcomeStyleCalamares()
- ? tr( "Welcome to the Calamares installer for %1.
" )
- : tr( "Welcome to the %1 installer.
" );
+ if ( Calamares::Settings::instance()->isSetupMode() )
+ {
+ message = Calamares::Branding::instance()->welcomeStyleCalamares()
+ ? tr( "Welcome to the Calamares setup program for %1.
" )
+ : tr( "Welcome to %1 setup.
" );
+ }
+ else
+ {
+ message = Calamares::Branding::instance()->welcomeStyleCalamares()
+ ? tr( "Welcome to the Calamares installer for %1.
" )
+ : tr( "Welcome to the %1 installer.
" );
+ }
ui->mainText->setText( message.arg( *Calamares::Branding::VersionedName ) );
ui->retranslateUi( this );