ti18n template improvements - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d288999036c7ba36b37be1704c8a600eab9067bb
DIR parent ec5931ae541e553bee9ed6bd4103126e443cc458
HTML Author: Johann Bauer <bauerj@bauerj.eu>
Date: Thu, 31 May 2018 11:05:15 +0200
i18n template improvements
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@@ -1776,7 +1776,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
return self.create_list_tab(l)
def remove_address(self, addr):
- if self.question(_("Do you want to remove")+" %s "%addr +_("from your wallet?")):
+ if self.question(_("Do you want to remove {} from your wallet?").format(addr)):
self.wallet.delete_address(addr)
self.need_update.set() # history, addresses, coins
self.clear_receive_tab()
DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
t@@ -238,7 +238,7 @@ class TxDialog(QDialog, MessageBoxMixin):
self.date_label.show()
elif exp_n:
text = '%.2f MB'%(exp_n/1000000)
- self.date_label.setText(_('Position in mempool') + ': ' + text + ' ' + _('from tip'))
+ self.date_label.setText(_('Position in mempool: {} from tip').format(text))
self.date_label.show()
else:
self.date_label.hide()