This commit is contained in:
chrys 2016-10-12 22:33:41 +02:00
parent d6e9676c8c
commit f42ae05e55
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ _:===:line
[customDict] [customDict]
chrys:===:king chrys chrys:===:king chrys
[emojiDict] [emoticonDict]
:):===:smile :):===:smile
;):===:twinker ;):===:twinker
XD:===:loool XD:===:loool

View File

@ -41,7 +41,7 @@ class punctuationManager():
resultText = text resultText = text
resultText = self.useCustomDict(resultText, self.env['punctuation']['CUSTOMDICT']) resultText = self.useCustomDict(resultText, self.env['punctuation']['CUSTOMDICT'])
if self.env['runtime']['settingsManager'].getSetting('general', 'emoticons'): if self.env['runtime']['settingsManager'].getSetting('general', 'emoticons'):
resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOJIDICT']) resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOTICONDICT'])
currPunctLevel = '' currPunctLevel = ''
if not ignorePunctuation and self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower() in self.env['punctuation']['LEVELDICT']: if not ignorePunctuation and self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower() in self.env['punctuation']['LEVELDICT']:
currPunctLevel = self.env['punctuation']['LEVELDICT'][self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()] currPunctLevel = self.env['punctuation']['LEVELDICT'][self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()]