mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
use the word 'extension' instead of 'passphrase'
This commit is contained in:
parent
49df834974
commit
d12661a385
3 changed files with 9 additions and 9 deletions
|
@ -256,7 +256,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||||
vbox.addStretch(1)
|
vbox.addStretch(1)
|
||||||
vbox.addWidget(QLabel(_('Options') + ':'))
|
vbox.addWidget(QLabel(_('Options') + ':'))
|
||||||
if self.opt_ext:
|
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)
|
vbox.addWidget(cb_pass)
|
||||||
if self.opt_bip39:
|
if self.opt_bip39:
|
||||||
def f(b):
|
def f(b):
|
||||||
|
@ -325,7 +325,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||||
vbox.addLayout(slayout.layout())
|
vbox.addLayout(slayout.layout())
|
||||||
vbox.addStretch(1)
|
vbox.addStretch(1)
|
||||||
vbox.addWidget(QLabel(_('Option') + ':'))
|
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)
|
vbox.addWidget(cb_pass)
|
||||||
self.set_main_layout(vbox)
|
self.set_main_layout(vbox)
|
||||||
return cb_pass.isChecked()
|
return cb_pass.isChecked()
|
||||||
|
|
|
@ -152,7 +152,7 @@ class ShowSeedLayout(SeedLayoutBase):
|
||||||
passphrase_e = QLineEdit()
|
passphrase_e = QLineEdit()
|
||||||
passphrase_e.setText(passphrase)
|
passphrase_e.setText(passphrase)
|
||||||
passphrase_e.setReadOnly(True)
|
passphrase_e.setReadOnly(True)
|
||||||
hbox.addWidget(QLabel('Your seed passphrase is'))
|
hbox.addWidget(QLabel('Your seed extension is') + ':')
|
||||||
hbox.addWidget(passphrase_e)
|
hbox.addWidget(passphrase_e)
|
||||||
vbox.addLayout(hbox)
|
vbox.addLayout(hbox)
|
||||||
msg = seed_warning_msg(seed)
|
msg = seed_warning_msg(seed)
|
||||||
|
|
|
@ -249,16 +249,16 @@ class BaseWizard(object):
|
||||||
self.on_keystore(k)
|
self.on_keystore(k)
|
||||||
|
|
||||||
def passphrase_dialog(self, run_next):
|
def passphrase_dialog(self, run_next):
|
||||||
title = _('Passphrase')
|
title = _('Seed extension')
|
||||||
message = '\n'.join([
|
message = '\n'.join([
|
||||||
_('You may extend your seed with a passphrase.'),
|
_('You may extend your seed with custom words.'),
|
||||||
_('The passphrase must be saved together with your seed.'),
|
_('Your seed extension must be saved together with your seed.'),
|
||||||
])
|
])
|
||||||
warning = '\n'.join([
|
warning = '\n'.join([
|
||||||
_('Note that this is NOT your encryption password.'),
|
_('Note that this is NOT your encryption password.'),
|
||||||
_('If you do not know what this is, leave this field empty.'),
|
_('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):
|
def restore_from_seed(self):
|
||||||
self.opt_bip39 = True
|
self.opt_bip39 = True
|
||||||
|
@ -374,9 +374,9 @@ class BaseWizard(object):
|
||||||
def confirm_passphrase(self, seed, passphrase):
|
def confirm_passphrase(self, seed, passphrase):
|
||||||
f = lambda x: self.run('create_keystore', seed, x)
|
f = lambda x: self.run('create_keystore', seed, x)
|
||||||
if passphrase:
|
if passphrase:
|
||||||
title = _('Confirm Passphrase')
|
title = _('Confirm Seed Extension')
|
||||||
message = '\n'.join([
|
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.'),
|
_('Please type it here.'),
|
||||||
])
|
])
|
||||||
self.line_dialog(run_next=f, title=title, message=message, default='', test=lambda x: x==passphrase)
|
self.line_dialog(run_next=f, title=title, message=message, default='', test=lambda x: x==passphrase)
|
||||||
|
|
Loading…
Add table
Reference in a new issue