From 63a5e8f99b835e96925a3d268ef44ebe6309917b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 26 Sep 2016 15:39:30 +0200 Subject: [PATCH] fix wizard line_dialog --- gui/qt/installwizard.py | 2 +- lib/base_wizard.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 68fae61e..26c55f30 100644 --- 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 index a014f19f..f3a638ca 100644 --- 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)