Improve messages in Replace page.

Fixes CAL-155
This commit is contained in:
Teo Mrnjavac 2014-12-19 14:10:40 +01:00
parent c21f426dee
commit aa70a4b2dd

View File

@ -110,7 +110,7 @@ ReplacePage::onPartitionSelected()
{ {
updateStatus( CalamaresUtils::Partitions, updateStatus( CalamaresUtils::Partitions,
tr( "Select where to install %1.<br/>" tr( "Select where to install %1.<br/>"
"<font color=\"red\">Warning: </font>This will delete all files " "<font color=\"red\">Warning: </font>this will delete all files "
"on the selected partition." ) "on the selected partition." )
.arg( Calamares::Branding::instance()-> .arg( Calamares::Branding::instance()->
string( Calamares::Branding::VersionedName ) ) ); string( Calamares::Branding::VersionedName ) ) );
@ -184,7 +184,9 @@ ReplacePage::onPartitionSelected()
} }
updateStatus( CalamaresUtils::Partitions, updateStatus( CalamaresUtils::Partitions,
tr( "%1 will be installed on %2." ) tr( "%1 will be installed on %2.<br/>"
"<font color=\"red\">Warning: </font>all data on partition"
"%2 will be lost.")
.arg( Calamares::Branding::instance()-> .arg( Calamares::Branding::instance()->
string( Calamares::Branding::VersionedName ) ) string( Calamares::Branding::VersionedName ) )
.arg( partition->partitionPath() ) ); .arg( partition->partitionPath() ) );