Merge branch 'master' into remotesetting
This commit is contained in:
commit
4d98a46ca4
@ -26,7 +26,6 @@ class command():
|
|||||||
return _('checks the spelling of the current word')
|
return _('checks the spelling of the current word')
|
||||||
def updateSpellLanguage(self):
|
def updateSpellLanguage(self):
|
||||||
if not initialized:
|
if not initialized:
|
||||||
self.env['runtime']['outputManager'].presentText(_('pyenchant is not installed'), interrupt=True)
|
|
||||||
return
|
return
|
||||||
self.spellChecker = enchant.Dict(self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage'))
|
self.spellChecker = enchant.Dict(self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage'))
|
||||||
self.language = self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage')
|
self.language = self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage')
|
||||||
|
@ -256,7 +256,10 @@ class settingsManager():
|
|||||||
environment['runtime']['settingsManager'].loadSoundIcons(self.getSetting('sound','theme'))
|
environment['runtime']['settingsManager'].loadSoundIcons(self.getSetting('sound','theme'))
|
||||||
|
|
||||||
environment['runtime']['punctuationManager'] = punctuationManager.punctuationManager()
|
environment['runtime']['punctuationManager'] = punctuationManager.punctuationManager()
|
||||||
environment['runtime']['punctuationManager'].initialize(environment)
|
environment['runtime']['punctuationManager'].initialize(environment)
|
||||||
|
|
||||||
|
environment['runtime']['textManager'] = textManager.textManager()
|
||||||
|
environment['runtime']['textManager'].initialize(environment)
|
||||||
|
|
||||||
if not os.path.exists(self.getSetting('general','punctuationProfile')):
|
if not os.path.exists(self.getSetting('general','punctuationProfile')):
|
||||||
if os.path.exists(settingsRoot + 'punctuation/' + self.getSetting('general','punctuationProfile')):
|
if os.path.exists(settingsRoot + 'punctuation/' + self.getSetting('general','punctuationProfile')):
|
||||||
|
Loading…
Reference in New Issue
Block a user