From 1be23bdf4aa385768c538168486b75d28900f7e3 Mon Sep 17 00:00:00 2001 From: thomasv Date: Mon, 7 Oct 2013 15:35:28 +0200 Subject: [PATCH] count seed words --- gui/qt/seed_dialog.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py index c6e029c..52aa831 100644 --- a/gui/qt/seed_dialog.py +++ b/gui/qt/seed_dialog.py @@ -57,7 +57,8 @@ class PrivateKeysDialog(QDialog): def make_seed_dialog(seed, imported_keys): - brainwallet = ' '.join(mnemonic.mn_encode(seed)) + words = mnemonic.mn_encode(seed) + brainwallet = ' '.join(words) label1 = QLabel(_("Your wallet generation seed is")+ ":") @@ -65,7 +66,7 @@ def make_seed_dialog(seed, imported_keys): seed_text.setReadOnly(True) seed_text.setMaximumHeight(130) - msg2 = _("Please write down or memorize these 12 words (order is important).") + " " \ + msg2 = _("Please write down or memorize these %d words (order is important).")%len(words) + " " \ + _("This seed will allow you to recover your wallet in case of computer failure.") + " " \ + _("Your seed is also displayed as QR code, in case you want to transfer it to a mobile phone.") + "

" \ + ""+_("WARNING")+": " + _("Never disclose your seed. Never type it on a website.") + "

" -- 1.7.1