Fix typos
This commit is contained in:
committed by
Johann Bauer
parent
5b2b59420f
commit
989c9c2b55
@@ -270,7 +270,7 @@ class DigitalBitbox_Client():
|
||||
|
||||
choices = [
|
||||
_('Do not pair'),
|
||||
_('Import pairing from the digital bitbox desktop app'),
|
||||
_('Import pairing from the Digital Bitbox desktop app'),
|
||||
]
|
||||
try:
|
||||
reply = self.handler.win.query_choice(_('Mobile pairing options'), choices)
|
||||
|
||||
@@ -201,7 +201,7 @@ class Plugin(BasePlugin):
|
||||
d.setMinimumSize(500, 200)
|
||||
|
||||
vbox = QVBoxLayout(d)
|
||||
vbox.addWidget(QLabel(_('Server hosting your email acount')))
|
||||
vbox.addWidget(QLabel(_('Server hosting your email account')))
|
||||
grid = QGridLayout()
|
||||
vbox.addLayout(grid)
|
||||
grid.addWidget(QLabel('Server (IMAP)'), 0, 0)
|
||||
|
||||
@@ -34,7 +34,7 @@ from electrum.i18n import _
|
||||
from electrum.util import PrintError
|
||||
|
||||
# The trickiest thing about this handler was getting windows properly
|
||||
# parented on MacOSX.
|
||||
# parented on macOS.
|
||||
class QtHandlerBase(QObject, PrintError):
|
||||
'''An interface between the GUI (here, QT) and the device handling
|
||||
logic for handling I/O.'''
|
||||
|
||||
@@ -143,7 +143,7 @@ class KeepKeyClientBase(GuiMixin, PrintError):
|
||||
def expand_path(n):
|
||||
'''Convert bip32 path to list of uint32 integers with prime flags
|
||||
0/-1/1' -> [0, 0x80000001, 0x80000001]'''
|
||||
# This code is similar to code in trezorlib where it unforunately
|
||||
# This code is similar to code in trezorlib where it unfortunately
|
||||
# is not declared as a staticmethod. Our n has an extra element.
|
||||
PRIME_DERIVATION_FLAG = 0x80000000
|
||||
path = []
|
||||
|
||||
@@ -99,7 +99,7 @@ class KeepKeyCompatiblePlugin(HW_PluginBase):
|
||||
return None
|
||||
|
||||
def create_client(self, device, handler):
|
||||
# disable bridge because it seems to never returns if keepkey is plugged
|
||||
# disable bridge because it seems to never returns if KeepKey is plugged
|
||||
#transport = self._try_bridge(device) or self._try_hid(device)
|
||||
transport = self._try_hid(device)
|
||||
if not transport:
|
||||
@@ -395,7 +395,7 @@ class KeepKeyCompatiblePlugin(HW_PluginBase):
|
||||
o.script_pubkey = bfh(vout['scriptPubKey'])
|
||||
return t
|
||||
|
||||
# This function is called from the trezor libraries (via tx_api)
|
||||
# This function is called from the TREZOR libraries (via tx_api)
|
||||
def get_tx(self, tx_hash):
|
||||
tx = self.prev_tx[tx_hash]
|
||||
return self.electrum_tx_to_txtype(tx)
|
||||
|
||||
@@ -457,7 +457,7 @@ class SettingsDialog(WindowModalDialog):
|
||||
settings_glayout = QGridLayout()
|
||||
|
||||
# Settings tab - Label
|
||||
label_msg = QLabel(_("Name this {}. If you have mutiple devices "
|
||||
label_msg = QLabel(_("Name this {}. If you have multiple devices "
|
||||
"their labels help distinguish them.")
|
||||
.format(plugin.device))
|
||||
label_msg.setWordWrap(True)
|
||||
|
||||
@@ -32,7 +32,7 @@ helpTxt = [_("Your Ledger Wallet wants to tell you a one-time PIN code.<br><br>"
|
||||
_("Waiting for authentication on your mobile phone"),
|
||||
_("Transaction accepted by mobile phone. Waiting for confirmation."),
|
||||
_("Click Pair button to begin pairing a mobile phone."),
|
||||
_("Scan this QR code with your LedgerWallet phone app to pair it with this Ledger device.<br>"
|
||||
_("Scan this QR code with your Ledger Wallet phone app to pair it with this Ledger device.<br>"
|
||||
"To complete pairing you will need your security card to answer a challenge." )
|
||||
]
|
||||
|
||||
|
||||
@@ -544,7 +544,7 @@ class LedgerPlugin(HW_PluginBase):
|
||||
if device.interface_number == 0 or device.usage_page == 0xffa0:
|
||||
ledger = True
|
||||
else:
|
||||
return None # non-compatible interface of a nano s or blue
|
||||
return None # non-compatible interface of a Nano S or Blue
|
||||
dev = hid.device()
|
||||
dev.open_path(device.path)
|
||||
dev.set_nonblocking(True)
|
||||
|
||||
@@ -149,7 +149,7 @@ class TrezorClientBase(GuiMixin, PrintError):
|
||||
def expand_path(n):
|
||||
'''Convert bip32 path to list of uint32 integers with prime flags
|
||||
0/-1/1' -> [0, 0x80000001, 0x80000001]'''
|
||||
# This code is similar to code in trezorlib where it unforunately
|
||||
# This code is similar to code in trezorlib where it unfortunately
|
||||
# is not declared as a staticmethod. Our n has an extra element.
|
||||
PRIME_DERIVATION_FLAG = 0x80000000
|
||||
path = []
|
||||
|
||||
@@ -467,7 +467,7 @@ class SettingsDialog(WindowModalDialog):
|
||||
settings_glayout = QGridLayout()
|
||||
|
||||
# Settings tab - Label
|
||||
label_msg = QLabel(_("Name this {}. If you have mutiple devices "
|
||||
label_msg = QLabel(_("Name this {}. If you have multiple devices "
|
||||
"their labels help distinguish them.")
|
||||
.format(plugin.device))
|
||||
label_msg.setWordWrap(True)
|
||||
|
||||
@@ -479,7 +479,7 @@ class TrezorPlugin(HW_PluginBase):
|
||||
o.script_pubkey = bfh(vout['scriptPubKey'])
|
||||
return t
|
||||
|
||||
# This function is called from the trezor libraries (via tx_api)
|
||||
# This function is called from the TREZOR libraries (via tx_api)
|
||||
def get_tx(self, tx_hash):
|
||||
tx = self.prev_tx[tx_hash]
|
||||
return self.electrum_tx_to_txtype(tx)
|
||||
|
||||
@@ -149,7 +149,7 @@ class Plugin(TrustedCoinPlugin):
|
||||
vbox.addLayout(hbox)
|
||||
vbox.addStretch(10)
|
||||
|
||||
msg = _('TrustedCoin charges a small fee to co-sign transactions. The fee depends on how many prepaid transactions you buy. An extra output is added to your transaction everytime you run out of prepaid transactions.') + '<br/>'
|
||||
msg = _('TrustedCoin charges a small fee to co-sign transactions. The fee depends on how many prepaid transactions you buy. An extra output is added to your transaction every time you run out of prepaid transactions.') + '<br/>'
|
||||
label = QLabel(msg)
|
||||
label.setWordWrap(1)
|
||||
vbox.addWidget(label)
|
||||
@@ -258,7 +258,7 @@ class Plugin(TrustedCoinPlugin):
|
||||
msg = _('Then, enter your Google Authenticator code:')
|
||||
else:
|
||||
label = QLabel(
|
||||
"This wallet is already registered with Trustedcoin. "
|
||||
"This wallet is already registered with TrustedCoin. "
|
||||
"To finalize wallet creation, please enter your Google Authenticator Code. "
|
||||
)
|
||||
label.setWordWrap(1)
|
||||
|
||||
@@ -176,7 +176,7 @@ class TrustedCoinCosignerClient(object):
|
||||
|
||||
def transfer_credit(self, id, recipient, otp, signature_callback):
|
||||
"""
|
||||
Tranfer a cosigner's credits to another cosigner.
|
||||
Transfer a cosigner's credits to another cosigner.
|
||||
:param id: the id of the sending cosigner
|
||||
:param recipient: the id of the recipient cosigner
|
||||
:param otp: the one time password (of the sender)
|
||||
@@ -250,7 +250,7 @@ class Wallet_2fa(Multisig_Wallet):
|
||||
try:
|
||||
tx = mk_tx(outputs + [fee_output])
|
||||
except NotEnoughFunds:
|
||||
# trustedcoin won't charge if the total inputs is
|
||||
# TrustedCoin won't charge if the total inputs is
|
||||
# lower than their fee
|
||||
tx = mk_tx(outputs)
|
||||
if tx.input_value() >= fee:
|
||||
|
||||
Reference in New Issue
Block a user