mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix i18n issue
This commit is contained in:
parent
a379e47ca5
commit
ac7bd4f736
1 changed files with 2 additions and 2 deletions
|
@ -135,8 +135,8 @@ class CardLayout(QDialog):
|
|||
return showInfo(_("At least one card type is required."))
|
||||
cards = self.mm.tmplUseCount(self.model, idx)
|
||||
cards = ngettext("%d card", "%d cards", cards) % cards
|
||||
msg = _("Delete the '%s' card type, and its %s?" %
|
||||
(self.model['tmpls'][idx]['name'], cards))
|
||||
msg = _("Delete the '%(a)s' card type, and its %(b)s?" %
|
||||
dict(a=self.model['tmpls'][idx]['name'], b=cards))
|
||||
if not askUser(msg):
|
||||
return
|
||||
if not self.mm.remTemplate(self.model, self.cards[idx].template()):
|
||||
|
|
Loading…
Reference in a new issue