diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp
index ddddf4512..fc11a6046 100644
--- a/src/modules/partition/gui/ChoicePage.cpp
+++ b/src/modules/partition/gui/ChoicePage.cpp
@@ -139,6 +139,10 @@ ChoicePage::retranslate()
m_drivesLabel->setText( tr( "Select storage de&vice:" ) );
m_previewBeforeLabel->setText( tr( "Current:" ) );
m_previewAfterLabel->setText( tr( "After:" ) );
+
+ m_somethingElseButton->setText( tr( "Manual partitioning
"
+ "You can create or resize partitions yourself." ) );
+ updateSwapChoicesTr( m_eraseSwapChoiceComboBox );
}
@@ -329,14 +333,12 @@ ChoicePage::setupChoices()
connect( this, &ChoicePage::actionChosen, this, &ChoicePage::onActionChanged );
if ( m_eraseSwapChoiceComboBox )
+ {
connect( m_eraseSwapChoiceComboBox,
QOverload< int >::of( &QComboBox::currentIndexChanged ),
this,
&ChoicePage::onEraseSwapChoiceChanged );
-
- CALAMARES_RETRANSLATE( m_somethingElseButton->setText( tr( "Manual partitioning
"
- "You can create or resize partitions yourself." ) );
- updateSwapChoicesTr( m_eraseSwapChoiceComboBox ); );
+ }
}