mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Change wording
This commit is contained in:
parent
1aab8f1fe9
commit
5f2b3fd63a
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user