{% load i18n %} {% load humanize %} {% load translations %} {% load urlformat %} {% load permissions %}
{% if language or project or component or translation %}

{% trans "Overview" %}

{% if language %} {% with language.get_aliases_names as aliases %} {% if aliases %} {% endif %} {% endwith %} {% for plural in language.plural_set.order %} {% if plural.number > 1 %} {% for item in plural.list_plurals %} {% if item.index > 1 %} {% endif %} {% endfor %} {% else %} {% endif %} {% endfor %} {% endif %} {% if project %} {% if project.web %} {% endif %} {% if project.instructions %} {% endif %} {% perm 'billing.view' project as user_can_view_billing %} {% if user_can_view_billing %} {% if project.billings %} {% endif %} {% endif %} {% if project.all_admins %} {% endif %} {% endif %} {% if licenses %} {% regroup licenses by license as license_list %} {% endif %} {% if componentlist %} {% for auto in componentlist.autocomponentlist_set.all %} {% endfor %} {% endif %} {% if component %} {% if component.license %} {% endif %} {% if component.agreement %} {% endif %} {% include "snippets/git-info.html" with object=component %} {% if component.template %} {% endif %} {% endif %} {% if translation %} {% endif %}
{% trans "Language code" %} {% if user_can_edit_language %} {% trans "Edit" %} {% endif %} {{ language.code }}
{% trans "Aliased language codes" %} {{ aliases|join:", " }}
{% trans "Text direction" %} {{ language.get_direction_display }}
{% if user_can_edit_language %} {% trans "Edit" %} {% endif %} {% blocktrans with source_description=plural.get_source_display %}Plural: {{ source_description }}{% endblocktrans %} {% blocktrans count count=plural.translation_set.count %}{{ count }} translation{% plural %}{{ count }} translations{% endblocktrans %}
{% trans "Number of plurals" %} {{ plural.number }}
{% trans "Plural type" %} {{ plural.get_type_display }}
{% trans "Plurals" %}
{{ item.name }} {{ item.examples }}
{% trans "Plural formula" %} {{ plural.formula }}
{% trans "Project website" %} {{ project.web | urlformat }}
{% trans "Instructions for translators" %} {{ project.instructions|markdown }}
{% trans "Billing" %} {% for billing in project.billings %} {% include "billing/state-snippet.html" with object=billing %} {% endfor %}
{% trans "Project maintainers" %} {% for admin in project.all_admins %} {{ admin.profile.get_user_display_link }} {% endfor %}
{% trans "Translation license" %} {% for dummy, items in license_list %} {{ items.0.license_badge }} {% for component in items %} {{ component.name }} {% endfor %} {% endfor %}
{%if forloop.first%}{% trans "Automatic component list assignment" %}{% endif %} project ~= {{ auto.project_match }}, component ~= {{ auto.component_match }}
{% trans "Translation process" %}
    {% if component.suggestion_voting and component.suggestion_autoaccept %}
  • {% trans "Translations can only be done through suggestions." %}
  • {% blocktrans count count=component.suggestion_autoaccept %}Suggestions with one vote are automatically accepted as translations.{% plural %}Suggestions are automatically accepted as translations once they have {{ count }} votes.{% endblocktrans %}
  • {% else %}
  • {% trans "Translations can be made directly." %}
  • {% if component.enable_suggestions %}
  • {% trans "Translation suggestions can be made." %}
  • {% else %}
  • {% trans "Translation suggestions are turned off." %}
  • {% endif %} {% endif %} {% if component.project.access_control %}
  • {% trans "Only chosen users can contribute." %}
  • {% else %}
  • {% trans "Any authenticated user can contribute." %}
  • {% endif %} {% if component.template %}
  • {% trans "The translation uses monolingual files." %}
  • {% if component.edit_template %}
  • {% trans "The translation base language is editable." %}
  • {% else %}
  • {% trans "The translation base language can not be edited." %}
  • {% endif %} {% else %}
  • {% trans "The translation uses bilingual files." %}
  • {% endif %}
{% trans "Translation license" %} {% if component.license_url %} {{ component.get_license_display }} {% else %} {{ component.get_license_display }} {% endif %}
{% trans "Contributor agreement" %} {% if user.is_authenticated %} {% trans "View" %} {% endif %} {{ component.agreement|markdown }}
{% trans "File mask" %} {{ component.filemask }}
{% trans "Monolingual base language file" %} {{ component.template }}
{% trans "Translation file" %} {% if translation.filename %} {% trans "Download" %} {{ translation.filename }} {% else %} {% trans "Not available" %} {% endif %}
{% trans "Last change" %} {{ stats.last_changed }}
{% trans "Last author" %} {{ translation.get_last_author }}
{% endif %} {% if top_users %} {# Global stats #}

{% trans "Most active translators" %}

{% for u in top_users %} {% endfor %}
{{ forloop.counter }}. {{ u.get_user_display_link }}
{{ u.translated|intcomma }}
{% endif %}

{% trans "String statistics" %}

{% if show_source %} {% endif %} {% if stats.approved %} {% endif %}
{% trans "Strings percent" %} {% trans "Hosted strings" context "Number of hosted strings" %} {% trans "Words percent" %} {% trans "Hosted words" context "Number of hosted words" %} {% trans "Characters percent" %} {% trans "Hosted characters" context "Number of hosted characters" %}
{% trans "Total" context "Number of strings" %} {{ stats.all|intcomma }} {{ stats.all_words|intcomma }} {{ stats.all_chars|intcomma }}
{% trans "Source" context "Number of strings" %} {{ stats.source_strings|intcomma }} {{ stats.source_words|intcomma }} {{ stats.source_chars|intcomma }}
{% trans "Approved" context "Number of strings" %} {{ stats.approved_percent|percent_format }} {{ stats.approved|intcomma }} {{ stats.approved_words_percent|percent_format }} {{ stats.approved_words|intcomma }} {{ stats.approved_chars_percent|percent_format }} {{ stats.approved_chars|intcomma }}
{% trans "Translated" context "Number of strings" %} {{ stats.translated_percent|percent_format }} {{ stats.translated|intcomma }} {{ stats.translated_words_percent|percent_format }} {{ stats.translated_words|intcomma }} {{ stats.translated_chars_percent|percent_format }} {{ stats.translated_chars|intcomma }}
{% trans "Needs editing" context "Number of strings" %} {{ stats.fuzzy_percent|percent_format }} {{ stats.fuzzy|intcomma }} {{ stats.fuzzy_words_percent|percent_format }} {{ stats.fuzzy_words|intcomma }} {{ stats.fuzzy_chars_percent|percent_format }} {{ stats.fuzzy_chars|intcomma }}
{% trans "Failing checks" context "Number of strings" %} {{ stats.allchecks_percent|percent_format }} {{ stats.allchecks|intcomma }} {{ stats.allchecks_words_percent|percent_format }} {{ stats.allchecks_words|intcomma }} {{ stats.allchecks_chars_percent|percent_format }} {{ stats.allchecks_chars|intcomma }}
{% trans "Strings with suggestions" context "Number of strings" %} {{ stats.suggestions_percent|percent_format }} {{ stats.suggestions|intcomma }} {{ stats.suggestions_words_percent|percent_format }} {{ stats.suggestions_words|intcomma }} {{ stats.suggestions_chars_percent|percent_format }} {{ stats.suggestions_chars|intcomma }}
{% trans "Untranslated strings" context "Number of strings" %} {{ stats.nottranslated_percent|percent_format }} {{ stats.nottranslated|intcomma }} {{ stats.nottranslated_words_percent|percent_format }} {{ stats.nottranslated_words|intcomma }} {{ stats.nottranslated_chars_percent|percent_format }} {{ stats.nottranslated_chars|intcomma }}
{% include "snippets/activity.html" %} {% if show_global %}

{% trans "Global numbers" %}

{{ metrics.projects|number_format }}
{% trans "Projects" %}
{{ metrics.languages|number_format }}
{% trans "Languages" %}
{{ metrics.components|number_format }}
{% trans "Components" %}
{{ metrics.users|number_format }}
{% trans "Users" %}
{% trans "and previous 30 days" %}

{% trans "Trends of last 30 days" %}

{{ metrics.trend_30_projects|trend_format }}
{% trans "Projects" %}
{{ metrics.trend_60_projects|trend_format }}
{{ metrics.trend_30_languages|trend_format }}
{% trans "Languages" %}
{{ metrics.trend_60_languages|trend_format }}
{{ metrics.trend_30_components|trend_format }}
{% trans "Components" %}
{{ metrics.trend_60_components|trend_format }}
{{ metrics.trend_30_users|trend_format }}
{% trans "Users" %}
{{ metrics.trend_60_users|trend_format }}
{% endif %}

{% trans "Quick numbers" %}

{{ metrics.all_words|number_format }}
{% trans "Hosted words" context "Number of hosted words" %}
{{ metrics.all|number_format }}
{% trans "Hosted strings" context "Number of hosted strings" %}
{{ metrics.translated_percent|percent_format }}
{% trans "Translated" %}
{{ metrics.contributors|number_format }}
{% trans "Contributors" %}
{% trans "and previous 30 days" %}

{% trans "Trends of last 30 days" %}

{{ metrics.trend_30_all_words|trend_format }}
{% trans "Hosted words" context "Number of hosted words" %}
{{ metrics.trend_60_all_words|trend_format }}
{{ metrics.trend_30_all|trend_format }}
{% trans "Hosted strings" context "Number of hosted strings" %}
{{ metrics.trend_60_all|trend_format }}
{{ metrics.trend_30_translated_percent|trend_format }}
{% trans "Translated" %}
{{ metrics.trend_60_translated_percent|trend_format }}
{{ metrics.trend_30_contributors|trend_format }}
{% trans "Contributors" %}
{{ metrics.trend_60_contributors|trend_format }}