mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 10:01:48 +00:00
Sequence
This commit is contained in:
1 parent
7809411a91
commit
2f50edf489
1 file changed
+2
-2
+2
-2
@@ -271,9 +271,9 @@ def autoTranslatePost(baseDir: str, postJsonObject: {},
|
||||
_libretranslate(libretranslateUrl, content,
|
||||
lang, systemLanguage,
|
||||
libretranslateApiKey)
|
||||
if removeHtml(translatedText) == removeHtml(content):
|
||||
return content
|
||||
if translatedText:
|
||||
if removeHtml(translatedText) == removeHtml(content):
|
||||
return content
|
||||
translatedText = \
|
||||
'<p>' + translate['Translated'].upper() + '</p>' + \
|
||||
translatedText
|
||||
|
||||
Reference in new issue
Block a user