Browse Source

fix messages for i18n

283
ThomasV 10 years ago
parent
commit
27382c210e
  1. 2
      gui/qt/main_window.py
  2. 2
      gui/qt/transaction_dialog.py

2
gui/qt/main_window.py

@ -1310,7 +1310,7 @@ class ElectrumWindow(QMainWindow):
if not request_url:
if 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):
self.wallet.addressbook.append(address)
self.wallet.set_label(address, label)

2
gui/qt/transaction_dialog.py

@ -156,7 +156,7 @@ class TxDialog(QDialog):
self.broadcast_button.show()
else:
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
self.broadcast_button.hide()
tx_hash = 'unknown'

Loading…
Cancel
Save