mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
i18n
This commit is contained in:
parent
a63eccb3dd
commit
d2865235df
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ where c.nid = n.id and c.id in %s group by nid"""
|
|||
try:
|
||||
qatext = render_card(self, qfmt, afmt, fields, card_ord)
|
||||
except anki.rsbackend.BackendException as e:
|
||||
errmsg = f"Card template has a problem:<br>{e}"
|
||||
errmsg = _("Card template has a problem:") + f"<br>{e}"
|
||||
qatext = (errmsg, errmsg)
|
||||
|
||||
ret: Dict[str, Any] = dict(q=qatext[0], a=qatext[1], id=card_id)
|
||||
|
|
Loading…
Reference in a new issue