diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index f305ca09..2ea39a15 100644 --- a/gui/qt/main_window.py +++ b/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) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py index 0754dbde..866057f9 100644 --- a/gui/qt/transaction_dialog.py +++ b/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'