Browse Source

enable some translations in base_wizard.py

3.1
SomberNight 7 years ago
parent
commit
aeee5e907c
  1. 10
      lib/base_wizard.py

10
lib/base_wizard.py

@ -294,7 +294,7 @@ class BaseWizard(object):
self.run('create_keystore', seed, '') self.run('create_keystore', seed, '')
elif self.seed_type == '2fa': elif self.seed_type == '2fa':
if self.is_kivy: if self.is_kivy:
self.show_error('2FA seeds are not supported in this version') self.show_error(_('2FA seeds are not supported in this version'))
self.run('restore_from_seed') self.run('restore_from_seed')
else: else:
self.load_2fa() self.load_2fa()
@ -386,10 +386,10 @@ class BaseWizard(object):
def choose_seed_type(self): def choose_seed_type(self):
title = _('Choose Seed type') title = _('Choose Seed type')
message = ' '.join([ message = ' '.join([
"The type of addresses used by your wallet will depend on your seed.", _("The type of addresses used by your wallet will depend on your seed."),
"Segwit wallets use bech32 addresses, defined in BIP173.", _("Segwit wallets use bech32 addresses, defined in BIP173."),
"Please note that websites and other wallets may not support these addresses yet.", _("Please note that websites and other wallets may not support these addresses yet."),
"Thus, you might want to keep using a non-segwit wallet in order to be able to receive bitcoins during the transition period." _("Thus, you might want to keep using a non-segwit wallet in order to be able to receive bitcoins during the transition period.")
]) ])
choices = [ choices = [
('create_standard_seed', _('Standard')), ('create_standard_seed', _('Standard')),

Loading…
Cancel
Save