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

View File

@ -45,7 +45,7 @@ _:===:line
[customDict] [customDict]
chrys:===:king chrys chrys:===:king chrys
[emojDict] [emojiDict]
:):===: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']['EMOJDICT']) resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOJIDICT'])
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()]