summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2016-03-02 17:16:46 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2016-03-02 17:16:46 +0100
commit9a94b36593829907f3ae18a568c13c4d1c875ce6 (patch)
tree7b17af059873502f5bf205e4aa5922a58279f9dc /searx/templates/oscar/preferences.html
parentb8d10817568818d388bc464c67c154f1aa9e418d (diff)
downloadsearxng-9a94b36593829907f3ae18a568c13c4d1c875ce6.tar.gz
searxng-9a94b36593829907f3ae18a568c13c4d1c875ce6.zip
[fix] translate plugin name and description in template
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index ea36a14b9..c677a0c66 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -191,10 +191,10 @@
{% for plugin in plugins %}
<div class="panel panel-default">
<div class="panel-heading">
- <h3 class="panel-title">{{ plugin.name }}</h3>
+ <h3 class="panel-title">{{ _(plugin.name) }}</h3>
</div>
<div class="panel-body">
- <div class="col-xs-6 col-sm-4 col-md-6">{{ plugin.description }}</div>
+ <div class="col-xs-6 col-sm-4 col-md-6">{{ _(plugin.description) }}</div>
<div class="col-xs-6 col-sm-4 col-md-6">
{{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }}
</div>