Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py

changeset 6227
fc0869cd16dc
parent 6048
82ad8ec9548c
child 6412
d71b094845e7
equal deleted inserted replaced
6226:bb6b83b72a5d 6227:fc0869cd16dc
24 class DeepLEngine(TranslationEngine): 24 class DeepLEngine(TranslationEngine):
25 """ 25 """
26 Class implementing the translation engine for the DeepL 26 Class implementing the translation engine for the DeepL
27 translation service. 27 translation service.
28 """ 28 """
29 TranslatorUrl = "https://deepl.com/jsonrpc" 29 TranslatorUrl = "https://www.deepl.com/jsonrpc"
30 MaxTranslationTextLen = 5000 30 MaxTranslationTextLen = 5000
31 31
32 def __init__(self, plugin, parent=None): 32 def __init__(self, plugin, parent=None):
33 """ 33 """
34 Constructor 34 Constructor

eric ide

mercurial