tfix wizard line_dialog - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 63a5e8f99b835e96925a3d268ef44ebe6309917b DIR parent b2e9362163c580bde40a01a69dd7eb5234e11b27 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 26 Sep 2016 15:39:30 +0200 fix wizard line_dialog Diffstat: M gui/qt/installwizard.py | 2 +- M lib/base_wizard.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -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() DIR diff --git a/lib/base_wizard.py b/lib/base_wizard.py t@@ -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.'), t@@ -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)