<commit_before>{% extends "rosetta/base.html" %}
{% load i18n sekizai_tags rosetta %}

{% block title %}
  {% block pagetitle %}{% trans "Translation Statistics" %}{% endblock %}
{% endblock %}

{% block main %}
  <div id="content">
    <table class="list">
      <thead>
        <tr>
          <th>{% trans "Language" %}</th>
          <th colspan="3">{% trans "Progress" %}</th>
          <th>{% trans "Contributors" %}</th>
        </tr>
      </thead>
      <tbody>
        {% for lang in languages %}
            </tr>
            <td><a href="/{{ lang.id }}{{ current_url }}all/">{% trans lang.name %}</a></td>
            {% progressbar lang.progress %}
            <td>{{ lang.people|join:', ' }}</td>
          <tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
  <div id="sidebar">
    <h2>Filter</h2>
    <ul class="object-tools">
      <li{% if not kind %} class="active"{% endif %}>
        <a href="?filter=all">{% trans "All" %}</a>
      </li>
      {% for k in kinds %}
        <li{% if kind == k %} class="active"{% endif %}>
          <a href="?filter={{ k }}">{% trans k|title %}</a>
        </li>
      {% endfor %}
    </ul>
  </div>
{% endblock %}<commit_msg>Pass along the kind filter in links from home<commit_after>{% extends "rosetta/base.html" %}
{% load i18n sekizai_tags rosetta %}

{% block title %}
  {% block pagetitle %}{% trans "Translation Statistics" %}{% endblock %}
{% endblock %}

{% block main %}
  <div id="content">
    <table class="list">
      <thead>
        <tr>
          <th>{% trans "Language" %}</th>
          <th colspan="3">{% trans "Progress" %}</th>
          <th>{% trans "Contributors" %}</th>
        </tr>
      </thead>
      <tbody>
        {% for lang in languages %}
            </tr>
            <td><a href="/{{ lang.id }}{{ current_url }}{{ kind|default:"all" }}/">{% trans lang.name %}</a></td>
            {% progressbar lang.progress %}
            <td>{{ lang.people|join:', ' }}</td>
          <tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
  <div id="sidebar">
    <h2>Filter</h2>
    <ul class="object-tools">
      <li{% if not kind %} class="active"{% endif %}>
        <a href="?filter=all">{% trans "All" %}</a>
      </li>
      {% for k in kinds %}
        <li{% if kind == k %} class="active"{% endif %}>
          <a href="?filter={{ k }}">{% trans k|title %}</a>
        </li>
      {% endfor %}
    </ul>
  </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.2269561655059402, 'fraction_numerical': 0.004096681687832855, 'mean_word_length': 2.048689138576779, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4026430', 'n_tokens_mistral': 905, 'n_tokens_neox': 822, 'n_words': 210}