tfix messages for i18n - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 27382c210e83704c350b99ec1c9952590e4ea1bd DIR parent 25b82992f0c3157cbd97668bcc0f71da01d4ed98 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 2 Feb 2015 19:17:08 +0100 fix messages for i18n Diffstat: M gui/qt/main_window.py | 2 +- M gui/qt/transaction_dialog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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) DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -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'