diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-10 19:42:41 +0100 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-10 19:42:41 +0100 |
| commit | 08f820d74c7de4309fe8227da5c10e4179cef54f (patch) | |
| tree | d6b03e7ff4eb6c5b19fe13b95be92a7c73adcb8d /searx | |
| parent | 830f70a6bc2a6e0b7a78d0a13277b28f03c18504 (diff) | |
[enh] make some torrent strings translatable
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/templates/oscar/result_templates/torrent.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html index f62a7a85b..5268869ca 100644 --- 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 %}
|