Example #1
0
 def _nuke_word(self, dic, word, locale):
     if dic is None:
         dictionaries.ignore_word(word, locale)
     else:
         dictionaries.add_to_user_dictionary(dic, word, locale)
     self.word_ignored.emit(word, locale)
Example #2
0
 def _nuke_word(self, dic, word, locale):
     if dic is None:
         dictionaries.ignore_word(word, locale)
     else:
         dictionaries.add_to_user_dictionary(dic, word, locale)
     self.word_ignored.emit(word, locale)