Cleanup, generalize spell checker.

This commit is contained in:
Bill Dengler
2015-05-02 18:17:40 -04:00
parent 3e8e2312f2
commit 036edb6c28
2 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ class spellChecker(object):
def check(self):
try:
self.checker.next()
textToSay = _(u"Mis-spelled word: %s") % (self.checker.word,)
textToSay = _(u"Misspelled word: %s") % (self.checker.word,)
context = u"... %s %s %s" % (self.checker.leading_context(10), self.checker.word, self.checker.trailing_context(10))
self.dialog.set_title(textToSay)
output.speak(textToSay)