Skip to content

Commit

Permalink
Clearer default error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Jan 21, 2019
1 parent b59fd6d commit eec82c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/BrowserAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,11 @@ QString BrowserAction::getErrorMessage(const int errorCode) const
case ERROR_KEEPASS_CANNOT_DECRYPT_MESSAGE:
return QObject::tr("Cannot decrypt message");
case ERROR_KEEPASS_TIMEOUT_OR_NOT_CONNECTED:
return QObject::tr("Timeout or cannot connect to KeePassXC");
return QObject::tr("Cannot connect to KeePassXC. Check that browser integration is enabled in KeePassXC settings.");
case ERROR_KEEPASS_ACTION_CANCELLED_OR_DENIED:
return QObject::tr("Action cancelled or denied");
case ERROR_KEEPASS_CANNOT_ENCRYPT_MESSAGE:
return QObject::tr("Cannot encrypt message or public key not found. Is Native Messaging enabled in KeePassXC?");
return QObject::tr("Message encryption failed. Is KeePassXC running?");
case ERROR_KEEPASS_ASSOCIATION_FAILED:
return QObject::tr("KeePassXC association failed, try again");
case ERROR_KEEPASS_KEY_CHANGE_FAILED:
Expand Down

0 comments on commit eec82c3

Please sign in to comment.