소스 검색

[enh] make some torrent strings translatable

Thomas Pointhuber 10 년 전
부모
커밋
08f820d74c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      searx/templates/oscar/result_templates/torrent.html

+ 2
- 2
searx/templates/oscar/result_templates/torrent.html 파일 보기

@@ -15,8 +15,8 @@
15 15
     </span>{% endif %}
16 16
 {% if result.files %}</br>{{ icon('file') }} {{ _('Number of Files') }} <span class="badge">{{ result.files }}</span>{% endif %}</p>
17 17
 <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 %}
20 20
 </p>
21 21
 
22 22
 {% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}