mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
defer i18n resolution so names can be translated
This commit is contained in:
parent
5c56de0e73
commit
3cda67ad68
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def addBasicModel(col):
|
|||
mm.add(m)
|
||||
return m
|
||||
|
||||
models.append((_("Basic"), addBasicModel))
|
||||
models.append((lambda: _("Basic"), addBasicModel))
|
||||
|
||||
# Cloze
|
||||
##########################################################################
|
||||
|
@ -51,4 +51,4 @@ def addClozeModel(col):
|
|||
mm.add(m)
|
||||
return m
|
||||
|
||||
models.append((_("Cloze"), addClozeModel))
|
||||
models.append((lambda: _("Cloze"), addClozeModel))
|
||||
|
|
Loading…
Reference in a new issue