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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@nextcloud.com>2022-10-06 17:38:49 +0300
committerClaudio Cambra <claudio.cambra@nextcloud.com>2022-10-19 14:31:34 +0300
commit25ca698ad57e5e0665efac4505c854c1b4ddb074 (patch)
tree9b46a1cb58c60fde7b1c6d8f8a5f26814e7dafb2 /src
parenta8abfb6c398b543907a26dd7974f9cb9ab3af798 (diff)
Improve user-related strings in webflow credentials
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/creds/webflowcredentials.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/creds/webflowcredentials.cpp b/src/gui/creds/webflowcredentials.cpp
index 278d81b94..b2e28dafd 100644
--- a/src/gui/creds/webflowcredentials.cpp
+++ b/src/gui/creds/webflowcredentials.cpp
@@ -164,7 +164,7 @@ void WebFlowCredentials::askFromUser() {
}
QString msg = tr("You have been logged out of your account %1 at %2. Please login again.")
- .arg(_user, _account->displayName());
+ .arg(_account->davUser(), _account->url().toDisplayString());
_askDialog->setInfo(msg);
_askDialog->show();
@@ -188,7 +188,7 @@ void WebFlowCredentials::slotAskFromUserCredentialsProvided(const QString &user,
qCInfo(lcWebFlowCredentials()) << "Authed with the wrong user!";
QString msg = tr("Please login with the account: %1")
- .arg(_user);
+ .arg(_account->davUser());
_askDialog->setError(msg);
if (!_askDialog->isUsingFlow2()) {