improve error message

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-03-13 16:59:57 +05:00 committed by GitHub
parent 314a7fc67d
commit 31eb4c67ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,7 @@ LaunchDecision LaunchController::decideLaunchMode()
QString reauthReason;
switch (state) {
case AccountState::Errored:
reauthReason = tr("Could not refresh '%1' due to an error").arg(accountToCheck->profileName());
reauthReason = tr("An error occurred while refreshing '%1'").arg(accountToCheck->profileName());
break;
case AccountState::Expired:
reauthReason = tr("'%1' has expired and needs to be reauthenticated").arg(accountToCheck->profileName());