Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-07-20 12:50:25 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2022-07-20 13:34:47 +0300
commitda6a177bbc58c1098f97456359f1c6df39216183 (patch)
tree052d1830a61c38e99a8880952f05e7336a78237e
parent093677dce0ecf24e40eb6674724d8fa9e75e108e (diff)
Use more general message when asking the user to authenticatework/auth_message
Fixes: #9896
-rw-r--r--src/gui/askforoauthlogindialog.cpp2
-rw-r--r--src/gui/askforoauthlogindialog.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/askforoauthlogindialog.cpp b/src/gui/askforoauthlogindialog.cpp
index ebc05aaed..bc1293e2d 100644
--- a/src/gui/askforoauthlogindialog.cpp
+++ b/src/gui/askforoauthlogindialog.cpp
@@ -28,7 +28,7 @@ AskForOAuthLoginDialog::AskForOAuthLoginDialog(AccountPtr accountPtr, QWidget *p
{
_ui->setupUi(this);
- _ui->label->setText(tr("The account %1 has been logged out by the server.\n\nPlease use your browser to log in to %2.").arg(accountPtr->displayName(), Theme::instance()->appNameGUI()));
+ _ui->label->setText(tr("The account %1 is currently logged out.\n\nProceed to authenticate using your browser.").arg(accountPtr->displayName()));
_ui->iconLabel->setPixmap(Theme::instance()->applicationIcon().pixmap(64, 64));
setModal(true);
diff --git a/src/gui/askforoauthlogindialog.ui b/src/gui/askforoauthlogindialog.ui
index 9d83c0970..839fe5b8a 100644
--- a/src/gui/askforoauthlogindialog.ui
+++ b/src/gui/askforoauthlogindialog.ui
@@ -47,7 +47,7 @@
<string notr="true">The account has been logged out [...] &lt;placeholder&gt;</string>
</property>
<property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ <set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>