From a6dc85092e63c71c1c11e01a2e56f8d4026f309c Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Mon, 2 Jul 2012 14:05:51 +0200 Subject: [PATCH] Add translation strings --- templates/web/report/generate_tab.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/web/report/generate_tab.twig b/templates/web/report/generate_tab.twig index 40e255f84a..08f7b7bfe9 100644 --- a/templates/web/report/generate_tab.twig +++ b/templates/web/report/generate_tab.twig @@ -29,8 +29,9 @@
{{ result.periode }}
- {% if result.total|length > 0 and result.total != 0 %} - Nombre de résultat : {{ result.total }} + {% set total_count = result.total %} + {% if result.total > 0 and result.total != 0 %} + {% trans %} Number of result {% plural total_count %} Number of results {% endtrans %} : {{ result.total }} {% endif %}