[Partition] Fixed message for Replace destination partition

use shortVersionedName as first argument.
choicepage.cpp has 1 instances where %1 is not defined.
This commit is contained in:
Masato TOYOSHIMA 2024-12-15 18:26:15 +09:00
parent 714a085556
commit 6964a4f5d9
No known key found for this signature in database
GPG Key ID: 57B49CC5AA4F00FC

View File

@ -1790,7 +1790,8 @@ ChoicePage::updateActionDescriptionsTr()
"currently present on the selected storage device." ) ); "currently present on the selected storage device." ) );
m_replaceButton->setText( tr( "<strong>Replace a partition</strong><br/>" m_replaceButton->setText( tr( "<strong>Replace a partition</strong><br/>"
"Replaces a partition with %1." ) ); "Replaces a partition with %1." )
.arg( Calamares::Branding::instance()->shortVersionedName() ) );
} }
if ( m_osproberEntriesCount < 0 ) if ( m_osproberEntriesCount < 0 )
{ {