diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 2a5250866..ccbedeb3a 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -626,10 +626,8 @@ ChoicePage::setupActions( Device *currentDevice ) .arg( currentDevice->deviceNode() ) ); - m_replaceButton->setText( tr( "Replace a partition with %1
" - "You will be offered a choice of which partition to erase." ) - .arg( Calamares::Branding::instance()-> - string( Calamares::Branding::ShortVersionedName ) ) ); + m_replaceButton->setText( tr( "Replace a partition
" + "You will be offered a choice of which partition to erase." ) ); ) } else @@ -657,10 +655,8 @@ ChoicePage::setupActions( Device *currentDevice ) string( Calamares::Branding::ShortVersionedName ) ) .arg( currentDevice->deviceNode() ) ); - m_replaceButton->setText( tr( "Replace a partition with %1
" - "You will be offered a choice of which partition to erase." ) - .arg( Calamares::Branding::instance()-> - string( Calamares::Branding::ShortVersionedName ) ) ); + m_replaceButton->setText( tr( "Replace a partition
" + "You will be offered a choice of which partition to erase." ) ); ) } if ( !osproberEntriesForCurrentDevice.first().canBeResized ) @@ -704,10 +700,8 @@ ChoicePage::setupActions( Device *currentDevice ) string( Calamares::Branding::ShortVersionedName ) ) .arg( currentDevice->deviceNode() ) ); - m_replaceButton->setText( tr( "Replace a partition with %1
" - "You will be offered a choice of which partition to erase." ) - .arg( Calamares::Branding::instance()-> - string( Calamares::Branding::ShortVersionedName ) ) ); + m_replaceButton->setText( tr( "Replace a partition
" + "You will be offered a choice of which partition to erase." ) ); ) if ( !atLeastOneCanBeResized )