fix in librarian
[wolnelektury.git] / apps / pdcounter / templates / pdcounter / author_detail.html
index 3810a45..50eef63 100644 (file)
@@ -1,9 +1,10 @@
 {% extends "base.html" %}
 {% load i18n %}
+{% load time_tags %}
 
 {% block titleextra %}{{ author.name }}{% endblock %}
 
-{% block metadescription %}Licznik domeny publicznej: {{author.name}}.{% endblock %}
+{% block metadescription %}{% trans "Public domain counter" %}: {{author.name}}.{% endblock %}
 
 {% block bodyid %}author-detail{% endblock %}
 
             {% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}</p>
         {% else %}
             {% if author.in_pd %}
-                <p>{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}</p>
+                <p>{% trans "This author's works are in public domain and will be published on Internet library of Wolne Lektury soon." %}</p>
             {% else %}
                 <div>
                     <p>{% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}</p>
-                    <div id='countdown' data-year='{{ pd_counter }}'></div>
+                    <div class='countdown' data-until='{{ pd_counter|date_to_utc|utc_for_js }}'></div>
                     <p>{% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}</p>
                 </div>
             {% endif %}