mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use symfony translator
This commit is contained in:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user