mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
minor fix re translated string
This commit is contained in:
parent
914d02ecd3
commit
2b717a8cef
2 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue