[libcalamaresui] Fix sidebar label for setup mode
In the sidebar, the "Install" step should be named "Set Up" when in setup mode, which will be more consistent with the other UI texts, including button labels. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
parent
b840bce22d
commit
bfd46276ad
@ -78,7 +78,9 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent )
|
||||
QString
|
||||
ExecutionViewStep::prettyName() const
|
||||
{
|
||||
return tr( "Install" );
|
||||
return Calamares::Settings::instance()->isSetupMode()
|
||||
? tr( "Set up" )
|
||||
: tr( "Install" );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user