mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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.models.sort(key=itemgetter("name"))
|
||||||
self.form.modelsList.clear()
|
self.form.modelsList.clear()
|
||||||
for m in self.models:
|
for m in self.models:
|
||||||
item = QListWidgetItem(ngettext("%s [%d note]", "%s [%d notes]", \
|
mUse = self.mm.useCount(m)
|
||||||
self.mm.useCount(m)) % (
|
mUse = ngettext("%d note", "%d notes", mUse) % mUse
|
||||||
m['name'], self.mm.useCount(m)))
|
item = QListWidgetItem("%s [%s]" % (m['name'], mUse))
|
||||||
self.form.modelsList.addItem(item)
|
self.form.modelsList.addItem(item)
|
||||||
self.form.modelsList.setCurrentRow(row)
|
self.form.modelsList.setCurrentRow(row)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue