From 8492f37323c63ac4caed3246077c11bb2c5be79b Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 26 Jul 2014 12:22:33 +0200 Subject: translation stuff (en & fr done) --- themes/default/config.twig | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'themes/default') diff --git a/themes/default/config.twig b/themes/default/config.twig index 160f6046..a65d2b2c 100755 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -124,13 +124,20 @@

{% trans "Click here" %} {% trans "to download your database." %}

{% endif %}

{% trans "Click here" %} {% trans "to export your wallabag data." %}

-

{% trans "Cache" %}

-

{% trans "Click here" %} {% trans "to delete cache." %}

-

{% trans "Fancy an E-Book ?" %}

-

{% trans "Click on this link to get all your articles in one ebook (ePub 3 format)." %} +

{% trans "Click to get all your articles in one ebook :" %} +

+
{% trans "This can take a while and can even fail if you have too many articles, depending on your server configuration." %}

- + + +

{% trans "Cache" %}

+

{% trans "Click here" %} {% trans "to delete cache." %}

+

{% trans 'Add user' %}

{% trans 'Add a new user :' %}

-- cgit v1.2.3 From 5ea5310ab450035143e2f5637f9fa69773f7879b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 14 Dec 2014 15:17:39 +0100 Subject: enable showing or not for epub/mobi/pdf export buttons --- themes/default/home.twig | 18 +++++++++--------- themes/default/view.twig | 4 +++- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'themes/default') diff --git a/themes/default/home.twig b/themes/default/home.twig index 59615691..c5db5802 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig @@ -61,17 +61,17 @@ {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %}
{% if tag %} - {% trans "Download as ePub3" %} - {% trans "Download as Mobi" %} - {% trans "Download as PDF" %} + {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} + {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} + {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} {% elseif searchterm is defined %} - {% trans "Download as ePub3" %} - {% trans "Download as Mobi" %} - {% trans "Download as PDF" %} + {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} + {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} + {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} {% else %} - {% trans "Download as ePub3" %} - {% trans "Download as Mobi" %} - {% trans "Download as PDF" %} + {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} + {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} + {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} {% endif %} {% endif %} diff --git a/themes/default/view.twig b/themes/default/view.twig index 181e1284..8f3a26c3 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -18,7 +18,9 @@ {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numFlattrs }}
  • {% endif %}{% endif %} {% if constant('CARROT') == 1 %}
  • {% trans "carrot" %}
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %} -
  • EPUB
  • + {% if constant('EPUB') == 1 %}
  • EPUB
  • {% endif %} + {% if constant('MOBI') == 1 %}
  • MOBI
  • {% endif %} + {% if constant('PDF') == 1 %}
  • PDF
  • {% endif %}
  • {% trans "Does this article appear wrong?" %}
  • {% if constant('SHOW_READPERCENT') == 1 %}
  • 0%
  • {% endif %} -- cgit v1.2.3