mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix an i18n string
This commit is contained in:
parent
f107d61242
commit
e7dbeeacae
1 changed files with 3 additions and 3 deletions
|
@ -63,9 +63,9 @@ class Models(QDialog):
|
|||
self.models.sort(key=itemgetter("name"))
|
||||
self.form.modelsList.clear()
|
||||
for m in self.models:
|
||||
item = QListWidgetItem(ngettext("%s [%d note]", "%s [%d notes]", \
|
||||
self.mm.useCount(m)) % (
|
||||
m['name'], self.mm.useCount(m)))
|
||||
mUse = self.mm.useCount(m)
|
||||
mUse = ngettext("%d note", "%d notes", mUse) % mUse
|
||||
item = QListWidgetItem("%s [%s]" % (m['name'], mUse))
|
||||
self.form.modelsList.addItem(item)
|
||||
self.form.modelsList.setCurrentRow(row)
|
||||
|
||||
|
|
Loading…
Reference in a new issue