aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRune K. Svendsen <runesvend@gmail.com>2012-09-30 11:37:45 +0200
committerRune K. Svendsen <runesvend@gmail.com>2012-09-30 15:57:53 +0200
commit1bf66fcc0aaf0bd12bbb1d1026d52b6388033d38 (patch)
tree0f66a2e086f86cea8aef846899a02893d913e4ce /src
parent5f2e4b0565cbc622c7600f84407ab1f7e7df3ed5 (diff)
downloadbitcoin-1bf66fcc0aaf0bd12bbb1d1026d52b6388033d38.tar.xz
When encrypting the wallet, warn user that old backups will become useless.
Don't include HTML in translation strings. Do split the huge message over several lines. Prettier lines
Diffstat (limited to 'src')
-rw-r--r--src/qt/askpassphrasedialog.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qt/askpassphrasedialog.cpp b/src/qt/askpassphrasedialog.cpp
index 0a8ace09df..91b2cf500e 100644
--- a/src/qt/askpassphrasedialog.cpp
+++ b/src/qt/askpassphrasedialog.cpp
@@ -108,7 +108,16 @@ void AskPassphraseDialog::accept()
if(model->setWalletEncrypted(true, newpass1))
{
QMessageBox::warning(this, tr("Wallet encrypted"),
- tr("Bitcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer."));
+ "<qt>" +
+ tr("Bitcoin will close now to finish the encryption process. "
+ "Remember that encrypting your wallet cannot fully protect "
+ "your bitcoins from being stolen by malware infecting your computer.") +
+ "<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