{% extends "mail/base.html" %}

{% load i18n %}{% load translations %}

{% block content %}

{% include "mail/snippets/source-string.html" %}

<h2>{% trans "Translation" %}</h2>

{% format_translation unit.target unit.translation.language unit.translation.plural %}

{% if old %}
<h2>{% trans "Translation change" %}</h2>

{% format_translation unit.target unit.translation.language unit.translation.plural old %}
{% endif %}

<div class="line buttons">
    <a class="button" href="{{ unit.get_absolute_url }}">{% trans "Edit this string" %}</a>
</div>

{% endblock %}
