Use symfony translator

This commit is contained in:
Romain Neutron
2013-11-25 09:07:16 +01:00
parent 71df6e96a3
commit 2ba164701d
325 changed files with 1946 additions and 2145 deletions

View File

@@ -38,7 +38,7 @@
{% macro top_ten_question(home_title, title_left, title_right, item, dmin, dmax)%}
{% if item|length > 0 %}
<table style="margin:0 auto; margin-bottom:30px;">
<caption>{% trans with {'%home_title%' : home_title} %} report:: Volumetrie des questions posees sur %home_title% {% endtrans %}</caption>
<caption>{% trans with {'%home_title%' : home_title} %}report:: Volumetrie des questions posees sur %home_title%{% endtrans %}</caption>
<thead>
<tr>
<th>{{ title_left }}</th>

View File

@@ -33,13 +33,9 @@
{% if total_count > 0 and total_count != 0 %}
<i>
{% if total_count == 1 %}
{% trans %}
1 result
{% endtrans %}
{% trans %}1 result{% endtrans %}
{% else %}
{% trans with {'%total_count%' : total_count} %}
%total_count% results
{% endtrans %}
{% trans with {'%total_count%' : total_count} %}%total_count% results{% endtrans %}
{% endif %}
</i>