mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readerhighlight: fix translator auto lang (#10469)
This commit is contained in:
@@ -1393,7 +1393,7 @@ function ReaderHighlight:getDocumentLanguage()
|
||||
end
|
||||
|
||||
function ReaderHighlight:onTranslateText(text, page, index)
|
||||
Translator:showTranslation(text, true, self:getDocumentLanguage(), nil, true, page, index)
|
||||
Translator:showTranslation(text, true, nil, nil, true, page, index)
|
||||
end
|
||||
|
||||
function ReaderHighlight:onTranslateCurrentPage()
|
||||
|
||||
Reference in New Issue
Block a user