Clarify the warning displayed when encrypting HD wallet (#2002)
* Clarify the warning displayed when encrypting HD wallet * `dashs` -> `funds`
This commit is contained in:
parent
c7e9ea9fba
commit
b7bd96e2bb
@ -129,17 +129,31 @@ void AskPassphraseDialog::accept()
|
||||
{
|
||||
if(model->setWalletEncrypted(true, newpass1))
|
||||
{
|
||||
QMessageBox::warning(this, tr("Wallet encrypted"),
|
||||
if (model->hdEnabled()) {
|
||||
QMessageBox::warning(this, tr("Wallet encrypted"),
|
||||
"<qt>" +
|
||||
tr("%1 will close now to finish the encryption process. "
|
||||
"Remember that encrypting your wallet cannot fully protect "
|
||||
"your dashs from being stolen by malware infecting your computer.").arg(tr(PACKAGE_NAME)) +
|
||||
"your funds from being stolen by malware infecting your computer.").arg(tr(PACKAGE_NAME)) +
|
||||
"<br><br><b>" +
|
||||
tr("IMPORTANT: Any previous backups you have made of your wallet file "
|
||||
"should be replaced with the newly generated, encrypted wallet file. "
|
||||
"Previous backups of the unencrypted wallet file contain the same HD seed and"
|
||||
"still have full access to all your funds just like the new, encrypted wallet.") +
|
||||
"</b></qt>");
|
||||
} else {
|
||||
QMessageBox::warning(this, tr("Wallet encrypted"),
|
||||
"<qt>" +
|
||||
tr("%1 will close now to finish the encryption process. "
|
||||
"Remember that encrypting your wallet cannot fully protect "
|
||||
"your funds from being stolen by malware infecting your computer.").arg(tr(PACKAGE_NAME)) +
|
||||
"<br><br><b>" +
|
||||
tr("IMPORTANT: Any previous backups you have made of your wallet file "
|
||||
"should be replaced with the newly generated, encrypted wallet file. "
|
||||
"For security reasons, previous backups of the unencrypted wallet file "
|
||||
"will become useless as soon as you start using the new, encrypted wallet.") +
|
||||
"</b></qt>");
|
||||
}
|
||||
QApplication::quit();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user