Commit 354deac0 authored by intrigeri's avatar intrigeri
Browse files

Merge remote-tracking branch...

Merge remote-tracking branch 'origin/bugfix/17668-fix-unlock-veracrypt-volume-error-dialog' into stable (Closes: #17668)
parents 7a30bc0b fbad2bcd
......@@ -224,7 +224,8 @@ class Volume(object):
logger.exception(e)
if "No key available with this passphrase" in e.message or \
"No device header detected with this passphrase" in e.message:
"No device header detected with this passphrase" in e.message or \
"Failed to load device's parameters" in e.message:
title = _("Wrong passphrase or parameters")
else:
title = _("Error unlocking volume")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment