From 750d904a16465bb01eac64e87aba0b27c6fb7d12 Mon Sep 17 00:00:00 2001 From: tcit Date: Fri, 17 Oct 2014 21:08:08 +0200 Subject: fix translation issues --- themes/baggy/home.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index e788b588..157615ae 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -57,9 +57,9 @@ {% endfor %} {{ block('pager') }} - {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} + {% if view == 'home' %}{% if nb_results > 1 %}{% trans "Mark all the entries as read" %}{% endif %}{% endif %} - {% if search_term is defined %}{% trans %} Apply the tag {{ search_term }} to this search {% endtrans %}{% endif %} + {% if search_term is defined %}{% trans %}Apply the tag {{ search_term }} to this search{% endtrans %}{% 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" %} -- cgit v1.2.3 From 1b6e21d7a657c87a48efe02a1191d06682c64829 Mon Sep 17 00:00:00 2001 From: tcit Date: Mon, 27 Oct 2014 15:12:46 +0100 Subject: translation fix finished for #871 and bring add tag from search feature to all themes --- themes/baggy/home.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 157615ae..a870fc21 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -59,7 +59,8 @@ {{ block('pager') }} {% if view == 'home' %}{% if nb_results > 1 %}{% trans "Mark all the entries as read" %}{% endif %}{% endif %} - {% if search_term is defined %}{% trans %}Apply the tag {{ search_term }} to this search{% endtrans %}{% endif %} + {% if searchterm is defined %} +{% trans "Tag these results as" %} {{ searchterm }}{% 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" %} -- cgit v1.2.3 From c9e6fec4bf47042c2693c5e163b2a0cbd878d54d Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Thu, 30 Oct 2014 11:20:05 -0400 Subject: Fixing display mode switching in Baggy theme (issue #896) --- themes/baggy/home.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index a870fc21..03de6b9b 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -38,7 +38,7 @@ {% endblock %}
{% for entry in entries %} -
+

{{ entry.title|raw }}

{% if entry.content| getReadingTime > 0 %} -- cgit v1.2.3 From cc1f78a83d731fe0e325fbe4079aebec64f5f043 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 2 Nov 2014 13:37:44 -0500 Subject: Many small UI changes/fixes to Baggy theme and English translation files. May need review. --- themes/baggy/home.twig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 03de6b9b..dec848f2 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -41,9 +41,9 @@

{{ entry.title|raw }}

{% if entry.content| getReadingTime > 0 %} - +
{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min
{% else %} -
+
{% trans "estimated reading time :" %} < 1 min
{% endif %}
{{ block('pager') }} - {% if view == 'home' %}{% if nb_results > 1 %}{% trans "Mark all the entries as read" %}{% endif %}{% endif %} + {% 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 searchterm is defined %}

+{% trans "Tag these results as" %} {{ searchterm }}

{% 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 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 %} {% endif %} {% endblock %} -- cgit v1.2.3