mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
fix i18n of empty cards msg
This commit is contained in:
parent
07987dbe36
commit
e3f5ff712d
1 changed files with 2 additions and 1 deletions
|
@ -882,7 +882,8 @@ will be lost. Continue?"""))
|
|||
report = self.col.emptyCardReport(cids)
|
||||
self.progress.finish()
|
||||
diag, box = showText(
|
||||
_("%d cards to delete:\n\n%s") % (len(cids), report), run=False)
|
||||
_("%(cnt)d cards to delete:\n\n%(rep)s") % dict(
|
||||
cnt=len(cids), rep=report), run=False)
|
||||
box.addButton(_("Delete Cards"), QDialogButtonBox.AcceptRole)
|
||||
box.button(QDialogButtonBox.Close).setDefault(True)
|
||||
def onDelete():
|
||||
|
|
Loading…
Reference in a new issue