Change wording

This commit is contained in:
Christian Hohnstaedt 2015-05-19 13:21:28 +02:00
parent 1aab8f1fe9
commit 5f2b3fd63a

View File

@ -589,8 +589,8 @@ void MainWindow::changeDbPass()
db mydb(dbfile);
if (!mydb.find(setting, "pwhash")) {
char *cpass;
pass_info p(tr("Old Password"),
tr("Please enter the old database password"), this);
pass_info p(tr("Current Password"),
tr("Please enter the current database password"), this);
if ((cpass = (char *)mydb.load(NULL))) {
passHash = cpass;
@ -604,7 +604,7 @@ void MainWindow::changeDbPass()
}
if (pki_evp::sha512passwd(pass, passHash) != passHash) {
XCA_WARN(tr("Password verification error"));
XCA_WARN(tr("The entered password is wrong"));
return;
}
}