mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Enable plural support for one string.
This commit is contained in:
parent
b4d211e9e9
commit
6a4c7659ed
1 changed files with 5 additions and 5 deletions
|
@ -2681,11 +2681,11 @@ Consider backing up your media directory first."""))
|
|||
ui.utils.showInfo(_("No media URLs defined for this deck."),
|
||||
help="MediaSupport")
|
||||
return
|
||||
ui.utils.showInfo(_("%(a)d missing files found.<br>"
|
||||
"%(b)d successfully retrieved.") % {
|
||||
'a': res[0],
|
||||
'b': res[1],
|
||||
}, parent=self)
|
||||
ui.utils.showInfo(ngettext("%d missing file found.<br>",
|
||||
"%d missing files found.<br>",
|
||||
res[0]) +
|
||||
_("%d successfully retrieved.")
|
||||
% res[1], parent=self)
|
||||
|
||||
def addHook(self, *args):
|
||||
addHook(*args)
|
||||
|
|
Loading…
Reference in a new issue