diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-03-21 12:39:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-21 12:39:26 +0100 |
| commit | 30c950a2c7c805debfa5e32efed5eb3ff4e86b64 (patch) | |
| tree | ccda6a40722393bc41e87e447e241f924a5338f7 /searx/static/themes/simple/js/searx.head.js | |
| parent | 12fa524cf7ceb6bb7c85307420551a13e95a1ada (diff) | |
| parent | 6553c7902925809fd1cbc904dd08db035466a6b2 (diff) | |
Merge pull request #2660 from dalf/upd-translations
[mod] replace /translations.js with an embedded JSON
Diffstat (limited to 'searx/static/themes/simple/js/searx.head.js')
| -rw-r--r-- | searx/static/themes/simple/js/searx.head.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/js/searx.head.js b/searx/static/themes/simple/js/searx.head.js index 3ac61c8ae..e6964400b 100644 --- a/searx/static/themes/simple/js/searx.head.js +++ b/searx/static/themes/simple/js/searx.head.js @@ -32,7 +32,7 @@ search_on_category_select: script.getAttribute('data-search-on-category-select') === 'true', infinite_scroll: script.getAttribute('data-infinite-scroll') === 'true', static_path: script.getAttribute('data-static-path'), - no_item_found: script.getAttribute('data-no-item-found') + translations: JSON.parse(script.getAttribute('data-translations')), } // update the css |