electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 27382c210e83704c350b99ec1c9952590e4ea1bd
parent 25b82992f0c3157cbd97668bcc0f71da01d4ed98
Author: ThomasV <thomasv@gitorious>
Date:   Mon,  2 Feb 2015 19:17:08 +0100

fix messages for i18n

Diffstat:
Mgui/qt/main_window.py | 2+-
Mgui/qt/transaction_dialog.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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'