{% extends "base.html" %}
{% load i18n %}
{% load translations %}

{% block breadcrumbs %}
<li><a href="{% url 'languages' %}">{% trans "Languages" %}</a></li>
{% endblock %}

{% block content %}

<table class="sort table">
<thead>
<tr>
<th>{% trans "Language" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
<th colspan="2">{% trans "Words" %}</th>
</tr>
<tbody>
{% for lang in languages %}
<tr>
<th><a href="{{ lang.get_absolute_url }}">{{ lang }}</a></th>
<td class="progress-cell">{% translation_progress lang %}</td>
<td class="percent">{{ lang.get_translated_percent }}%</td>
<td class="progress-cell">{% generic_progress lang.get_words_percent %}</td>
<td class="percent">{{ lang.get_words_percent }}%</td>
</tr>
{% endfor %}
</tbody>
</table>

{% include "legend.html" %}

{% endblock %}
