Help text changes

This commit is contained in:
Storm Dragon 2018-07-28 11:09:49 -04:00
parent ad95e9ae8c
commit 073babc759
20 changed files with 22 additions and 22 deletions

View File

@ -46,10 +46,10 @@ class command():
if currWord != '': if currWord != '':
if self.spellChecker.is_added(currWord): if self.spellChecker.is_added(currWord):
self.env['runtime']['outputManager'].presentText(_('{0} is already in dict').format(currWord,), soundIcon='Cancel', interrupt=True) self.env['runtime']['outputManager'].presentText(_('{0} is already in dictionary').format(currWord,), soundIcon='Cancel', interrupt=True)
else: else:
self.spellChecker.add(currWord) self.spellChecker.add(currWord)
self.env['runtime']['outputManager'].presentText(_('{0} added').format(currWord,), soundIcon='Accept', interrupt=True) self.env['runtime']['outputManager'].presentText(_('{0} added to dictionary').format(currWord,), soundIcon='Accept', interrupt=True)
def setCallback(self, callback): def setCallback(self, callback):
pass pass

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('flush the braille device if a message is written on') return _('Clear the Braille device if it is displaying a message')
def run(self): def run(self):
self.env['runtime']['outputManager'].clearFlushTime() self.env['runtime']['outputManager'].clearFlushTime()
def setCallback(self, callback): def setCallback(self, callback):

View File

@ -19,7 +19,7 @@ class command():
def run(self): def run(self):
if not self.env['commandBuffer']['Marks']['1']: if not self.env['commandBuffer']['Marks']['1']:
self.env['runtime']['outputManager'].presentText(_("one or two marks needed"), interrupt=True) self.env['runtime']['outputManager'].presentText(_("One or two marks are needed"), interrupt=True)
return return
if not self.env['commandBuffer']['Marks']['2']: if not self.env['commandBuffer']['Marks']['2']:
self.env['runtime']['cursorManager'].setMark() self.env['runtime']['cursorManager'].setMark()

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('decreases the pitch of the speech') return _('Decreases the pitch of the speech')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch')

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('decreases the rate of the speech') return _('Decreases the rate of the speech')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate')

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('decreases the volume of the speech') return _('Decreases the volume of the speech')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume')

View File

@ -18,11 +18,11 @@ class command():
def run(self): def run(self):
if not self.env['runtime']['cursorManager'].isReviewMode(): if not self.env['runtime']['cursorManager'].isReviewMode():
self.env['runtime']['outputManager'].presentText(_("Not in review mode"), interrupt=True) self.env['runtime']['outputManager'].presentText(_("Not in Review Mode"), interrupt=True)
return return
self.env['runtime']['cursorManager'].clearReviewCursor() self.env['runtime']['cursorManager'].clearReviewCursor()
self.env['runtime']['outputManager'].presentText(_("leave review mode"), interrupt=True) self.env['runtime']['outputManager'].presentText(_("Exiting Review Mode"), interrupt=True)
def setCallback(self, callback): def setCallback(self, callback):
pass pass

View File

@ -18,7 +18,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('export the current fenrir clipboard to the graphical clipboard') return _('Export current fenrir clipboard to X or GUI clipboard')
def run(self): def run(self):
_thread.start_new_thread(self._threadRun , ()) _thread.start_new_thread(self._threadRun , ())

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('increases the pitch of the speech') return _('Increases the pitch of the speech')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch')

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('increase the speech rate') return _('Increase the speech rate')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate')

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('increase the speech volume') return _('Increase the speech volume')
def run(self): def run(self):
value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume') value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume')

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('shows the indention level for the current line') return _('Presents the indentation level for the current line')
def run(self): def run(self):
# Prefer review cursor over text cursor # Prefer review cursor over text cursor

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('displays the last received text') return _('Presents the text which was last received')
def run(self): def run(self):
self.env['runtime']['outputManager'].presentText(self.env['screen']['newDelta'], interrupt=True) self.env['runtime']['outputManager'].presentText(self.env['screen']['newDelta'], interrupt=True)

View File

@ -15,7 +15,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('speaks the currently selected text that will be copied to the clipboard') return _('Presents the currently selected text that will be copied to the clipboard')
def run(self): def run(self):
if not (self.env['commandBuffer']['Marks']['1'] and \ if not (self.env['commandBuffer']['Marks']['1'] and \

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('removes marks from selected text') return _('Removes marks from selected text')
def run(self): def run(self):
self.env['runtime']['cursorManager'].clearMarks() self.env['runtime']['cursorManager'].clearMarks()

View File

@ -47,7 +47,7 @@ class command():
currWord = currWord.strip(string.whitespace + '!"#$%&\()*+,-./:;<=§>?@[\\]^_{|}~') currWord = currWord.strip(string.whitespace + '!"#$%&\()*+,-./:;<=§>?@[\\]^_{|}~')
if not currWord.isspace(): if not currWord.isspace():
if self.spellChecker.is_removed(currWord): if self.spellChecker.is_removed(currWord):
self.env['runtime']['outputManager'].presentText(_('{0} is already removed from dict').format(currWord,), soundIcon='Cancel', interrupt=True) self.env['runtime']['outputManager'].presentText(_('{0} is not in the dictionary').format(currWord,), soundIcon='Cancel', interrupt=True)
else: else:
self.spellChecker.remove(currWord) self.spellChecker.remove(currWord)
self.env['runtime']['outputManager'].presentText(_('{0} removed').format(currWord,), soundIcon='Accept', interrupt=True) self.env['runtime']['outputManager'].presentText(_('{0} removed').format(currWord,), soundIcon='Accept', interrupt=True)

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('move review to bottom of screen') return _('Move review to the bottom of the screen')
def run(self): def run(self):
self.env['screen']['newCursorReview'] = { 'x': 0, 'y':self.env['screen']['lines'] -1} self.env['screen']['newCursorReview'] = { 'x': 0, 'y':self.env['screen']['lines'] -1}

View File

@ -16,7 +16,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('phonetically spells the current word and set review to it') return _('Phonetically spells the current word')
def run(self): def run(self):
self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()

View File

@ -16,7 +16,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('phonetically spells the current word and set review to it') return _('Phonetically spells the next word and moves review to it')
def run(self): def run(self):
self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()

View File

@ -16,7 +16,7 @@ class command():
def shutdown(self): def shutdown(self):
pass pass
def getDescription(self): def getDescription(self):
return _('phonetically spells the current word and set review to it') return _('Phonetically spells the previous word and moves review to it')
def run(self): def run(self):
self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()