{% load i18n common_tags store_tags cleanhtml cache locale %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} {% cache settings.POOTLE_CACHE_TIMEOUT unit_edit unit.id unit.mtime cantranslate cansuggest canreview altsrcs user.id LANGUAGE_CODE unit.get_terminology %}
{% if priority %} {% endif %} {% if unit.getcontext and unit.locations != unit.context %} {% endif %} {% if unit.locations %} {% endif %} {% with unit.get_terminology as terms %} {% if terms %} {% endif %} {% endwith %} {% if unit.developer_comment %} {% endif %} {% if project.screenshot_search_prefix %} {% endif %}
{% include 'editor/units/xhr_checks.html' %}
{% for altunit in altsrcs %}
{{ altunit.store.translation_project.language.name }}
{% if cansuggest or cantranslate %}
{% endif %}
{% for i, target, title in altunit|pluralize_target %}
{{ target|fancy_highlight }}
{% endfor %}
{% endfor %}
{{ source_language.name }}
{% if cansuggest or cantranslate %} {% endif %}
{% for i, source, title in unit|pluralize_source %}
{{ source|fancy_highlight }}
{% endfor %}
{% if cantranslate %} {% endif %} {% if cansuggest %} {% endif %} {% if cansuggest and cantranslate %} {% endif %}
{{ form.state }} {{ form.state|label_tag:'' }}
{% if unit.submitted_by %}
{% include 'core/_avatar.html' with user=unit.submitted_by %}
{% endif %} {% block target_field %} {{ form.target_f }} {% endblock %}
{% block translator_comment_edit_trigger %} {% if cantranslate %}{% endif %} {% endblock %}
{% if unit.submitted_by and unit.submitted_on %}
{% with reviewer=unit.reviewed_by %} {% if reviewer %}
({% blocktrans with profile_url=reviewer.get_absolute_url%}reviewed by {{ reviewer }}{% endblocktrans %}) {% endif %} {% endwith %}
{% endif %} {% if language.specialchars or language.direction == "rtl" %} {% if cantranslate or cansuggest %}
{% if language.direction == "rtl" %} RLM LRM RLE LRE RLO LRO PDF ZWJ ZWNJ {% endif %} {% for specialchar in language.specialchars %} {% if not specialchar.isspace %} {{ specialchar }} {% else %} {% endif %} {% endfor %}
{% endif %} {% endif %}
{% block translator_comment_form_wrapper %} {% if cantranslate %}
{% block translator_comment_form %} {{ comment_form.translator_comment }} {% endblock %}
{% endif %} {% endblock %}
{% block translator_comment %} {% if unit.translator_comment %}
{% include "editor/units/xhr_comment.html" %}
{% endif %} {% endblock %} {% with unit.get_suggestions as suggestions %} {% if suggestions %}
{% trans 'User suggestions' %}
{% for sugg in suggestions %}
{% if sugg.user %}
{% include 'core/_avatar.html' with user=sugg.user %}
{% endif %}
{% if canreview %} {% elif user.is_authenticated and user == sugg.user %} {% endif %}
{% for i, target, diff, title in sugg|pluralize_diff_sugg %}
{{ diff }}
{% endfor %}
{% block suggestion_comment %}{% endblock %} {% if sugg.creation_time %} {% else %} {% endif%}
{% endfor %}
{% endif %} {% endwith %}
{% endcache %}