mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00

- allows translations of filename - allows users to keep multiple collection exports in the same folder - provides a clearer distinction between deck and collection packages - the collection/backup .apkg special cases will continue to work in future 2.1.x releases
19 lines
832 B
Python
19 lines
832 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright: Damien Elmes <anki@ichi2.net>
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
from anki.importing.csvfile import TextImporter
|
|
from anki.importing.apkg import AnkiPackageImporter
|
|
from anki.importing.anki2 import Anki2Importer
|
|
from anki.importing.supermemo_xml import SupermemoXmlImporter
|
|
from anki.importing.mnemo import MnemosyneImporter
|
|
from anki.importing.pauker import PaukerImporter
|
|
from anki.lang import _
|
|
|
|
Importers = (
|
|
(_("Text separated by tabs or semicolons (*)"), TextImporter),
|
|
(_("Packaged Anki Deck/Collection (*.apkg *.colpkg *.zip)"), AnkiPackageImporter),
|
|
(_("Mnemosyne 2.0 Deck (*.db)"), MnemosyneImporter),
|
|
(_("Supermemo XML export (*.xml)"), SupermemoXmlImporter),
|
|
(_("Pauker 1.8 Lesson (*.pau.gz)"), PaukerImporter),
|
|
)
|