mirror of
https://codeberg.org/aryak/mozhi
synced 2025-06-04 00:41:07 +05:30
add autodetect support for libre, watson, ddg
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user