1
0
Fork 0

Swap arguments, source and target language were flipped

This commit is contained in:
Bram Schoenmakers 2024-01-25 12:30:07 +01:00
parent a6cf81c652
commit f62a79d842
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -443,10 +443,10 @@ result is short, otherwise it is displayed in a new buffer."
(let* ((prompt (format "Translate the following text %sto %s:
%s"
target-language
(if source-language
(format "from %s " source-language)
"")
target-language
text))
(result (kagi-fastgpt prompt))
(result-lines (length (string-lines result))))