{% extends "base.html" %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% load i18n %} {% load humanize %} {% block breadcrumbs %}
  • {{ object.component.project }}
  • {{ object.component.name }}
  • {{ object.language }}
  • {% endblock %} {% block content %} {% announcements component=object.component language=object.language %} {% include "show-component-state.html" with object=object.component %} {% include "watch-dropdown.html" with project=object.component.project component=object.component %} {% perm 'meta:vcs.status' object as user_can_see_repository_status %} {% perm 'vcs.commit' object as user_can_commit_translation %} {% perm 'upload.overwrite' object as user_can_overwrite_translation %} {% perm 'upload.perform' object as user_can_upload_translation %} {% perm 'unit.add' object as user_can_add_unit %} {% get_translate_url object as translate_url %}

    {% if object.is_source %} {% trans "Source strings" %} {% else %} {% trans "Translation status" %} {% endif %}

    {{ object.stats.all|intcomma }} {% trans "Strings" %} {{ object.stats.translated_percent|percent_format }} {% trans "Translate" %}
    {{ object.stats.all_words|intcomma }} {% trans "Words" %} {{ object.stats.translated_words_percent|percent_format }}
    {% if object.is_source %} {% endif %}

    {% documentation_icon 'user/translating' 'strings-to-check' right=True %} {% trans "Strings status" %}

    {% for c in object.list_translation_checks %} {% endfor %}
    {{ c.2|intcomma }}
    {{ c.1 }} — {% blocktrans with count=c.4|intcomma count cnt=c.4 %}{{ count }} word{% plural %}{{ count }} words{% endblocktrans %}
    {% if other_translations %}

    {% trans "Other components" %}

    {% include "snippets/list-objects.html" with objects=other_translations name_source="component_name" label=_("Component") in_panel=True %}
    {% endif %}

    {% trans "Translation Information" %}

    {% include "component_info.html" with object=object.component %}
    {% trans "Translation file" %} {% if object.filename %} {{ object.filename }} {% else %} {% trans "Not available" %} {% endif %}
    {% include "last-changes-content.html" %} {% trans "Browse all translation changes" %}
    {% if autoform %}

    {% documentation_icon 'user/translating' 'auto-translation' right=True %} {% trans "Automatic translation" %}

    {% trans "Automatic translation takes existing translations in this project and applies them to the current component. It can be used to push translations to a different branch, to fix inconsistent translations or to translate a new component using translation memory." %}

    {% trans "Automatic translation via machine translation uses active machine translation engines to get the best possible translations and applies them in this project." %}

    {% crispy autoform %}
    {% endif %} {% if replace_form %}

    {% trans "Search and replace" %}

    {% trans "You can substitute all instances of a string. The search is a simple substring case sensitive search." %}

    {% csrf_token %} {{ replace_form|crispy }}
    {% endif %} {% if bulk_state_form %}

    {% trans "Bulk edit" %}

    {% trans "You can change the state of all strings matching given type at once." %}

    {% csrf_token %} {{ bulk_state_form|crispy }}
    {% endif %} {% if user_can_add_unit %}

    {% trans "Add new translation string" %}

    {% trans "You can add a new translation string here, it will automatically appear in all translations." %}

    {% csrf_token %} {{ new_unit_form|crispy }}
    {% endif %}

    {% trans "Customize download" %}

    {% csrf_token %} {{ download_form|crispy }}
    {% if user_can_upload_translation %}

    {% trans "Upload" %}

    {% if user_can_overwrite_translation %}

    {% trans "The uploaded file will be merged with the current translation. In case you want to overwrite already translated strings, don't forget to turn it on." %}

    {% else %}

    {% trans "The uploaded file will be merged with the current translation." %}

    {% endif %} {% csrf_token %} {{ form|crispy }}
    {% endif %} {% if announcement_form %}

    {% documentation_icon 'admin/announcements' right=True %} {% trans "Post announcement" %}

    {% csrf_token %} {{ announcement_form|crispy }}

    {% trans "The message is shown on the translation page, until its given expiry, or permanently until it is deleted." %}

    {% endif %} {% if delete_form %} {% include "trans/delete-form.html" %} {% endif %} {% if user_can_see_repository_status %}

    {% trans "Loading…" %}

    {% endif %}

    {% trans "Statistics" %}

    {% trans "Percent" %} {% trans "Strings" %} {% trans "Words" %} {% trans "Chars" %}
    {% trans "Total" %} {{ object.stats.all|intcomma }} {{ object.stats.all_words|intcomma }} {{ object.stats.all_chars|intcomma }}
    {% trans "Translated" %} {{ object.stats.translated_percent|percent_format }} {{ object.stats.translated|intcomma }} {{ object.stats.translated_words|intcomma }} {{ object.stats.translated_chars|intcomma }}
    {% trans "Needs editing" %} {{ object.stats.fuzzy_percent|percent_format }} {{ object.stats.fuzzy|intcomma }} {{ object.stats.fuzzy_words|intcomma }} {{ object.stats.fuzzy_chars|intcomma }}
    {% trans "Failing check" %} {{ object.stats.allchecks_percent|percent_format }} {{ object.stats.allchecks|intcomma }} {{ object.stats.allchecks_words|intcomma }} {{ object.stats.allchecks_chars|intcomma }}

    {% trans "Last activity" %}

    {% trans "Last change" %} {{ object.stats.last_changed }}
    {% trans "Last author" %} {{ object.get_last_author }}
    {% include "activity-tab.html" %}
    {% endblock %}