fix messages for i18n
This commit is contained in:
@@ -1310,7 +1310,7 @@ class ElectrumWindow(QMainWindow):
|
|||||||
if not request_url:
|
if not request_url:
|
||||||
if label:
|
if label:
|
||||||
if self.wallet.labels.get(address) != label:
|
if self.wallet.labels.get(address) != label:
|
||||||
if self.question(_('Save label "%s" for address %s ?'%(label,address))):
|
if self.question(_('Save label "%(label)s" for address %(address)s ?'%{'label':label,'address':address})):
|
||||||
if address not in self.wallet.addressbook and not self.wallet.is_mine(address):
|
if address not in self.wallet.addressbook and not self.wallet.is_mine(address):
|
||||||
self.wallet.addressbook.append(address)
|
self.wallet.addressbook.append(address)
|
||||||
self.wallet.set_label(address, label)
|
self.wallet.set_label(address, label)
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ class TxDialog(QDialog):
|
|||||||
self.broadcast_button.show()
|
self.broadcast_button.show()
|
||||||
else:
|
else:
|
||||||
s, r = self.tx.signature_count()
|
s, r = self.tx.signature_count()
|
||||||
status = _("Unsigned") if s == 0 else _('Partially signed (%d/%d)'%(s,r))
|
status = _("Unsigned") if s == 0 else _('Partially signed') + ' (%d/%d)'%(s,r)
|
||||||
time_str = None
|
time_str = None
|
||||||
self.broadcast_button.hide()
|
self.broadcast_button.hide()
|
||||||
tx_hash = 'unknown'
|
tx_hash = 'unknown'
|
||||||
|
|||||||
Reference in New Issue
Block a user