{% load i18n baseurl store_tags cleanhtml %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %}
{{ form.id.as_hidden }} {{ form.index.as_hidden }} {{ form.source_f.as_hidden }}
{% with unit.get_terminology as terms %} {% if terms %} {% endif %} {% endwith %}
{% if unit.get_qualitychecks.count %}
{% trans "Failing Checks" %}
    {% for check in unit.get_qualitychecks.iterator %}
  • {{ check.name }} {% if canreview %} {% endif %}
  • {% endfor %}
{% endif %}
{% if unit.getcontext %} {% ifnotequal unit.locations unit.context %}
{{ unit.getcontext }}
{% endifnotequal %} {% endif %} {% if unit.developer_comment or unit.locations %}
{% if unit.developer_comment %}
{{ unit.developer_comment|linebreaks }}
{% endif %} {% if unit.locations and not unit.developer_comment %}
{{ unit.locations|truncatewords:3 }}
{% endif %}
{% endif %}
{% for altunit in altsrcs %}
{{ altunit.store.translation_project.language.localname }}
{% if cansuggest or cantranslate %}
{% endif %}
{% for i, target, title in altunit|pluralize_target %} {% if title %}
{{ title }}
{% endif %}
{{ target|fancy_highlight }}
{% endfor %}
{% endfor %}
{{ source_language.localname }}
{% if cansuggest or cantranslate %}
{% endif %}
{% for i, source, title in unit|pluralize_source %} {% if title %}
{{ title }}
{% endif %}
{{ source|fancy_highlight }}
{% endfor %}
{% if cantranslate %} {% endif %} {% if cansuggest %} {% endif %}
{{ form.state }} {{ form.state.label_tag }}
{{ form.target_f }}
{% if cantranslate or cansuggest %}
{% for specialchar in language.specialchars %} {% if not specialchar.isspace %} {{ specialchar }} {% else %} {% endif %} {% endfor %}
{% endif %} {% if form.initial.translator_comment or cantranslate %}
{% if form.initial.translator_comment %}
{{ form.translator_comment.label_tag }} {{ form.translator_comment }}
{% else %} {% trans "Add Comment" %}
{{ form.translator_comment }}
{% endif %}
{% endif %} {% if suggestions %}
{% for sugg, sugtitle in suggestions %}
{{ sugtitle }}
{% for i, target, diff, title in sugg|pluralize_diff_sugg %} {% if title %}
{{ title }}
{% endif %}
{{ diff }}
{% endfor %} {% if canreview %} {% else %} {% if user.is_authenticated %} {% ifequal profile sugg.user %} {% endifequal %} {% endif %} {% endif %}
{% endfor %}
{% endif %}