{% extends "base.html" %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% load i18n %} {% block breadcrumbs %}
  • {{ object.component.project }}
  • {{ object.component.name }} {% indicate_alerts object %}
  • {{ object.language }}
  • {% endblock %} {% block content %} {% whiteboard_messages component=object.component language=object.language %} {% 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 %} {% include "show-component-state.html" with object=object.component %}

    {% include "snippets/legend-button.html" with button_css="btn-primary" group_css="pull-right flip" %} {% if object.is_template %} {% trans "Source strings" %} {% else %} {% trans "Translation status" %} {% endif %}

    {% trans "Strings" %}{{ object.stats.all }} {% translation_progress object %} {{ object.stats.translated_percent }}% {% trans "Translate" %}
    {% trans "Words" %}{{ object.stats.all_words }} {% words_progress object %} {{ object.stats.translated_words_percent }}%
    {% if object.is_template %} {% endif %}

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

    {% if other_translations %}

    {% trans "Other components" %}

    {% include "snippets/list-objects.html" with objects=other_translations name_template="snippets/list-only-component-name.html" label=_("Component") %}
    {% endif %}

    {% trans "Translation Information" %}

    {% with object.component as object %} {% include "component_info.html" %} {% endwith %}
    {% trans "Translation file" %} {{ object.filename }}
    {% 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 status change" %}

    {% 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 whiteboard_form %}

    {% trans "Add a translation message" %}

    {% csrf_token %} {{ whiteboard_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 }} {{ object.stats.all_words }} {{ object.stats.all_chars }}
    {% trans "Translated" %} {{ object.stats.translated_percent }}% {{ object.stats.translated }} {{ object.stats.translated_words }} {{ object.stats.translated_chars }}
    {% trans "Needs editing" %} {{ object.stats.fuzzy_percent }}% {{ object.stats.fuzzy }} {{ object.stats.fuzzy_words }} {{ object.stats.fuzzy_chars }}
    {% trans "Failing check" %} {{ object.stats.allchecks_percent }}% {{ object.stats.allchecks }} {{ object.stats.allchecks_words }} {{ object.stats.allchecks_chars }}

    {% trans "Last activity" %}

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