Merge branch 'master' of github.com:chrys87/fenrir

This commit is contained in:
chrys 2016-09-29 20:39:24 +02:00
commit fcea64865b
4 changed files with 5 additions and 3 deletions

View File

@ -19,6 +19,7 @@ ReadWrite permission
- speech-dispatcher, python3-speechd [to use the speech-dispatcher driver] - speech-dispatcher, python3-speechd [to use the speech-dispatcher driver]
- brltty, python-brlapi [for using braille] # (not implemented yet) - brltty, python-brlapi [for using braille] # (not implemented yet)
- gstreamer [for soundicons via gstreamer] # not working yet - gstreamer [for soundicons via gstreamer] # not working yet
- python-enchant for spell check functionality
# installation # installation
Currently there is no setupscript (sorry). But you can just run src/fenrir-package/fenrir.py as root or setup the needed permissions Currently there is no setupscript (sorry). But you can just run src/fenrir-package/fenrir.py as root or setup the needed permissions

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 rat' 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

@ -18,7 +18,7 @@ class command():
return 'You are leving the tutorial mode. Press that shortcut again to enter the tutorial mode again.' return 'You are leving the tutorial mode. Press that shortcut again to enter the tutorial mode again.'
def run(self): def run(self):
text = 'you entered the tutorial mode. In that mode the commands are not executed. but you get an description what the shortcut does. to leve the tutorial mode press that shortcut again.' text = 'you entered the tutorial mode. In that mode the commands are not executed. but you get a description of what the shortcut does. To leve the tutorial mode, press that shortcut again.'
self.env['runtime']['outputManager'].presentText(text, interrupt=True) self.env['runtime']['outputManager'].presentText(text, interrupt=True)
self.env['generalInformation']['tutorialMode'] = True self.env['generalInformation']['tutorialMode'] = True

View File

@ -47,11 +47,12 @@ class punctuationManager():
')':'right paren', ')':'right paren',
'}':'right brace', '}':'right brace',
']':'right bracket', ']':'right bracket',
';':'semi colon', ';':'semicolon',
'/':'slash', '/':'slash',
'*':'star', '*':'star',
'~':'tilde', '~':'tilde',
'_':'line', '_':'line',
'=':'equals',
}, },
'customDict':{ 'customDict':{
'chrys':'awsome', 'chrys':'awsome',