diff --git a/src/fenrirscreenreader/commands/commands/toggle_tutorial_mode.py b/src/fenrirscreenreader/commands/commands/toggle_tutorial_mode.py index 1ac2eb31..2ce98535 100644 --- a/src/fenrirscreenreader/commands/commands/toggle_tutorial_mode.py +++ b/src/fenrirscreenreader/commands/commands/toggle_tutorial_mode.py @@ -14,11 +14,11 @@ class command(): def shutdown(self): pass def getDescription(self): - self.env['runtime']['helpManager'].toggleTutorialMode() - #self.env['runtime']['outputManager'].presentText(, interrupt=True) + self.env['runtime']['helpManager'].toggleTutorialMode() return _('Exiting tutorial mode. To enter tutorial mode again press Fenrir+f1') def run(self): - self.env['runtime']['helpManager'].toggleTutorialMode() - self.env['runtime']['outputManager'].presentText( _('Entering tutorial mode. In this mode commands are described but not executed. You can move through the list of commands with the up and down arrow keys. To Exit tutorial mode press Fenrir+f1.'), interrupt=True) + self.env['runtime']['helpManager'].toggleTutorialMode() + if self.env['runtime']['helpManager'].isTutorialMode(): + self.env['runtime']['outputManager'].presentText( _('Entering tutorial mode. In this mode commands are described but not executed. You can move through the list of commands with the up and down arrow keys. To Exit tutorial mode press Fenrir+f1.'), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/commands/commands/toggle_vmenu_mode.py b/src/fenrirscreenreader/commands/commands/toggle_vmenu_mode.py index 1090323e..68881700 100644 --- a/src/fenrirscreenreader/commands/commands/toggle_vmenu_mode.py +++ b/src/fenrirscreenreader/commands/commands/toggle_vmenu_mode.py @@ -15,7 +15,7 @@ class command(): pass def getDescription(self): self.env['runtime']['vmenuManager'].togglelVMenuMode() - return _('Exiting v menu mode.') + return _('Entering or Leaving v menu mode.') def run(self): self.env['runtime']['vmenuManager'].togglelVMenuMode() if self.env['runtime']['vmenuManager'].getActive():