]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - www/templates/translations.html
Initial checkin.
[people/shoehn/ipfire.org.git] / www / templates / translations.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Translations") }}{% end block %}
4
5 {% block content %}
6 <h3>IPFire {{ _("Translation Status") }}</h3>
7
8 <div id="tabs">
9 <ul>
10 {% for project in projects %}
11 <li>
12 <a href="#{{ project.id }}">{{ project.name }}</a>
13 </li>
14 {% end %}
15 </ul>
16 </div>
17
18 {% for project in projects %}
19 <div id="{{ project.id }}">
20 <p><strong>{{ _("Description") }}:</strong> {{ project.desc }}</p>
21 <br />
22 <table class="translate">
23 <tr>
24 <th>{{ _("Language") }}</th>
25 <th>{{ _("Translated") }}</th>
26 <th>{{ _("Untranslated") }}</th>
27 <th>{{ _("Fuzzy") }}</th>
28 <th>{{ _("Status") }}</th>
29 </tr>
30
31 {% for translation in project.translations %}
32 <tr>
33 <td class="lang"><img src="{{ static_url("images/flags/%s.png" % translation.code) }}"
34 alt="{{ translation.code }}" />{{ translation.lang }}</td>
35 <td>{{ translation.translated }}</td>
36 <td>{{ translation.untranslated }}</td>
37 <td>{{ translation.fuzzy }}</td>
38 <td>{{ translation.percent }}</td>
39 </tr>
40 {% end %}
41 </table>
42 {% end %}
43
44 <p class="right">
45 <strong>{{ _("Template") }}</strong> - {{ project.total_strings }} strings
46 </p>
47 {% end block %}
48
49 {% block javascript %}
50 <script type="text/javascript">
51 $(function() {
52 $("#tabs").tabs();
53 });
54 </script>
55 {% end block %}