Commit 2bded08c authored by Michal Čihař's avatar Michal Čihař

Start translation form

parent 57868d5a
...@@ -9,6 +9,12 @@ ...@@ -9,6 +9,12 @@
<p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}</p> <p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}</p>
<form action="{{ unit.translation.get_translate_url }}" method="post">
{% csrf_token %}
<input type="hidden" name="type" value="{{ type }}" />
<input type="hidden" name="oldpos" value="{{ unit.pos }}" />
</form>
{% endblock %} {% endblock %}
......
...@@ -44,4 +44,5 @@ def translate(request, project, subproject, lang): ...@@ -44,4 +44,5 @@ def translate(request, project, subproject, lang):
'title': '%s @ Weblate' % (obj.__unicode__()), 'title': '%s @ Weblate' % (obj.__unicode__()),
'unit': unit, 'unit': unit,
'total': total, 'total': total,
'type': rqtype,
})) }))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment