From 073babc7598a67fde8f006d264f69f5b84035a11 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 28 Jul 2018 11:09:49 -0400 Subject: [PATCH] Help text changes --- .../commands/commands/add_word_to_spell_check.py | 4 ++-- src/fenrirscreenreader/commands/commands/braille_flush.py | 2 +- .../commands/commands/copy_marked_to_clipboard.py | 2 +- src/fenrirscreenreader/commands/commands/dec_speech_pitch.py | 2 +- src/fenrirscreenreader/commands/commands/dec_speech_rate.py | 2 +- src/fenrirscreenreader/commands/commands/dec_speech_volume.py | 2 +- src/fenrirscreenreader/commands/commands/exit_review.py | 4 ++-- .../commands/commands/export_clipboard_to_x.py | 2 +- src/fenrirscreenreader/commands/commands/inc_speech_pitch.py | 2 +- src/fenrirscreenreader/commands/commands/inc_speech_rate.py | 2 +- src/fenrirscreenreader/commands/commands/inc_speech_volume.py | 2 +- src/fenrirscreenreader/commands/commands/indent_curr_line.py | 2 +- src/fenrirscreenreader/commands/commands/last_incoming.py | 2 +- src/fenrirscreenreader/commands/commands/marked_text.py | 2 +- src/fenrirscreenreader/commands/commands/remove_marks.py | 2 +- .../commands/commands/remove_word_from_spell_check.py | 2 +- src/fenrirscreenreader/commands/commands/review_bottom.py | 2 +- .../commands/commands/review_curr_word_phonetic.py | 2 +- .../commands/commands/review_next_word_phonetic.py | 2 +- .../commands/commands/review_prev_word_phonetic.py | 2 +- 20 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/fenrirscreenreader/commands/commands/add_word_to_spell_check.py b/src/fenrirscreenreader/commands/commands/add_word_to_spell_check.py index 24c24cd9..d0dd515b 100644 --- a/src/fenrirscreenreader/commands/commands/add_word_to_spell_check.py +++ b/src/fenrirscreenreader/commands/commands/add_word_to_spell_check.py @@ -46,10 +46,10 @@ class command(): if 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: 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): pass diff --git a/src/fenrirscreenreader/commands/commands/braille_flush.py b/src/fenrirscreenreader/commands/commands/braille_flush.py index 5a6bb6ba..72d2092b 100644 --- a/src/fenrirscreenreader/commands/commands/braille_flush.py +++ b/src/fenrirscreenreader/commands/commands/braille_flush.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass 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): self.env['runtime']['outputManager'].clearFlushTime() def setCallback(self, callback): diff --git a/src/fenrirscreenreader/commands/commands/copy_marked_to_clipboard.py b/src/fenrirscreenreader/commands/commands/copy_marked_to_clipboard.py index 8d6c8c4e..0d9e6360 100644 --- a/src/fenrirscreenreader/commands/commands/copy_marked_to_clipboard.py +++ b/src/fenrirscreenreader/commands/commands/copy_marked_to_clipboard.py @@ -19,7 +19,7 @@ class command(): def run(self): 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 if not self.env['commandBuffer']['Marks']['2']: self.env['runtime']['cursorManager'].setMark() diff --git a/src/fenrirscreenreader/commands/commands/dec_speech_pitch.py b/src/fenrirscreenreader/commands/commands/dec_speech_pitch.py index e7e6fe06..6dfcf186 100644 --- a/src/fenrirscreenreader/commands/commands/dec_speech_pitch.py +++ b/src/fenrirscreenreader/commands/commands/dec_speech_pitch.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('decreases the pitch of the speech') + return _('Decreases the pitch of the speech') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch') diff --git a/src/fenrirscreenreader/commands/commands/dec_speech_rate.py b/src/fenrirscreenreader/commands/commands/dec_speech_rate.py index f42d4e95..7241a51f 100644 --- a/src/fenrirscreenreader/commands/commands/dec_speech_rate.py +++ b/src/fenrirscreenreader/commands/commands/dec_speech_rate.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('decreases the rate of the speech') + return _('Decreases the rate of the speech') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate') diff --git a/src/fenrirscreenreader/commands/commands/dec_speech_volume.py b/src/fenrirscreenreader/commands/commands/dec_speech_volume.py index 5c5f60c5..764856b3 100644 --- a/src/fenrirscreenreader/commands/commands/dec_speech_volume.py +++ b/src/fenrirscreenreader/commands/commands/dec_speech_volume.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('decreases the volume of the speech') + return _('Decreases the volume of the speech') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume') diff --git a/src/fenrirscreenreader/commands/commands/exit_review.py b/src/fenrirscreenreader/commands/commands/exit_review.py index 0ac3854b..4a00904e 100644 --- a/src/fenrirscreenreader/commands/commands/exit_review.py +++ b/src/fenrirscreenreader/commands/commands/exit_review.py @@ -18,11 +18,11 @@ class command(): def run(self): 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 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): pass diff --git a/src/fenrirscreenreader/commands/commands/export_clipboard_to_x.py b/src/fenrirscreenreader/commands/commands/export_clipboard_to_x.py index 868efd75..9c542e73 100644 --- a/src/fenrirscreenreader/commands/commands/export_clipboard_to_x.py +++ b/src/fenrirscreenreader/commands/commands/export_clipboard_to_x.py @@ -18,7 +18,7 @@ class command(): def shutdown(self): pass 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): _thread.start_new_thread(self._threadRun , ()) diff --git a/src/fenrirscreenreader/commands/commands/inc_speech_pitch.py b/src/fenrirscreenreader/commands/commands/inc_speech_pitch.py index db213648..eaf1e673 100644 --- a/src/fenrirscreenreader/commands/commands/inc_speech_pitch.py +++ b/src/fenrirscreenreader/commands/commands/inc_speech_pitch.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('increases the pitch of the speech') + return _('Increases the pitch of the speech') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'pitch') diff --git a/src/fenrirscreenreader/commands/commands/inc_speech_rate.py b/src/fenrirscreenreader/commands/commands/inc_speech_rate.py index a65666b2..aff3d908 100644 --- a/src/fenrirscreenreader/commands/commands/inc_speech_rate.py +++ b/src/fenrirscreenreader/commands/commands/inc_speech_rate.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('increase the speech rate') + return _('Increase the speech rate') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'rate') diff --git a/src/fenrirscreenreader/commands/commands/inc_speech_volume.py b/src/fenrirscreenreader/commands/commands/inc_speech_volume.py index 490dfc88..e27603e5 100644 --- a/src/fenrirscreenreader/commands/commands/inc_speech_volume.py +++ b/src/fenrirscreenreader/commands/commands/inc_speech_volume.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('increase the speech volume') + return _('Increase the speech volume') def run(self): value = self.env['runtime']['settingsManager'].getSettingAsFloat('speech', 'volume') diff --git a/src/fenrirscreenreader/commands/commands/indent_curr_line.py b/src/fenrirscreenreader/commands/commands/indent_curr_line.py index ece9c6e0..8d1fade5 100644 --- a/src/fenrirscreenreader/commands/commands/indent_curr_line.py +++ b/src/fenrirscreenreader/commands/commands/indent_curr_line.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('shows the indention level for the current line') + return _('Presents the indentation level for the current line') def run(self): # Prefer review cursor over text cursor diff --git a/src/fenrirscreenreader/commands/commands/last_incoming.py b/src/fenrirscreenreader/commands/commands/last_incoming.py index 907144c0..b38e3b29 100644 --- a/src/fenrirscreenreader/commands/commands/last_incoming.py +++ b/src/fenrirscreenreader/commands/commands/last_incoming.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('displays the last received text') + return _('Presents the text which was last received') def run(self): self.env['runtime']['outputManager'].presentText(self.env['screen']['newDelta'], interrupt=True) diff --git a/src/fenrirscreenreader/commands/commands/marked_text.py b/src/fenrirscreenreader/commands/commands/marked_text.py index 63a34861..6c01c0e2 100644 --- a/src/fenrirscreenreader/commands/commands/marked_text.py +++ b/src/fenrirscreenreader/commands/commands/marked_text.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass 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): if not (self.env['commandBuffer']['Marks']['1'] and \ diff --git a/src/fenrirscreenreader/commands/commands/remove_marks.py b/src/fenrirscreenreader/commands/commands/remove_marks.py index 7c351415..abea6633 100644 --- a/src/fenrirscreenreader/commands/commands/remove_marks.py +++ b/src/fenrirscreenreader/commands/commands/remove_marks.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('removes marks from selected text') + return _('Removes marks from selected text') def run(self): self.env['runtime']['cursorManager'].clearMarks() diff --git a/src/fenrirscreenreader/commands/commands/remove_word_from_spell_check.py b/src/fenrirscreenreader/commands/commands/remove_word_from_spell_check.py index 01cf863f..c6b998e2 100644 --- a/src/fenrirscreenreader/commands/commands/remove_word_from_spell_check.py +++ b/src/fenrirscreenreader/commands/commands/remove_word_from_spell_check.py @@ -47,7 +47,7 @@ class command(): currWord = currWord.strip(string.whitespace + '!"#$%&\()*+,-./:;<=ยง>?@[\\]^_{|}~') if not currWord.isspace(): 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: self.spellChecker.remove(currWord) self.env['runtime']['outputManager'].presentText(_('{0} removed').format(currWord,), soundIcon='Accept', interrupt=True) diff --git a/src/fenrirscreenreader/commands/commands/review_bottom.py b/src/fenrirscreenreader/commands/commands/review_bottom.py index 5e5271b3..1d2f3c1b 100644 --- a/src/fenrirscreenreader/commands/commands/review_bottom.py +++ b/src/fenrirscreenreader/commands/commands/review_bottom.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('move review to bottom of screen') + return _('Move review to the bottom of the screen') def run(self): self.env['screen']['newCursorReview'] = { 'x': 0, 'y':self.env['screen']['lines'] -1} diff --git a/src/fenrirscreenreader/commands/commands/review_curr_word_phonetic.py b/src/fenrirscreenreader/commands/commands/review_curr_word_phonetic.py index 7321023f..9d9ebd35 100644 --- a/src/fenrirscreenreader/commands/commands/review_curr_word_phonetic.py +++ b/src/fenrirscreenreader/commands/commands/review_curr_word_phonetic.py @@ -16,7 +16,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('phonetically spells the current word and set review to it') + return _('Phonetically spells the current word') def run(self): self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() diff --git a/src/fenrirscreenreader/commands/commands/review_next_word_phonetic.py b/src/fenrirscreenreader/commands/commands/review_next_word_phonetic.py index d558b403..97914ef0 100644 --- a/src/fenrirscreenreader/commands/commands/review_next_word_phonetic.py +++ b/src/fenrirscreenreader/commands/commands/review_next_word_phonetic.py @@ -16,7 +16,7 @@ class command(): def shutdown(self): pass 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): self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() diff --git a/src/fenrirscreenreader/commands/commands/review_prev_word_phonetic.py b/src/fenrirscreenreader/commands/commands/review_prev_word_phonetic.py index 3076e9d3..d8c8883d 100644 --- a/src/fenrirscreenreader/commands/commands/review_prev_word_phonetic.py +++ b/src/fenrirscreenreader/commands/commands/review_prev_word_phonetic.py @@ -16,7 +16,7 @@ class command(): def shutdown(self): pass 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): self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()