{% extends "base.html" %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% load i18n %} {% block breadcrumbs %}
  • {{ object.subproject.project }}
  • {{ object.subproject.name }}
  • {{ object.language }}
  • {% endblock %} {% block content %} {% can_see_repository_status user object.subproject.project as user_can_see_repository_status %} {% can_commit_translation user object.subproject.project as user_can_commit_translation %} {% include "show-lock.html" %}

    {% trans "Translation status" %}

    {% if object.is_template %} {% show_message "info" _("This translation is being used as source strings within this component.") %} {% endif %}
    {% trans "Strings" %}{{ object.total }} {% translation_progress object %} {{ object.get_translated_percent }}%
    {% trans "Words" %}{{ object.total_words }} {% words_progress object %} {{ object.get_words_percent }}%
    {% include "legend.html" %}

    {% trans "Strings to check" %}

    {% for c in object.get_translation_checks %} {{ c.2 }}{{ c.1 }} {% endfor %}

    {% trans "Project Information" %}

    {% with object.subproject as object %} {% include "subproject_info.html" %} {% endwith %}
    {% trans "Translation file" %} {{ object.filename }} {% if object.supports_language_pack %} {% endif %}
    {% if other_translations %}

    {% trans "Other components" %}

    {% with other_translations as translations %} {% include "list-translations.html" %} {% endwith %}
    {% endif %}
    {% include "last-changes.html" %}
    {% if autoform %}

    {% 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." %}

    {% csrf_token %} {{ autoform.as_table }}
    {% endif %} {% if perms.trans.upload_translation %}

    {% trans "Upload" %}

    {% if perms.trans.overwrite_translation %}

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

    {% else %}

    {% trans "Uploaded file will be merged with current translation." %}

    {% endif %} {% csrf_token %} {{ form.as_table }}
    {% endif %} {% if user_can_see_repository_status %}

    {% trans "Loading…" %}

    {% endif %}

    {% trans "Locking" %}

    {% trans "Locking the translation will prevent others to work on translation." %}

    {% if object.is_user_locked %}

    {% trans "Locked by:" %} {{ object.get_lock_user_display }}

    {% trans "Lock expires:" %} {{ object.lock_time|naturaltime }}

    {% else %}

    {% trans "Translation is currently not locked." %}

    {% endif %} {% if perms.trans.lock_translation %} {% if object.lock_user == request.user %} {% trans "Unlock" %} {% elif not object.is_user_locked %} {% trans "Lock" %} {% endif %} {% endif %}

    {% trans "Statistics" %}

    {% trans "Percent" %} {% trans "Strings" %} {% trans "Words" %}
    {% trans "Total" %} {{ object.total }} {{ object.total_words }}
    {% trans "Translated" %} {{ object.get_translated_percent }}% {{ object.translated }} {{ object.translated_words }}
    {% trans "Fuzzy" %} {{ object.get_fuzzy_percent }}% {{ object.fuzzy }}
    {% trans "Failing check" %} {{ object.get_failing_checks_percent }}% {{ object.failing_checks }}

    {% trans "Last activity" %}

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