mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
use ShortProductName as second argument
choicepage.cpp has 2 instances where %2 is not defined
This commit is contained in:
parent
235d0058c9
commit
5a07c240a9
1 changed files with 6 additions and 2 deletions
|
@ -181,7 +181,9 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|||
"You can choose which operating system you want each time the "
|
||||
"computer starts up." )
|
||||
.arg( Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||
string( Calamares::Branding::ShortVersionedName ) )
|
||||
.arg( Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::ShortProductName ) ) );
|
||||
|
||||
if ( core->deviceModel()->rowCount() < 2 )
|
||||
eraseButton->setText( tr( "<strong>Erase disk and install %1</strong><br/>"
|
||||
|
@ -228,7 +230,9 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|||
"You can choose which operating system you want each time the "
|
||||
"computer starts up." )
|
||||
.arg( Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::ShortVersionedName ) ) );
|
||||
string( Calamares::Branding::ShortVersionedName ) )
|
||||
.arg( Calamares::Branding::instance()->
|
||||
string( Calamares::Branding::ShortProductName ) ) );
|
||||
|
||||
if ( core->deviceModel()->rowCount() < 2 )
|
||||
eraseButton->setText( tr( "<strong>Erase disk and install %1</strong><br/>"
|
||||
|
|
Loading…
Add table
Reference in a new issue