Fix translation issues

This commit is contained in:
Nicolas Le Goff
2013-09-05 13:28:45 +02:00
parent 68aeea1d70
commit ed514432ca
10 changed files with 98 additions and 53 deletions

View File

@@ -30,8 +30,19 @@
<div style="clear:both;height:2px;"></div>
<div class="right" style="font-weight:lighter;font-size:10px;">
{% set total_count = result.total %}
{% if result.total > 0 and result.total != 0 %}
<i>{% trans %} Number of result {% plural total_count %} Number of results {% endtrans %} : {{ result.total }}</i>
{% if total_count > 0 and total_count != 0 %}
<i>
{% if total_count == 1 %}
{% trans %}
1 result
{% endtrans %}
{% else %}
{% trans %}
{{ total_count }} results
{% endtrans %}
{% endif %}
</i>
{% endif %}
</div>
<div class="spacer"></div>