- def notify_one_phrase_added(self):
- """
- Add +1 to the count of entries
- added to the db.
- """
- self.lang_phrases_added += 1
- self.global_phrases_added += 1
-
- def notify_one_phrase_ignored(self):
- """
- Add +1 to the count of ignored
- entries as it was already in the db.
- """
- self.lang_phrases_ignored += 1
- self.global_phrases_ignored += 1
-
- def notify_one_phrase_deleted(self):
- """
- Add +1 to the count of phrases deleted
- from the database.
- """
- self.global_phrases_deleted += 1
-