mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05: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."),
|
ui.utils.showInfo(_("No media URLs defined for this deck."),
|
||||||
help="MediaSupport")
|
help="MediaSupport")
|
||||||
return
|
return
|
||||||
ui.utils.showInfo(_("%(a)d missing files found.<br>"
|
ui.utils.showInfo(ngettext("%d missing file found.<br>",
|
||||||
"%(b)d successfully retrieved.") % {
|
"%d missing files found.<br>",
|
||||||
'a': res[0],
|
res[0]) +
|
||||||
'b': res[1],
|
_("%d successfully retrieved.")
|
||||||
}, parent=self)
|
% res[1], parent=self)
|
||||||
|
|
||||||
def addHook(self, *args):
|
def addHook(self, *args):
|
||||||
addHook(*args)
|
addHook(*args)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue