mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
Improve user-related strings in webflow credentials
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
a8abfb6c39
commit
25ca698ad5
1 changed files with 2 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue