mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05:00
move brackets out of translation so translators can't break card review
This commit is contained in:
parent
2f8248eeff
commit
880d50ed8a
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ def addBasicModel(col):
|
||||||
fm = mm.newField(_("Back"))
|
fm = mm.newField(_("Back"))
|
||||||
mm.addField(m, fm)
|
mm.addField(m, fm)
|
||||||
t = mm.newTemplate(_("Card 1"))
|
t = mm.newTemplate(_("Card 1"))
|
||||||
t['qfmt'] = _("{{Front}}")
|
t['qfmt'] = "{{"+_("Front")+"}}"
|
||||||
t['afmt'] = "{{FrontSide}}\n\n<hr id=answer>\n\n"+_("{{Back}}")
|
t['afmt'] = "{{FrontSide}}\n\n<hr id=answer>\n\n"+"{{"+_("Back")+"}}"
|
||||||
mm.addTemplate(m, t)
|
mm.addTemplate(m, t)
|
||||||
mm.add(m)
|
mm.add(m)
|
||||||
return m
|
return m
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue