mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
log total notes imported
This commit is contained in:
parent
869d665c22
commit
e175dcd2d8
1 changed files with 4 additions and 0 deletions
|
@ -77,8 +77,12 @@ acq_reps+ret_reps, lapses from cards"""):
|
|||
note['cards'] = {}
|
||||
note['cards'][ord] = c
|
||||
self._addFronts(front)
|
||||
total = self.total
|
||||
self._addFrontBacks(frontback)
|
||||
total += self.total
|
||||
self._addVocabulary(vocabulary)
|
||||
self.total += total
|
||||
self.log.append(_("%d notes imported.") % self.total)
|
||||
|
||||
def fields(self):
|
||||
return self._fields
|
||||
|
|
Loading…
Reference in a new issue