add autodetect support for libre, watson, ddg

This commit is contained in:
2023-08-16 13:15:21 +05:30
parent 75f94266d7
commit 6b7a9b3f0d
5 changed files with 49 additions and 3 deletions

View File

@@ -232,5 +232,12 @@ func LangListWatson(listType string) []List {
Name: "Welsh",
},
}
if listType == "sl" {
auto := List{
Id: "auto",
Name: "Detect Language",
}
ListData = append(ListData, auto)
}
return ListData
}