i18n template improvements
This commit is contained in:
@@ -1776,7 +1776,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||||||
return self.create_list_tab(l)
|
return self.create_list_tab(l)
|
||||||
|
|
||||||
def remove_address(self, addr):
|
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.wallet.delete_address(addr)
|
||||||
self.need_update.set() # history, addresses, coins
|
self.need_update.set() # history, addresses, coins
|
||||||
self.clear_receive_tab()
|
self.clear_receive_tab()
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ class TxDialog(QDialog, MessageBoxMixin):
|
|||||||
self.date_label.show()
|
self.date_label.show()
|
||||||
elif exp_n:
|
elif exp_n:
|
||||||
text = '%.2f MB'%(exp_n/1000000)
|
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()
|
self.date_label.show()
|
||||||
else:
|
else:
|
||||||
self.date_label.hide()
|
self.date_label.hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user