electrum

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

commit d12661a385defc50b6c8f8a870d6366b302fe3dc
parent 49df834974ee725d0c452e46769ca9ebb8632932
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 10 Oct 2016 17:11:46 +0200

use the word 'extension' instead of 'passphrase'

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

diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -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() diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py @@ -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) diff --git a/lib/base_wizard.py b/lib/base_wizard.py @@ -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)