Add translation capability
This commit is contained in:
@ -2,26 +2,26 @@
|
||||
vim: ts=2 noexpandtab
|
||||
-->
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ super() }} - Results{% endblock%}
|
||||
{% block title %}{{ super() }} - {{ _("Results") }}{% endblock%}
|
||||
{% set active_page = "search" %}
|
||||
{% block content %}
|
||||
<link href="{{ url_for("static", filename="css/result.css") }}" rel="stylesheet">
|
||||
<script src="{{ url_for("static", filename="js/main.js") }}"></script>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Size</th>
|
||||
<th>Snatches</th>
|
||||
<th>UL</th>
|
||||
<th>DL</th>
|
||||
<th>{{ _("Name") }}</th>
|
||||
<th>{{ _("Size") }}</th>
|
||||
<th>{{ _("Snatches") }}</th>
|
||||
<th>{{ _("UL") }}</th>
|
||||
<th>{{ _("DL") }}</th>
|
||||
</tr>
|
||||
{% for result in results %}
|
||||
<tr>
|
||||
<td><a href="/download/{{ result[0] }}">{{ result[1] }}</a></td>
|
||||
<td>{{ result[2] }}</td>
|
||||
<td>N/A</td>
|
||||
<td>N/A</td>
|
||||
<td>N/A</td>
|
||||
<td>{{ _("N/A") }}</td>
|
||||
<td>{{ _("N/A") }}</td>
|
||||
<td>{{ _("N/A") }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user