diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-06-15 18:25:05 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-15 18:31:14 +0200 |
commit | 4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc (patch) | |
tree | a95bdb8507a7fe944f59387d0fe9a30c53ac4af6 /searx/templates/simple | |
parent | 6fb5c6aad920b31599292bdffa1dd2ab2f7d1adc (diff) | |
download | searxng-4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc.tar.gz searxng-4ca0d8cb0fd6c0e6b1301a6e8577aea6d928e9dc.zip |
[enh] add translatable strings to javascript - closes #461
Diffstat (limited to 'searx/templates/simple')
-rw-r--r-- | searx/templates/simple/base.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 650ef771c..5cb1e1757 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -12,6 +12,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"> <title>{% block title %}{% endblock %}{{ instance_name }}</title> {% block meta %}{% endblock %} + <script src="{{ url_for('js_translations') }}"></script> {% if rtl %} <link rel="stylesheet" href="{{ url_for('static', filename='css/searx-rtl.min.css') }}" type="text/css" media="screen" /> {% else %} |