From d67a6216d43b739f4fb96de140d2e5a68a27a503 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 24 Mar 2018 16:32:40 -0400 Subject: [PATCH] Minor bug fixes. --- .../commands/commands/toggle_auto_indent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/commands/commands/toggle_auto_indent.py b/src/fenrirscreenreader/commands/commands/toggle_auto_indent.py index 40d1bb97..a7a773d9 100644 --- a/src/fenrirscreenreader/commands/commands/toggle_auto_indent.py +++ b/src/fenrirscreenreader/commands/commands/toggle_auto_indent.py @@ -13,14 +13,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('enables or disables automatic reading of idention level changes') + return _('enables or disables automatic reading of indentation level changes') def run(self): self.env['runtime']['settingsManager'].setSetting('general', 'autoPresentIndent', str(not self.env['runtime']['settingsManager'].getSettingAsBool('general', 'autoPresentIndent'))) if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'autoPresentIndent'): - self.env['runtime']['outputManager'].presentText(_("autoident enabled"), soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("autoindent enabled"), soundIcon='', interrupt=True) else: - self.env['runtime']['outputManager'].presentText(_("autoident disabled"), soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("autoindent disabled"), soundIcon='', interrupt=True) def setCallback(self, callback): pass