mirror of
https://github.com/searxng/searxng.git
synced 2026-01-01 00:20:02 +00:00
[mod] replace /translations.js by embedded JSON
In webapp.py, there is a new function "get_translations" lists available translations Close #2064
This commit is contained in:
@@ -1529,7 +1529,7 @@ module.exports = AutoComplete;
|
||||
if (searx.autocompleter) {
|
||||
searx.autocomplete = AutoComplete.call(w, {
|
||||
Url: "./autocompleter",
|
||||
EmptyMessage: searx.no_item_found,
|
||||
EmptyMessage: searx.translations.no_item_found,
|
||||
HttpMethod: searx.method,
|
||||
HttpHeaders: {
|
||||
"Content-type": "application/x-www-form-urlencoded",
|
||||
|
||||
Reference in New Issue
Block a user