X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fdefault%2Fhome.twig;h=59615691c23ca273587a40f13cc9de567ff8f7c1;hb=dc69d3e8d895c87f9d26c2d1309e40d6090d4c8d;hp=093c2dc5e20b04076dc767143b89ec1b01c9de6b;hpb=78abff6a5221e9e3d498c06266d408ecd57d04ef;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/default/home.twig b/themes/default/home.twig index 093c2dc5..59615691 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig @@ -31,13 +31,13 @@ {% 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 searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
{{ page_links | raw }}
{% elseif nb_results == 1 %} - {% if search_term is defined %} + {% if searchterm is defined %}
-
{% trans "Only one result found for " %} « {{ search_term }} »
+
{% trans "Only one result found for " %} « {{ searchterm }} »
{% endif %} {% endif %} @@ -57,12 +57,22 @@ {% endfor %} {{ block('pager') }} + {% if view == 'home' %}{% if nb_results > 1 %}

{% trans "Mark all the entries as read" %}

{% endif %}{% endif %} + {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %}
- {% if view == 'home' %}{% if nb_results > 1 %}{% trans "mark all the entries as read" %}{% endif %}{% endif %} - - {% if tag %}{% trans "Download the articles from this tag in an epub" %} - {% elseif search_term is defined %}{% trans "Download the articles from this search in an epub" %} - {% else %}{% trans "Download the articles from this category in an epub" %}{% endif %} + {% if tag %} + {% trans "Download as ePub3" %} + {% trans "Download as Mobi" %} + {% trans "Download as PDF" %} + {% elseif searchterm is defined %} + {% trans "Download as ePub3" %} + {% trans "Download as Mobi" %} + {% trans "Download as PDF" %} + {% else %} + {% trans "Download as ePub3" %} + {% trans "Download as Mobi" %} + {% trans "Download as PDF" %} + {% endif %} {% endif %} {% endblock %}