[enh] make some torrent strings translatable
commit08f820d74c7de4309fe8227da5c10e4179cef54f
authorThomas Pointhuber <thomas.pointhuber@gmx.at>
dateSat 10 Jan 2015, 19:42 (12 years ago)
parent830f70a
searx/templates/oscar/result_templates/torrent.html+2−2
@@ -15,8 +15,8 @@
1515 </span>{% endif %}
1616{% if result.files %}</br>{{ icon('file') }} {{ _('Number of Files') }} <span class="badge">{{ result.files }}</span>{% endif %}</p>
1717<p class="result-content">
18− <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} magnet link</a>
19− {% if result.torrentfile %}</br><a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} torrent file</a>{% endif %}
18+ <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} {{ _('magnet link') }}</a>
19+ {% if result.torrentfile %}</br><a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} {{ _('torrent file') }}</a>{% endif %}
2020</p>
2121
2222{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}