electrum

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

commit 63a5e8f99b835e96925a3d268ef44ebe6309917b
parent b2e9362163c580bde40a01a69dd7eb5234e11b27
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 26 Sep 2016 15:39:30 +0200

fix wizard line_dialog

Diffstat:
Mgui/qt/installwizard.py | 2+-
Mlib/base_wizard.py | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -378,7 +378,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): return clayout.selected_index() @wizard_dialog - def line_dialog(self, run_next, title, message, warning, default, test): + def line_dialog(self, run_next, title, message, default, test, warning=''): vbox = QVBoxLayout() vbox.addWidget(WWLabel(message)) line = QLineEdit() diff --git a/lib/base_wizard.py b/lib/base_wizard.py @@ -341,7 +341,7 @@ class BaseWizard(object): title = _('Passphrase') message = '\n'.join([ _('You may extend your seed with a passphrase.'), - _('This allows you to derive several wallets from the same seed.'), + _('The passphrase must be saved together with your seed.'), ]) warning = '\n'.join([ _('Note that this is NOT your encryption password.'), @@ -359,7 +359,7 @@ class BaseWizard(object): if passphrase: title = _('Confirm Passphrase') message = '\n'.join([ - _('Your passphrase must be saved with your seed.'), + _('Your passphrase must be saved together with your seed.'), _('Please type it here.'), ]) self.line_dialog(run_next=f, title=title, message=message, default='', test=lambda x: x==passphrase)