diff --git a/src/modules/users/UsersPage.cpp b/src/modules/users/UsersPage.cpp index 00e15b69d..834287bcd 100644 --- a/src/modules/users/UsersPage.cpp +++ b/src/modules/users/UsersPage.cpp @@ -2,6 +2,7 @@ * * Copyright 2014-2017, Teo Mrnjavac * Copyright 2017-2018, Adriaan de Groot + * Copyright 2019, Collabora Ltd * * Portions from the Manjaro Installation Framework * by Roland Singer @@ -31,6 +32,7 @@ #include "utils/Logger.h" #include "utils/CalamaresUtilsGui.h" #include "utils/Retranslator.h" +#include "Settings.h" #include #include @@ -106,7 +108,21 @@ UsersPage::UsersPage( QWidget* parent ) ui->hostname_extra_label_2->setMaximumWidth( 3 * boxWidth ); ui->password_extra_label_3->setMaximumWidth( 3 * boxWidth ); - CALAMARES_RETRANSLATE( ui->retranslateUi( this ); ) + CALAMARES_RETRANSLATE( + ui->retranslateUi( this ); + if ( Calamares::Settings::instance()->isSetupMode() ) + { + ui->username_extra_label_2->setText( tr( "If more than one person will " + "use this computer, you can create multiple " + "accounts after setup." ) ); + } + else + { + ui->username_extra_label_2->setText( tr( "If more than one person will " + "use this computer, you can create multiple " + "accounts after installation." ) ); + } + ) } diff --git a/src/modules/users/page_usersetup.ui b/src/modules/users/page_usersetup.ui index 650c568fa..ccd0e37fa 100644 --- a/src/modules/users/page_usersetup.ui +++ b/src/modules/users/page_usersetup.ui @@ -197,7 +197,7 @@ font-weight: normal - <small>If more than one person will use this computer, you can set up multiple accounts after installation.</small> + <Username extra label 2 text> true