use the word 'extension' instead of 'passphrase'
This commit is contained in:
parent
49df834974
commit
d12661a385
|
@ -256,7 +256,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||
vbox.addStretch(1)
|
||||
vbox.addWidget(QLabel(_('Options') + ':'))
|
||||
if self.opt_ext:
|
||||
cb_pass = QCheckBox(_('Add a passphrase to this seed'))
|
||||
cb_pass = QCheckBox(_('Add an extension to this seed'))
|
||||
vbox.addWidget(cb_pass)
|
||||
if self.opt_bip39:
|
||||
def f(b):
|
||||
|
@ -325,7 +325,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||
vbox.addLayout(slayout.layout())
|
||||
vbox.addStretch(1)
|
||||
vbox.addWidget(QLabel(_('Option') + ':'))
|
||||
cb_pass = QCheckBox(_('Add a passphrase to this seed'))
|
||||
cb_pass = QCheckBox(_('Add an extension to this seed'))
|
||||
vbox.addWidget(cb_pass)
|
||||
self.set_main_layout(vbox)
|
||||
return cb_pass.isChecked()
|
||||
|
|
|
@ -152,7 +152,7 @@ class ShowSeedLayout(SeedLayoutBase):
|
|||
passphrase_e = QLineEdit()
|
||||
passphrase_e.setText(passphrase)
|
||||
passphrase_e.setReadOnly(True)
|
||||
hbox.addWidget(QLabel('Your seed passphrase is'))
|
||||
hbox.addWidget(QLabel('Your seed extension is') + ':')
|
||||
hbox.addWidget(passphrase_e)
|
||||
vbox.addLayout(hbox)
|
||||
msg = seed_warning_msg(seed)
|
||||
|
|
|
@ -249,16 +249,16 @@ class BaseWizard(object):
|
|||
self.on_keystore(k)
|
||||
|
||||
def passphrase_dialog(self, run_next):
|
||||
title = _('Passphrase')
|
||||
title = _('Seed extension')
|
||||
message = '\n'.join([
|
||||
_('You may extend your seed with a passphrase.'),
|
||||
_('The passphrase must be saved together with your seed.'),
|
||||
_('You may extend your seed with custom words.'),
|
||||
_('Your seed extension must be saved together with your seed.'),
|
||||
])
|
||||
warning = '\n'.join([
|
||||
_('Note that this is NOT your encryption password.'),
|
||||
_('If you do not know what this is, leave this field empty.'),
|
||||
])
|
||||
self.line_dialog(title=_('Passphrase'), message=message, warning=warning, default='', test=lambda x:True, run_next=run_next)
|
||||
self.line_dialog(title=title, message=message, warning=warning, default='', test=lambda x:True, run_next=run_next)
|
||||
|
||||
def restore_from_seed(self):
|
||||
self.opt_bip39 = True
|
||||
|
@ -374,9 +374,9 @@ class BaseWizard(object):
|
|||
def confirm_passphrase(self, seed, passphrase):
|
||||
f = lambda x: self.run('create_keystore', seed, x)
|
||||
if passphrase:
|
||||
title = _('Confirm Passphrase')
|
||||
title = _('Confirm Seed Extension')
|
||||
message = '\n'.join([
|
||||
_('Your passphrase must be saved together with your seed.'),
|
||||
_('Your seed extension 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)
|
||||
|
|
Loading…
Reference in New Issue