From c41820c000ffcaaf8fbb55cad254354d0aad9ba6 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 21 Dec 2015 11:26:12 +0100 Subject: [PATCH] Improved string for Replace. --- src/modules/partition/gui/ChoicePage.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 23ae9fab2..1e0ac690c 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -685,7 +685,9 @@ ChoicePage::setupActions() m_replaceButton->setText( tr( "Replace a partition
" - "You will be offered a choice of which partition to erase." ) ); + "Replaces a partition with %1." ) + .arg( Calamares::Branding::instance()-> + string( Calamares::Branding::ShortVersionedName ) ) ); ) } else @@ -708,7 +710,9 @@ ChoicePage::setupActions() .arg( currentDevice->deviceNode() ) ); m_replaceButton->setText( tr( "Replace a partition
" - "You will be offered a choice of which partition to erase." ) ); + "Replaces a partition with %1." ) + .arg( Calamares::Branding::instance()-> + string( Calamares::Branding::ShortVersionedName ) ) ); ) } if ( !osproberEntriesForCurrentDevice.first().canBeResized ) @@ -747,7 +751,9 @@ ChoicePage::setupActions() .arg( currentDevice->deviceNode() ) ); m_replaceButton->setText( tr( "Replace a partition
" - "You will be offered a choice of which partition to erase." ) ); + "Replaces a partition with %1." ) + .arg( Calamares::Branding::instance()-> + string( Calamares::Branding::ShortVersionedName ) ) ); ) if ( !atLeastOneCanBeResized )