Skip to content

Commit

Permalink
Merge pull request #4637 from nextcloud/bugfix/rephrase-login-dialog
Browse files Browse the repository at this point in the history
Rephrase login dialog button text to be in line with clients on other platforms
  • Loading branch information
claucambra authored Jun 15, 2022
2 parents 49b2c5a + 8267136 commit defdb00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/gui/wizard/welcomepage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ void WelcomePage::setupSlideShow()

void WelcomePage::setupLoginButton()
{
const auto appName = Theme::instance()->appNameGUI();

_ui->loginButton->setText(tr("Log in to your %1").arg(appName));
connect(_ui->loginButton, &QPushButton::clicked, this, [this](bool /*checked*/) {
_nextPage = WizardCommon::Page_ServerSetup;
_ocWizard->next();
Expand Down
4 changes: 2 additions & 2 deletions src/gui/wizard/welcomepage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<item>
<widget class="QPushButton" name="loginButton">
<property name="text">
<string>Log in to your %1</string>
<string>Log in</string>
</property>
<property name="autoDefault">
<bool>true</bool>
Expand All @@ -153,7 +153,7 @@
<item>
<widget class="QPushButton" name="createAccountButton">
<property name="text">
<string>Create account with Provider</string>
<string>Sign up with provider</string>
</property>
<property name="autoDefault">
<bool>true</bool>
Expand Down

0 comments on commit defdb00

Please sign in to comment.