mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
@@ -45,7 +45,7 @@ class LibreTranslateAPI {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async translate(query, targetLanguages = ['zh-Hant', 'en']) {
|
async translate(query, targetLanguages) {
|
||||||
console.log(query);
|
console.log(query);
|
||||||
const result = {action: false, passage: []};
|
const result = {action: false, passage: []};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user