Merge branch 'deepl_pro' into develop
This commit is contained in:
@@ -582,7 +582,7 @@ def callbackSetCtranslate2WeightType(value):
|
|||||||
def callbackSetDeeplAuthKey(value):
|
def callbackSetDeeplAuthKey(value):
|
||||||
print("callbackSetDeeplAuthKey", str(value))
|
print("callbackSetDeeplAuthKey", str(value))
|
||||||
view.clearNotificationMessage()
|
view.clearNotificationMessage()
|
||||||
if len(value) == 39:
|
if len(value) == 36 or len(value) == 39:
|
||||||
result = model.authenticationTranslatorDeepLAuthKey(auth_key=value)
|
result = model.authenticationTranslatorDeepLAuthKey(auth_key=value)
|
||||||
if result is True:
|
if result is True:
|
||||||
key = value
|
key = value
|
||||||
|
|||||||
Reference in New Issue
Block a user