From bfd46276ad489dd65f552354fb5b35143d76319b Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Wed, 8 May 2019 12:29:01 +0200 Subject: [PATCH] [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 --- src/libcalamaresui/ExecutionViewStep.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcalamaresui/ExecutionViewStep.cpp b/src/libcalamaresui/ExecutionViewStep.cpp index 2010bf120..a65ab3a1c 100644 --- a/src/libcalamaresui/ExecutionViewStep.cpp +++ b/src/libcalamaresui/ExecutionViewStep.cpp @@ -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" ); }