2012-02-28 15:00:42 +01:00
|
|
|
{% 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:00:42 +01:00
|
|
|
|
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 }}" />
|
2012-02-28 15:54:04 +01:00
|
|
|
<table class="translator">
|
|
|
|
<tr><th>{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
|
|
|
|
{% if unit.is_plural %}
|
|
|
|
{% else %}
|
|
|
|
<tr><td>{{ unit.source }}</td><td colspan="2">{{ form.target }}</td></tr>
|
|
|
|
{% endif %}
|
|
|
|
<tr><td>{{ unit.location }}</td></tr>
|
|
|
|
<tr><td></td><td>
|
|
|
|
<input type="submit" value="{% trans "Save" %}" />
|
|
|
|
<a href="{{ unit.translation.get_translate_url }}?type={{ type }}&oldpos={{ unit.position }}">{% trans "Skip" %}</a>
|
|
|
|
|
|
|
|
</table>
|
2012-02-28 15:40:08 +01:00
|
|
|
</form>
|
|
|
|
|
2012-02-28 15:00:42 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|