mirror of https://github.com/searx/searx
[fix] translate plugin name and description in template
This commit is contained in:
parent
b8d1081756
commit
9a94b36593
|
@ -191,10 +191,10 @@
|
||||||
{% for plugin in plugins %}
|
{% for plugin in plugins %}
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title">{{ plugin.name }}</h3>
|
<h3 class="panel-title">{{ _(plugin.name) }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<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">
|
<div class="col-xs-6 col-sm-4 col-md-6">
|
||||||
{{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }}
|
{{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue