xmpp.chapril.org-conversejs/html/translate.html

45 lines
1.4 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
{% load i18n %}
{% block content %}
{% include "translation_info.html" %}
2012-02-28 15:09:03 +01:00
<h2>{% trans "Translate" %}</h2>
2012-02-28 15:36:48 +01:00
<p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}</p>
2012-02-28 15:40:08 +01:00
<form action="{{ unit.translation.get_translate_url }}" method="post">
{% csrf_token %}
<input type="hidden" name="type" value="{{ type }}" />
2012-02-28 15:40:51 +01:00
<input type="hidden" name="oldpos" value="{{ unit.position }}" />
<table class="translator">
<tr><th>{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
{% if unit.is_plural %}
{% else %}
2012-02-29 11:41:08 +01:00
<tr><td>{{ unit.source }}</td><td colspan="2">
{{ form.checksum }}
{{ form.target }}
<br />
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
</td></tr>
{% endif %}
2012-02-29 11:21:06 +01:00
<tr><th>{% trans "Location" %}</th></tr>
2012-02-28 16:01:07 +01:00
<tr><td>{{ unit.get_location_links }}</td></tr>
2012-02-29 11:21:06 +01:00
<tr><th>{% trans "Flags" %}</th></tr>
<tr><td>{{ unit.flags }}</td></tr>
2012-02-29 13:19:02 +01:00
<tr><td class="right">
<a class="button" href="{{ unit.translation.get_translate_url }}?type={{ type }}&amp;oldpos={{ unit.position }}&amp;dir=back">{% trans "Previous" %}</a>
<a class="button" href="{{ unit.translation.get_translate_url }}?type={{ type }}&amp;oldpos={{ unit.position }}">{% trans "Next" %}</a>
</td><td>
<input class="button" type="submit" value="{% trans "Save" %}" />
</td></tr>
</table>
2012-02-28 15:40:08 +01:00
</form>
{% endblock %}