You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the translation result is empty, skip adding a comment
57
-
ifresult=="" {
58
-
s.logger.Infof("No translation needed for comment: %s", text)
59
-
returnnil
60
-
}
61
-
62
78
// Add a note about the translation
63
79
result="> [!NOTE]\n> The following content has been translated from its original language using an automated process powered by a proprietary API. Segments originally written in English have been preserved, while non-English portions have been machine-translated for readability. Please be aware that minor inaccuracies may exist due to the automated nature of the translation.\n\n"+result
0 commit comments