Display plural units

This commit is contained in:
Michal Čihař 2012-03-01 13:25:20 +01:00
parent 94db84d86e
commit 7a3d53062a

View File

@ -22,16 +22,13 @@
<input type="hidden" name="type" value="{{ type }}" />
<input type="hidden" name="oldpos" value="{{ unit.position }}" />
<table class="translator">
<tr><th class="source">{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
{% if unit.is_plural %}
{% else %}
<tr><th class="source">{% trans "Source" %}</th><th>{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %}<th></tr>
<tr><td class="translatetext">{{ unit.source|fmttranslation }}</td><td>
{{ form.checksum }}
{{ form.target }}
<br />
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
</td></tr>
{% endif %}
<tr><th>{% trans "Location" %}</th>
<th>{% trans "Suggestions" %}</th>
</tr>