logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 08f820d74c7de4309fe8227da5c10e4179cef54f
parent 830f70a6bc2a6e0b7a78d0a13277b28f03c18504
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date:   Sat, 10 Jan 2015 19:42:41 +0100

[enh] make some torrent strings translatable

Diffstat:

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

diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html @@ -15,8 +15,8 @@ </span>{% endif %} {% if result.files %}</br>{{ icon('file') }} {{ _('Number of Files') }} <span class="badge">{{ result.files }}</span>{% endif %}</p> <p class="result-content"> - <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} magnet link</a> - {% if result.torrentfile %}</br><a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} torrent file</a>{% endif %} + <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} {{ _('magnet link') }}</a> + {% if result.torrentfile %}</br><a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} {{ _('torrent file') }}</a>{% endif %} </p> {% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}