mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-21 15:31:00 +00:00
Merge branch 'main' of https://github.com/LibreTranslate/LibreTranslate into m1
This commit is contained in:
commit
b9293e911a
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ function handleLangsResponse(self, response) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.langs.push({ name: "Auto Detect (Experimental)", code: "auto" })
|
self.langs.push({ name: "Auto Detect", code: "auto", targets: self.langs.map(l => l.code)})
|
||||||
|
|
||||||
const sourceLanguage = self.langs.find(l => l.code === self.getQueryParam("source"))
|
const sourceLanguage = self.langs.find(l => l.code === self.getQueryParam("source"))
|
||||||
const targetLanguage = self.langs.find(l => l.code === self.getQueryParam("target"))
|
const targetLanguage = self.langs.find(l => l.code === self.getQueryParam("target"))
|
||||||
|
|
Loading…
Reference in a new issue