electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1be23bdf4aa385768c538168486b75d28900f7e3
parent dfadb97f6a51e6ad42e3db0ba3016e28d1a577ba
Author: thomasv <thomasv@gitorious>
Date:   Mon,  7 Oct 2013 15:35:28 +0200

count seed words

Diffstat:
Mgui/qt/seed_dialog.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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.") + "<p>" \ + "<b>"+_("WARNING")+":</b> " + _("Never disclose your seed. Never type it on a website.") + "</b><p>"