[Update] translation: Add Plamo API support with authentication and translation functionality
This commit is contained in:
@@ -140,6 +140,10 @@ class Model:
|
||||
result = self.translator.authenticationDeepLAuthKey(auth_key)
|
||||
return result
|
||||
|
||||
def authenticationTranslatorPlamoAuthKey(self, auth_key):
|
||||
result = self.translator.authenticationPlamoAuthKey(auth_key)
|
||||
return result
|
||||
|
||||
def startLogger(self):
|
||||
os_makedirs(config.PATH_LOGS, exist_ok=True)
|
||||
file_name = os_path.join(config.PATH_LOGS, f"{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}.log")
|
||||
|
||||
Reference in New Issue
Block a user