logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 9a94b36593829907f3ae18a568c13c4d1c875ce6
parent b8d10817568818d388bc464c67c154f1aa9e418d
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date:   Wed,  2 Mar 2016 17:16:46 +0100

[fix] translate plugin name and description in template

Diffstat:

Msearx/templates/oscar/preferences.html4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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>