[enh] add translatable strings to javascript - closes #461

This commit is contained in:
Adam Tauber 2020-06-15 18:25:05 +02:00
parent 6fb5c6aad9
commit 4ca0d8cb0f
11 changed files with 20 additions and 11 deletions

View file

@ -1,4 +1,4 @@
/*! simple/searx.min.js | 06-08-2019 | https://github.com/asciimoo/searx */
/*! simple/searx.min.js | 15-06-2020 | */
(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searx={touch:"ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||false,method:a.getAttribute("data-method"),autocompleter:a.getAttribute("data-autocompleter")==="true",search_on_category_select:a.getAttribute("data-search-on-category-select")==="true",infinite_scroll:a.getAttribute("data-infinite-scroll")==="true",static_path:a.getAttribute("data-static-path"),no_item_found:a.getAttribute("data-no-item-found")};e.getElementsByTagName("html")[0].className=t.searx.touch?"js touch":"js"})(window,document);
//# sourceMappingURL=searx.head.min.js.map

View file

@ -1314,7 +1314,7 @@ module.exports = AutoComplete;
})
.catch(function() {
result_table_loadicon.classList.remove('invisible');
result_table_loadicon.innerHTML = "could not load data!";
result_table_loadicon.innerHTML = could_not_load;
});
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -97,7 +97,7 @@
})
.catch(function() {
result_table_loadicon.classList.remove('invisible');
result_table_loadicon.innerHTML = "could not load data!";
result_table_loadicon.innerHTML = could_not_load;
});
}
}