minor fix re translated string
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user