mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix exporting of v2 colpkg in non-English language
https://anki.tenderapp.com/discussions/ankidesktop/29661-error-exporting-decks
This commit is contained in:
parent
b75d9040de
commit
742fe274dd
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class AnkiPackageExporter(AnkiExporter):
|
|||
path = namedtmp("dummy.anki2")
|
||||
c = Collection(path)
|
||||
n = c.newNote()
|
||||
n['Front'] = "This file requires a newer version of Anki."
|
||||
n[_('Front')] = "This file requires a newer version of Anki."
|
||||
c.addNote(n)
|
||||
c.save()
|
||||
c.close()
|
||||
|
|
Loading…
Reference in a new issue