|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
|
|
|
|
*
|
|
|
|
|
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
|
|
|
|
* Copyright 2015, Anke Boersma <demm@kaosx.us>
|
|
|
|
|
*
|
|
|
|
|
* Calamares is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
@ -120,20 +121,38 @@ GreetingPage::GreetingPage( QWidget* parent )
|
|
|
|
|
ui->mainText->setWordWrap( true );
|
|
|
|
|
ui->mainText->setOpenExternalLinks( true );
|
|
|
|
|
|
|
|
|
|
CALAMARES_RETRANSLATE(
|
|
|
|
|
ui->mainText->setText( tr( "<h1>Welcome to the %1 installer.</h1><br/>"
|
|
|
|
|
"This program will ask you some questions and "
|
|
|
|
|
"set up %2 on your computer."
|
|
|
|
|
"<a href=\"%3\"> %4 </a>" )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::VersionedName ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductName ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductURL ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::UrlText ) ) );
|
|
|
|
|
)
|
|
|
|
|
if ( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductUrl ).isEmpty() ||
|
|
|
|
|
Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductUrlText ).isEmpty() )
|
|
|
|
|
{
|
|
|
|
|
CALAMARES_RETRANSLATE(
|
|
|
|
|
ui->mainText->setText( tr( "<h1>Welcome to the %1 installer.</h1><br/>"
|
|
|
|
|
"This program will ask you some questions and "
|
|
|
|
|
"set up %2 on your computer." )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::VersionedName ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductName ) ) );
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
CALAMARES_RETRANSLATE(
|
|
|
|
|
ui->mainText->setText( tr( "<h1>Welcome to the %1 installer.</h1><br/>"
|
|
|
|
|
"This program will ask you some questions and "
|
|
|
|
|
"set up %2 on your computer.<br/>"
|
|
|
|
|
"<a href=\"%3\"> %4 </a>" )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::VersionedName ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductName ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductUrl ) )
|
|
|
|
|
.arg( Calamares::Branding::instance()->
|
|
|
|
|
string( Calamares::Branding::ProductUrlText ) ) );
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ui->aboutButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::Information,
|
|
|
|
|
CalamaresUtils::Original,
|
|
|
|
|