From dce8ef181cc6e5dbbe3ff1c7a696a83086d995b7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 15 Sep 2016 08:09:48 -0400 Subject: [PATCH] Added some descriiptions for learn mode. --- src/fenrir-package/commands/commands/curr_char.py | 2 +- src/fenrir-package/commands/commands/curr_char_phonetic.py | 2 +- src/fenrir-package/commands/commands/curr_line.py | 2 +- src/fenrir-package/commands/commands/curr_word.py | 2 +- src/fenrir-package/commands/commands/curr_word_phonetic.py | 2 +- src/fenrir-package/commands/commands/date.py | 2 +- src/fenrir-package/commands/commands/next_char.py | 2 +- src/fenrir-package/commands/commands/next_line.py | 2 +- src/fenrir-package/commands/commands/next_word.py | 2 +- src/fenrir-package/commands/commands/prev_char.py | 2 +- src/fenrir-package/commands/commands/prev_line.py | 2 +- src/fenrir-package/commands/commands/prev_word.py | 2 +- src/fenrir-package/commands/commands/review_bottom.py | 2 +- src/fenrir-package/commands/commands/review_top.py | 2 +- src/fenrir-package/commands/commands/time.py | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/fenrir-package/commands/commands/curr_char.py b/src/fenrir-package/commands/commands/curr_char.py index f55dae0a..2fa9f7b8 100644 --- a/src/fenrir-package/commands/commands/curr_char.py +++ b/src/fenrir-package/commands/commands/curr_char.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'presents the current character.' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/curr_char_phonetic.py b/src/fenrir-package/commands/commands/curr_char_phonetic.py index 53161063..21e5a954 100644 --- a/src/fenrir-package/commands/commands/curr_char_phonetic.py +++ b/src/fenrir-package/commands/commands/curr_char_phonetic.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'phonetically presents the current character' def run(self, environment): if (environment['screenData']['newCursorReview'] != None): cursorPos = environment['screenData']['newCursorReview'].copy() diff --git a/src/fenrir-package/commands/commands/curr_line.py b/src/fenrir-package/commands/commands/curr_line.py index 66aa4fe4..7a241a99 100644 --- a/src/fenrir-package/commands/commands/curr_line.py +++ b/src/fenrir-package/commands/commands/curr_line.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'current line' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/curr_word.py b/src/fenrir-package/commands/commands/curr_word.py index b180f39f..af278f31 100644 --- a/src/fenrir-package/commands/commands/curr_word.py +++ b/src/fenrir-package/commands/commands/curr_word.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'current word.' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/curr_word_phonetic.py b/src/fenrir-package/commands/commands/curr_word_phonetic.py index 9a02b655..96dafd08 100644 --- a/src/fenrir-package/commands/commands/curr_word_phonetic.py +++ b/src/fenrir-package/commands/commands/curr_word_phonetic.py @@ -10,7 +10,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'phonetically spells the current word' def run(self, environment): if (environment['screenData']['newCursorReview'] != None): cursorPos = environment['screenData']['newCursorReview'].copy() diff --git a/src/fenrir-package/commands/commands/date.py b/src/fenrir-package/commands/commands/date.py index cb413d3e..f1027904 100644 --- a/src/fenrir-package/commands/commands/date.py +++ b/src/fenrir-package/commands/commands/date.py @@ -10,7 +10,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'presents the date' def run(self, environment): dateFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'dateFormat') diff --git a/src/fenrir-package/commands/commands/next_char.py b/src/fenrir-package/commands/commands/next_char.py index 7ebe13ac..35a1fc7f 100644 --- a/src/fenrir-package/commands/commands/next_char.py +++ b/src/fenrir-package/commands/commands/next_char.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review to the next character and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/next_line.py b/src/fenrir-package/commands/commands/next_line.py index 6daf4ee4..366ddfc7 100644 --- a/src/fenrir-package/commands/commands/next_line.py +++ b/src/fenrir-package/commands/commands/next_line.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review to the next line and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/next_word.py b/src/fenrir-package/commands/commands/next_word.py index 2f9b1537..5754f8b9 100644 --- a/src/fenrir-package/commands/commands/next_word.py +++ b/src/fenrir-package/commands/commands/next_word.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review to the next word and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/prev_char.py b/src/fenrir-package/commands/commands/prev_char.py index 03313a0b..33993117 100644 --- a/src/fenrir-package/commands/commands/prev_char.py +++ b/src/fenrir-package/commands/commands/prev_char.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review to the previous character and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/prev_line.py b/src/fenrir-package/commands/commands/prev_line.py index e4b79808..6573aa8c 100644 --- a/src/fenrir-package/commands/commands/prev_line.py +++ b/src/fenrir-package/commands/commands/prev_line.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review to the previous line and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/prev_word.py b/src/fenrir-package/commands/commands/prev_word.py index b89fcfea..d20d8ba1 100644 --- a/src/fenrir-package/commands/commands/prev_word.py +++ b/src/fenrir-package/commands/commands/prev_word.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'moves review focus to the previous word and presents it' def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] if environment['screenData']['newCursorReview'] == None: diff --git a/src/fenrir-package/commands/commands/review_bottom.py b/src/fenrir-package/commands/commands/review_bottom.py index 65c55914..300e70a7 100644 --- a/src/fenrir-package/commands/commands/review_bottom.py +++ b/src/fenrir-package/commands/commands/review_bottom.py @@ -8,7 +8,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'move review to bottom of screen' def run(self, environment): environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines']} environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True) diff --git a/src/fenrir-package/commands/commands/review_top.py b/src/fenrir-package/commands/commands/review_top.py index b671ca6f..050a8dac 100644 --- a/src/fenrir-package/commands/commands/review_top.py +++ b/src/fenrir-package/commands/commands/review_top.py @@ -9,7 +9,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'move review to top of screen' def run(self, environment): environment['screenData']['newCursorReview'] = {'x':0,'y':0} diff --git a/src/fenrir-package/commands/commands/time.py b/src/fenrir-package/commands/commands/time.py index 80c6dff0..5f889490 100644 --- a/src/fenrir-package/commands/commands/time.py +++ b/src/fenrir-package/commands/commands/time.py @@ -10,7 +10,7 @@ class command(): def shutdown(self, environment): return environment def getDescription(self): - return 'No Description found' + return 'presents the time' def run(self, environment): timeFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'timeFormat')