From: Radek Czajka Date: Tue, 31 Jan 2012 16:05:03 +0000 (+0100) Subject: l10n X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/b5d3bba7d1d4ff3efeade1ca9433765fc49a495b l10n --- diff --git a/apps/catalogue/templatetags/catalogue_tags.py b/apps/catalogue/templatetags/catalogue_tags.py index e8bc13899..e2aac35c7 100644 --- a/apps/catalogue/templatetags/catalogue_tags.py +++ b/apps/catalogue/templatetags/catalogue_tags.py @@ -350,7 +350,6 @@ def related_books(book, limit=6, random=1): cache_key = "catalogue.related_books.%d.%d" % (book.id, limit - random) related = cache.get(cache_key) if related is None: - print 'not in cache' related = list(Book.objects.filter( common_slug=book.common_slug).exclude(pk=book.pk)[:limit]) limit -= len(related) diff --git a/wolnelektury/locale/pl/LC_MESSAGES/django.mo b/wolnelektury/locale/pl/LC_MESSAGES/django.mo index a590c8c1f..442105574 100644 Binary files a/wolnelektury/locale/pl/LC_MESSAGES/django.mo and b/wolnelektury/locale/pl/LC_MESSAGES/django.mo differ diff --git a/wolnelektury/locale/pl/LC_MESSAGES/django.po b/wolnelektury/locale/pl/LC_MESSAGES/django.po index d0d492abc..4d29aa76a 100644 --- a/wolnelektury/locale/pl/LC_MESSAGES/django.po +++ b/wolnelektury/locale/pl/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WolneLektury\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-01-30 12:37+0100\n" -"PO-Revision-Date: 2012-01-30 12:39+0100\n" +"POT-Creation-Date: 2012-01-31 17:04+0100\n" +"PO-Revision-Date: 2012-01-31 17:04+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" "Language: pl\n" @@ -21,14 +21,14 @@ msgstr "" #: views.py:31 #: views.py:32 -#: templates/base.html:56 +#: templates/base.html:63 msgid "Sign in" msgstr "Zaloguj się" #: views.py:47 #: views.py:48 #: views.py:73 -#: templates/base.html:60 +#: templates/base.html:67 msgid "Register" msgstr "Załóż konto" @@ -73,11 +73,12 @@ msgid "The Wolnelektury.pl site is currently unavailable due to maintainance." msgstr "Serwis Wolnelektury.pl jest obecnie niedostępny z powodu prac konserwacyjnych." #: templates/base.html:9 +#: templates/catalogue/book_text.html:8 #: templates/catalogue/player.html:10 msgid "Wolne Lektury" msgstr "Wolne Lektury" -#: templates/base.html:36 +#: templates/base.html:43 #, python-format msgid "" "\n" @@ -100,23 +101,23 @@ msgstr[2] "" " %(c)s darmowych utworów do których masz prawo\n" " " -#: templates/base.html:47 +#: templates/base.html:54 msgid "Welcome" msgstr "Witaj" -#: templates/base.html:48 +#: templates/base.html:55 msgid "My shelf" msgstr "Moja półka" -#: templates/base.html:50 +#: templates/base.html:57 msgid "Administration" msgstr "Administracja" -#: templates/base.html:52 +#: templates/base.html:59 msgid "Logout" msgstr "Wyloguj" -#: templates/base.html:82 +#: templates/base.html:89 #: templates/catalogue/search_multiple_hits.html:5 #: templates/catalogue/search_no_hits.html:5 #: templates/catalogue/search_no_hits.html:10 @@ -126,11 +127,11 @@ msgstr "Wyloguj" msgid "Search" msgstr "Szukaj" -#: templates/base.html:105 +#: templates/base.html:112 msgid "Language versions" msgstr "Wersje językowe" -#: templates/base.html:135 +#: templates/base.html:142 msgid "" "\n" "\t\t\t\tWolne Lektury is a project lead by Modern Poland Foundation.\n" @@ -143,7 +144,7 @@ msgstr "" "Reprodukcje cyfrowe wykonane przez Bibliotekę Narodową, Bibliotekę Śląską i Bibliotekę Elbląską z egzemplarzy pochodzących ze zbiorów BN, BŚ i BE.\n" "Hosting: ICM." -#: templates/base.html:142 +#: templates/base.html:149 msgid "" "\n" "\t\t\t\tModern Poland Foundation, 00-514 Warsaw, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17\n" @@ -153,11 +154,11 @@ msgstr "" "\n" "Fundacja Nowoczesna Polska, 00-514 Warszawa, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17, e-mail: fundacja@nowoczesnapolska.org.pl" -#: templates/base.html:158 +#: templates/base.html:165 msgid "Close" msgstr "Zamknij" -#: templates/base.html:160 +#: templates/base.html:167 msgid "Loading" msgstr "Ładowanie" @@ -237,8 +238,8 @@ msgstr "" "Audiobooki nagrywają znani aktorzy, wśród nich Danuta Stenka i Jan Peszek." #: templates/catalogue/book_detail.html:18 -#: templates/catalogue/tagged_object_list.html:72 -#: templates/catalogue/tagged_object_list.html:102 +#: templates/catalogue/tagged_object_list.html:74 +#: templates/catalogue/tagged_object_list.html:104 msgid "See also" msgstr "Zobacz też" @@ -327,6 +328,7 @@ msgid "Read online" msgstr "Czytaj online" #: templates/catalogue/book_short.html:84 +#: templates/catalogue/book_text.html:26 #: templates/catalogue/book_wide.html:53 #: templates/lessons/ajax_document_detail.html:3 msgid "Download" @@ -353,8 +355,12 @@ msgstr "Nota red." msgid "Infobox" msgstr "Informacje" +#: templates/catalogue/book_text.html:25 +msgid "Book's page" +msgstr "Strona utworu" + #: templates/catalogue/book_wide.html:14 -#: templates/catalogue/tagged_object_list.html:61 +#: templates/catalogue/tagged_object_list.html:60 msgid "Motifs and themes" msgstr "Motywy i tematy" @@ -413,24 +419,28 @@ msgstr "Pobierz katalog w formacie PDF." #: templates/catalogue/catalogue.html:19 #: templates/catalogue/menu.html:7 +#: templates/catalogue/search_multiple_hits.html:17 #: templates/catalogue/tagged_object_list.html:26 msgid "Authors" msgstr "Autorzy" #: templates/catalogue/catalogue.html:22 #: templates/catalogue/menu.html:17 +#: templates/catalogue/search_multiple_hits.html:25 #: templates/catalogue/tagged_object_list.html:34 msgid "Kinds" msgstr "Rodzaje" #: templates/catalogue/catalogue.html:25 #: templates/catalogue/menu.html:12 +#: templates/catalogue/search_multiple_hits.html:33 #: templates/catalogue/tagged_object_list.html:42 msgid "Genres" msgstr "Gatunki" #: templates/catalogue/catalogue.html:28 #: templates/catalogue/menu.html:22 +#: templates/catalogue/search_multiple_hits.html:41 #: templates/catalogue/tagged_object_list.html:50 msgid "Epochs" msgstr "Epoki" @@ -576,24 +586,24 @@ msgstr "Audiobooki przygotowane w ramach projektu %(cs)s." msgid "Did you mean" msgstr "Czy chodziło Ci o" -#: templates/catalogue/search_multiple_hits.html:18 +#: templates/catalogue/search_multiple_hits.html:54 msgid "Results by authors" msgstr "Znalezieni autorzy" -#: templates/catalogue/search_multiple_hits.html:35 +#: templates/catalogue/search_multiple_hits.html:67 msgid "Results by title" msgstr "Znalezione w tytułach" -#: templates/catalogue/search_multiple_hits.html:52 +#: templates/catalogue/search_multiple_hits.html:82 msgid "Results in text" msgstr "Znalezione w treści" -#: templates/catalogue/search_multiple_hits.html:69 +#: templates/catalogue/search_multiple_hits.html:99 msgid "Other results" msgstr "Inne wyniki" #: templates/catalogue/search_no_hits.html:19 -#: templates/catalogue/tagged_object_list.html:144 +#: templates/catalogue/tagged_object_list.html:146 msgid "Sorry! Search cirteria did not match any resources." msgstr "Przepraszamy! Brak wyników spełniających kryteria podane w zapytaniu." @@ -607,13 +617,13 @@ msgstr "Wyszukiwarka obsługuje takie kryteria jak tytuł, autor, motyw/temat, e msgid "Sorry! Search query must have at least two characters." msgstr "Przepraszamy! Zapytanie musi zawierać co najmniej dwa znaki." -#: templates/catalogue/tagged_object_list.html:76 -#: templates/catalogue/tagged_object_list.html:106 +#: templates/catalogue/tagged_object_list.html:78 +#: templates/catalogue/tagged_object_list.html:108 msgid "in Lektury.Gazeta.pl" msgstr "w serwisie Lektury.Gazeta.pl" -#: templates/catalogue/tagged_object_list.html:81 -#: templates/catalogue/tagged_object_list.html:111 +#: templates/catalogue/tagged_object_list.html:83 +#: templates/catalogue/tagged_object_list.html:113 msgid "in Wikipedia" msgstr "w Wikipedii" @@ -818,9 +828,6 @@ msgstr "Zaloguj się" #~ msgid "on" #~ msgstr "w" -#~ msgid "return to book's page" -#~ msgstr "wróć do strony utworu" - #~ msgid "Listing of all works on WolneLektury.pl" #~ msgstr "Spis wszystkich utworów w WolneLektury.pl" diff --git a/wolnelektury/views.py b/wolnelektury/views.py index 9a0a3f9e3..361ec3745 100755 --- a/wolnelektury/views.py +++ b/wolnelektury/views.py @@ -99,7 +99,6 @@ def publish_plan(request): pass else: for i in range(len(feed['entries'])): - print i plan.append({ 'title': feed['entries'][i].title, 'link': feed['entries'][i].link,