add info to data
This commit is contained in:
parent
c75297324e
commit
43b426212c
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,8 @@ class MastodonEmailBridge:
|
|||
source_language = 'auto'
|
||||
else:
|
||||
source_language = data['language']
|
||||
data['source_language'] = source_language
|
||||
data['destination_language'] = self.config['destination_language']
|
||||
if source_language in self.config['not_translate_language']:
|
||||
return data
|
||||
fields_to_translate = [
|
||||
|
|
Loading…
Reference in a new issue