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

    {% trans "Translate" %}

    {% csrf_token %} {% if antispam %}
    {{ antispam|crispy }}
    {% endif %} {% if secondary %} {% for unit in secondary %}
    {% format_translation unit.target unit.translation.language %}
    {% endfor %} {% endif %} {% if unit.previous_source and unit.fuzzy %}
    {% format_translation unit.source unit.translation.language unit.previous_source %}
    {% endif %}
    {% format_translation unit.source search_match=search_query %}
    {{ form|crispy }}

    {% trans "Nearby messages" %}

    {% for item in unit.nearby %} {% endfor %}
    {% trans "Source" %}{% trans "Translation" %}{% trans "State" %}
    {{ item.position }} {% format_translation item.source %} {% format_translation item.target unit.translation.language %} {{ item.get_state_flags }}
    {% if unit.suggestions %}
    {% csrf_token %}

    {% trans "Suggestions" %}

    {% for suggestion in unit.suggestions %}
    {% if suggestion.user %} {% blocktrans with suggestion.get_user_display as user %}{{ user }} has suggested{% endblocktrans %} {% else %} {% trans "Anonymous user has suggested" %} {% endif %}
    {% format_translation suggestion.target unit.translation.language unit.target %} {% if unit.can_vote_suggestions %}

    {% blocktrans count count=suggestion.get_num_votes %}{{ count }} vote{% plural %}{{ count }} votes{% endblocktrans %}

    {% endif %}
    {% if unit.can_vote_suggestions and perms.trans.vote_suggestion %} {% endif %} {% if not unit.only_vote_suggestions or perms.trans.override_suggestion %} {% if perms.trans.accept_suggestion %} {% endif %} {% if perms.trans.delete_suggestion %} {% endif %} {% endif %}
    {% endfor %}
    {% endif %} {% if others %}

    {% trans "Other translations" %}

    {% for item in others %} {% endfor %}
    {% trans "Component" %}{% trans "Translation" %}{% trans "State" %}
    {{ item.translation.subproject }} {% format_translation item.target item.translation.language unit.target %} {{ item.get_state_flags }} {% if perms.trans.save_translation %} {% trans "Use this translation" %} {% endif %}
    {% endif %}

    {% trans "Loading…" %}

    {% if mt_enabled and perms.trans.use_mt %}

    {% trans "Machine translation" %}

    {% trans "Translation" %} {% trans "Source" %} {% trans "Service" %}
    {% endif %} {% if comments or perms.trans.add_comment %}
    {% if comments %}

    {% trans "Comments" %}

    {% include "list-comments.html" %}
    {% endif %} {% if perms.trans.add_comment %}
    {% csrf_token %}

    {% trans "New comment" %}

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

    {{ comment_form|crispy }}
    {% endif %}
    {% endif %}
    {% with unit.active_checks as checks %} {% if checks or unit.suggestions or others%}

    {% trans "Things to check" %}

    {% if unit.suggestions %}
    {% trans "Suggestions" %} {{ unit.suggestions.count }}
    {% endif %} {% if others %} {% endif %} {% show_checks checks user %} {% if comments %}
    {% trans "Comments" %} {{ comments.count }}
    {% endif %}
    {% endif %} {% endwith %}

    {% trans "Glossary" %}

    {% if glossary %} {% for item in glossary %} {% endfor %}
    {% trans "Source" %} {% trans "Translation" %}
    {{ item.source }} {% format_translation item.target unit.translation.language simple=True %} {% if perms.trans.save_translation %} {% trans "Copy" %} {% endif %}
    {% else %}

    {% trans "No related strings were found in the glossary." %}

    {% endif %}

    {% trans "Source information" %}

    {% if unit.context %} {% endif %} {% if unit.flags %} {% endif %} {% include "unit-details.html" %} {% with unit.active_source_checks as checks %} {% if checks %} {% endif %} {% endwith %}
    {% trans "Context" %}
    {% format_translation unit.context search_match=search_query simple=True %}
    {% trans "Flags" %}
    {{ unit.flags }}
    {% trans "String priority" %}
    {{ unit.source_info.get_priority_display }} {% if perms.trans.edit_priority %} {% endif %}
    {% trans "Failing checks" %}
    {% show_checks checks user %}
    {% if update_lock %} {% endif %} {% endwith %} {% endblock %}