From 4555c38d3b857bf91ed383f379d9697ed6a79860 Mon Sep 17 00:00:00 2001 From: tcit Date: Wed, 14 May 2014 19:08:33 +0200 Subject: [PATCH] Changed theme for better translation method --- themes/baggy/home.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 92a3c8664..8df5ce1ca 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -25,7 +25,7 @@ {% block pager %} {% if nb_results > 1 %}
-
{{ nb_results }} {% trans "results" %}{% if search_term is defined %}{% trans " found for « " %} {{ search_term }} »{% endif %}
+
{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}
{{ page_links | raw }}
{% elseif nb_results == 1 %} @@ -57,7 +57,7 @@ {% endfor %} {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} - {% if search_term is defined %}{% trans "Apply the tag" %} {{ search_term }} {% trans "to this search" %}{% endif %} + {% if search_term is defined %}{% trans %} Apply the tag {{ search_term }} to this search {% endtrans %}{% endif %} {% endif %} {{ block('pager') }} {% endblock %}