X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bc880d2824c5400c2096e642ba76fdd8bbf95b34..7d88dafd94f9bd8316f4828c13ee88bf87552348:/wolnelektury/templates/catalogue/tagged_object_list.html diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html index f5b896c8f..07fda03ad 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags %} +{% load catalogue_tags pagination_tags switch_tag %} {% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %} @@ -24,7 +24,7 @@ {{ last_tag.description|safe }}
-

{% trans "Toggle description" %} ▲

+

{% trans "Hide description" %} ▲

{% endif %} {% if shelf_is_set %} @@ -34,6 +34,7 @@

{% trans "Choose books' formats which you want to download:" %}

  • {% trans "for reading" %} {% trans "and printing using" %} Adobe Reader
  • +
  • {% trans "for reading" %} {% trans "and editing using" %} OpenOffice.org
  • {% trans "for reading" %} {% trans "on small displays, for example mobile phones" %}
  • {% trans "for listening" %} {% trans "on favourite MP3 player" %}
  • @@ -42,7 +43,7 @@
    - {% if my_shelf_is_set %} + {% if user_is_owner %}

    {% trans "Share this shelf" %}

    {% trans "Copy this link and share it with other people to let them see your shelf." %} @@ -53,22 +54,34 @@ {% endif %} {% if last_tag.gazeta_link %}

    - {% ifequal last_tag.category "author" %} - {% trans "Read work's study of this author on Lektury.Gazeta.pl" %} - {% endifequal %} - {% ifequal last_tag.category "epoch" %} - {% trans "Read study of epoch" %} {{ last_tag }} {% trans "on Lektury.Gazeta.pl" %} - {% endifequal %} + {% switch last_tag.category %} + {% case "author" %} + {% trans "Read work's study of this author on Lektury.Gazeta.pl" %} + {% case "epoch" %} + {% blocktrans %}Read study of epoch {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %} + {% case "kind" %} + {% blocktrans %}Read study of kind {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %} + {% case "genre" %} + {% blocktrans %}Read study of genre {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %} + {% else %} + {% trans "Read related study on Lektury.Gazeta.pl" %} + {% endswitch %}

    {% endif %} {% if last_tag.wiki_link %}

    - {% ifequal last_tag.category "author" %} - {% trans "Read article about this author on Wikipedia" %} - {% endifequal %} - {% ifequal last_tag.category "epoch" %} - {% trans "Read article about epoch" %} {{ last_tag }} {% trans "on Wikipedia" %} - {% endifequal %} + {% switch last_tag.category %} + {% case "author" %} + {% trans "Read article about this author on Wikipedia" %} + {% case "epoch" %} + {% blocktrans %}Read article about epoch {{ last_tag }} on Wikipedia{% endblocktrans %} + {% case "kind" %} + {% blocktrans %}Read article about kind {{ last_tag }} on Wikipedia{% endblocktrans %} + {% case "genre" %} + {% blocktrans %}Read article about genre {{ last_tag }} on Wikipedia{% endblocktrans %} + {% else %} + {% trans "Read related article on Wikipedia" %} + {% endswitch %}

    {% endif %} @@ -92,15 +105,14 @@ {% else %} {% comment %} Is dead, but not yet in public domain {% endcomment %}
    -

    {% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in:" %}

    +

    {% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}

    {% include "catalogue/pd_counter.html" %} -

    Dowiedz się, dlaczego biblioteki internetowe - nie mogą udostępniać dzieł tego autora.

    +

    {% trans "Find out why Internet libraries can't publish this author's works." %}

    {% endif %} {% endif %} {% else %} - {% trans "No works of this author found." %} + {% trans "Sorry! Search cirteria did not match any resources." %} {% endif %} {% include "info/join_us.html" %} {% endif %}