Browse Source

qt: consistency HWW wizard page translations

master
Sander van Grieken 2 years ago
parent
commit
2882c4be46
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 6
      electrum/plugins/keepkey/qt.py
  2. 6
      electrum/plugins/safe_t/qt.py
  3. 6
      electrum/plugins/trezor/qt.py

6
electrum/plugins/keepkey/qt.py

@ -604,7 +604,7 @@ class SettingsDialog(WindowModalDialog):
class WCKeepkeyInitMethod(WizardComponent):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('HW Setup'))
WizardComponent.__init__(self, parent, wizard, title=_('KeepKey Setup'))
def on_ready(self):
_name, _info = self.wizard_data['hardware_device']
@ -635,7 +635,7 @@ class WCKeepkeyInitMethod(WizardComponent):
class WCKeepkeyInitParams(WizardComponent):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up keepkey'))
WizardComponent.__init__(self, parent, wizard, title=_('KeepKey Setup'))
self.plugins = wizard.plugins
self._busy = True
@ -658,7 +658,7 @@ class WCKeepkeyInitParams(WizardComponent):
class WCKeepkeyInit(WizardComponent, Logger):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up Keepkey'))
WizardComponent.__init__(self, parent, wizard, title=_('KeepKey Setup'))
Logger.__init__(self)
self.plugins = wizard.plugins
self.plugin = self.plugins.get_plugin('keepkey')

6
electrum/plugins/safe_t/qt.py

@ -536,7 +536,7 @@ class SettingsDialog(WindowModalDialog):
class WCSafeTInitMethod(WizardComponent):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('HW Setup'))
WizardComponent.__init__(self, parent, wizard, title=_('Safe-T Setup'))
def on_ready(self):
_name, _info = self.wizard_data['hardware_device']
@ -567,7 +567,7 @@ class WCSafeTInitMethod(WizardComponent):
class WCSafeTInitParams(WizardComponent):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up safe-t'))
WizardComponent.__init__(self, parent, wizard, title=_('Safe-T Setup'))
self.plugins = wizard.plugins
self._busy = True
@ -590,7 +590,7 @@ class WCSafeTInitParams(WizardComponent):
class WCSafeTInit(WizardComponent, Logger):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up safe-t'))
WizardComponent.__init__(self, parent, wizard, title=_('Safe-T Setup'))
Logger.__init__(self)
self.plugins = wizard.plugins
self.plugin = self.plugins.get_plugin('safe_t')

6
electrum/plugins/trezor/qt.py

@ -813,7 +813,7 @@ class WCTrezorXPub(WCHWXPub):
class WCTrezorInitMethod(WizardComponent, Logger):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('HW Setup'))
WizardComponent.__init__(self, parent, wizard, title=_('Trezor Setup'))
Logger.__init__(self)
self.plugins = wizard.plugins
self.plugin = None
@ -848,7 +848,7 @@ class WCTrezorInitMethod(WizardComponent, Logger):
class WCTrezorInitParams(WizardComponent):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up trezor'))
WizardComponent.__init__(self, parent, wizard, title=_('Trezor Setup'))
self.plugins = wizard.plugins
self._busy = True
@ -867,7 +867,7 @@ class WCTrezorInitParams(WizardComponent):
class WCTrezorInit(WizardComponent, Logger):
def __init__(self, parent, wizard):
WizardComponent.__init__(self, parent, wizard, title=_('Set-up trezor'))
WizardComponent.__init__(self, parent, wizard, title=_('Trezor Setup'))
Logger.__init__(self)
self.plugins = wizard.plugins
self.plugin = self.plugins.get_plugin('trezor')

Loading…
Cancel
Save