summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/base.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-15 18:25:05 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-06-15 18:31:14 +0200
commit4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc (patch)
treea95bdb8507a7fe944f59387d0fe9a30c53ac4af6 /searx/templates/oscar/base.html
parent6fb5c6aad920b31599292bdffa1dd2ab2f7d1adc (diff)
downloadsearxng-4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc.tar.gz
searxng-4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc.zip
[enh] add translatable strings to javascript - closes #461
Diffstat (limited to 'searx/templates/oscar/base.html')
-rw-r--r--searx/templates/oscar/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index cd3d23df5..839619976 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -10,7 +10,7 @@
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
{% block meta %}{% endblock %}
-
+ <script src="{{ url_for('js_translations') }}"></script>
<title>{% block title %}{% endblock %}{{ instance_name }}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
{% if preferences.get_value('oscar-style') -%}