Display plural units
This commit is contained in:
parent
94db84d86e
commit
7a3d53062a
|
@ -22,16 +22,13 @@
|
||||||
<input type="hidden" name="type" value="{{ type }}" />
|
<input type="hidden" name="type" value="{{ type }}" />
|
||||||
<input type="hidden" name="oldpos" value="{{ unit.position }}" />
|
<input type="hidden" name="oldpos" value="{{ unit.position }}" />
|
||||||
<table class="translator">
|
<table class="translator">
|
||||||
<tr><th class="source">{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
|
<tr><th class="source">{% trans "Source" %}</th><th>{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %}<th></tr>
|
||||||
{% if unit.is_plural %}
|
|
||||||
{% else %}
|
|
||||||
<tr><td class="translatetext">{{ unit.source|fmttranslation }}</td><td>
|
<tr><td class="translatetext">{{ unit.source|fmttranslation }}</td><td>
|
||||||
{{ form.checksum }}
|
{{ form.checksum }}
|
||||||
{{ form.target }}
|
{{ form.target }}
|
||||||
<br />
|
<br />
|
||||||
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
|
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
{% endif %}
|
|
||||||
<tr><th>{% trans "Location" %}</th>
|
<tr><th>{% trans "Location" %}</th>
|
||||||
<th>{% trans "Suggestions" %}</th>
|
<th>{% trans "Suggestions" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user