mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
tweak importing message
This commit is contained in:
parent
4bea904dc6
commit
84b88507a2
1 changed files with 3 additions and 3 deletions
|
@ -122,9 +122,9 @@ class Importer(object):
|
||||||
if cm.active: active += 1
|
if cm.active: active += 1
|
||||||
if active > 1 and not self.multipleCardsAllowed:
|
if active > 1 and not self.multipleCardsAllowed:
|
||||||
raise ImportFormatError(type="tooManyCards",
|
raise ImportFormatError(type="tooManyCards",
|
||||||
info=_("""
|
info=_("""\
|
||||||
The current importer only supports a single active card template. Please disable
|
The current importer only supports a single active card template. Please disable\
|
||||||
all but one card template."""))
|
all but one card template."""))
|
||||||
# strip invalid cards
|
# strip invalid cards
|
||||||
cards = self.stripInvalid(cards)
|
cards = self.stripInvalid(cards)
|
||||||
cards = self.stripOrTagDupes(cards)
|
cards = self.stripOrTagDupes(cards)
|
||||||
|
|
Loading…
Reference in a new issue