commit 2b717a8cef315e5be3752f041dc435cd6605f75e
parent 914d02ecd33fc9395ee091f57448f61473b7e775
Author: SomberNight <somber.night@protonmail.com>
Date: Sun, 21 Apr 2019 03:31:37 +0200
minor fix re translated string
Diffstat:
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/electrum/gui/kivy/uix/dialogs/tx_dialog.py b/electrum/gui/kivy/uix/dialogs/tx_dialog.py
@@ -243,9 +243,8 @@ class TxDialog(Factory.Popup):
to_delete |= self.wallet.get_depending_transactions(txid)
question = _("Are you sure you want to remove this transaction?")
if len(to_delete) > 1:
- question = _(
- "Are you sure you want to remove this transaction and {} child transactions?".format(len(to_delete) - 1)
- )
+ question = (_("Are you sure you want to remove this transaction and {} child transactions?")
+ .format(len(to_delete) - 1))
def on_prompt(b):
if b:
diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py
@@ -610,9 +610,8 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):
to_delete |= self.wallet.get_depending_transactions(delete_tx)
question = _("Are you sure you want to remove this transaction?")
if len(to_delete) > 1:
- question = _(
- "Are you sure you want to remove this transaction and {} child transactions?".format(len(to_delete) - 1)
- )
+ question = (_("Are you sure you want to remove this transaction and {} child transactions?")
+ .format(len(to_delete) - 1))
answer = QMessageBox.question(self.parent, _("Please confirm"), question, QMessageBox.Yes, QMessageBox.No)
if answer == QMessageBox.No:
return