Update translate.go

This commit is contained in:
Vincent Young 2024-10-03 16:07:38 -04:00 committed by GitHub
parent 9e8c68fc94
commit ac8ec23790
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ func TranslateByDeepLX(sourceLang string, targetLang string, translateText strin
if err != nil {
return DeepLXTranslationResult{
Code: http.StatusServiceUnavailable,
Message: "Uknown error",
Message: "Unknown error",
}, nil
}
transport := &http.Transport{