{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load static %} {% load translations %} {% block extra_meta %} {% endblock %} {% block breadcrumbs %}
  • {{ unit.translation.subproject.project }}
  • {{ unit.translation.subproject.name }}
  • {{ unit.translation.language }}
  • {% trans "translate" %}
  • {% endblock %} {% block content %} {% with unit.translation as object %} {% include "show-lock.html" %} {% endwith %} {% if perms.trans.save_translation %} {% endif %}

    {% trans "Translate" %}

    {% trans "First" %} {% trans "Previous" %} {% blocktrans with unit.position as position %}{{ position }} / {{ total }}{% endblocktrans %} {% trans "Next" %} {% trans "Last" %} {% if filter_name %} {% blocktrans %}Current filter: {{ filter_name }} ({{ filter_pos }} / {{ filter_count }}){% endblocktrans %} {% endif %}
    {% csrf_token %} {% if antispam %}
    {{ antispam }}
    {% endif %} {% if secondary %} {% for unit in secondary %} {% endfor %} {% endif %} {% if unit.previous_source and unit.fuzzy %} {% endif %} {% if unit.context %} {% endif %} {% with unit.active_checks as checks %} {% if checks %} {% endif %} {% endwith %} {% with unit.suggestions as suggestions %} {% if suggestions %} {% endif %} {% endwith %} {% include "unit-details.html" %} {% if unit.flags %} {% endif %}
    {{ unit.translation.language }} {{ unit.target|fmttranslation:unit.translation.language }}
    {% trans "Source change" %} {{ unit.previous_source|fmtsourcediff:unit }}
    {% trans "Source" %} {{ unit.source|fmtsearchmatch:search_query }}
    {% trans "Context" %} {{ unit.context|fmtsearchmatch:search_query }}
    {% trans "Copy" %} {% if unit.translation.language.direction == "rtl" %} {% endif %}
    {% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %} {{ form.checksum }} {{ form.target }}
    {{ form.fuzzy }} {% trans "Special characters:" %}
    {% trans "Failing checks" %} {% show_checks checks user %}
    {% trans "Suggestions" %} {% for suggestion in suggestions %} {% endfor %}
    {{ suggestion.target|fmttranslationdiff:unit }}
    {% if suggestion.user %} {% blocktrans with suggestion.get_user_display as user %}Suggested by {{ user }}{% endblocktrans %} {% else %} {% trans "Suggested by anonymous user" %} {% endif %} {% if unit.can_vote_suggestions %} {% blocktrans count count=suggestion.get_num_votes %}, {{ count }} vote{% plural %}, {{ count }} votes{% endblocktrans %} {% endif %}
    {% trans "Flags" %} {{ unit.flags }}
    {% if not unit.only_vote_suggestions or perms.trans.override_suggestion %} {% if perms.trans.save_translation %} {% else %} {% url 'login' as login_url %} {% with unit.translation.get_translate_url as translate_url %} {% blocktrans %}Log in for saving translations.{% endblocktrans %} {% endwith %} {% endif %} {% endif %} {% if perms.trans.add_suggestion %} {% else %} {% trans "No privileges for adding suggestions!" %} {% endif %} {% if perms.trans.save_translation %} {% endif %}

    {% trans "Translation context" %}

    {% with unit.get_comments as comments and unit.get_source_comments as source_comments %}
    {% for item in unit.nearby %} {% endfor %}
    {% trans "Source" %}{% trans "Translation" %}{% trans "State" %}
    {{ item.position }} {{ item.source|fmttranslation }} {{ item.target|fmttranslation:unit.translation.language }} {{ item.get_state_flags }}
    {% if mt_enabled and perms.trans.use_mt %}
    {% trans "Translation" %} {% trans "Source" %} {% trans "Service" %}
    {% endif %}

    {% trans "You can share comments about this translation with other translators." %}

    {% include "list-comments.html" %}
    {% trans "New comment" %} {% if perms.trans.add_comment %}
    {% csrf_token %} {{ comment_form.comment }}
    {% else %} {% trans "You are not allowed to add comments." %} {% endif %}
    {% with unit.active_source_checks as checks %} {% if checks %}

    {% trans "Failing checks" %}

    {% show_checks checks user %} {% endif %} {% endwith %}

    {% trans "User comments" %}

    {% trans "You can share comments about source string for this translation with other translators and developers." %}

    {% with source_comments as comments %} {% include "list-comments.html" %} {% endwith %}
    {% trans "New comment" %} {% if perms.trans.add_comment %}
    {% csrf_token %} {{ comment_form.comment }}
    {% else %} {% trans "You are not allowed to add comments." %} {% endif %}
    {% endwith %} {% endblock %}