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

@@ -1,14 +1,12 @@
<ul>
<li>
{% set nb_view = element.get_view_count|default(0) %}
{% if nb_view == 0 %}
{% if nb_view <= 1 %}
{% trans %}
{{ nb_view }} vue
{% endtrans %}
{% else %}
{% trans %}
{{ nb_view }} vue
{% plural nb_view %}
{{ nb_view }} vues
{% endtrans %}
{% endif %}