From b5d3bba7d1d4ff3efeade1ca9433765fc49a495b Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 31 Jan 2012 17:05:03 +0100 Subject: [PATCH] l10n --- apps/catalogue/templatetags/catalogue_tags.py | 1 - wolnelektury/locale/pl/LC_MESSAGES/django.mo | Bin 17247 -> 17297 bytes wolnelektury/locale/pl/LC_MESSAGES/django.po | 67 ++++++++++-------- wolnelektury/views.py | 1 - 4 files changed, 37 insertions(+), 32 deletions(-) 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 a590c8c1fbea2b247ed80e6878fef7f7757870d2..4421055742e931f15f4049705ea08377e9f76e92 100644 GIT binary patch delta 3303 zcmZA13rv<(9LMoLfmcAecmdG_l~6&s2?$Clf#M}3Aukyjno^1)2vMfK-nfXVDY`~& zTFbDdxe}-4iZ!y*{mgN{?q)3<`vsVVaQs;y*Wwji ziKRhit#}=~;e}u`HQ9UKb7#wazUH2CH;yb7T9KjBF0;kZwou@M#g68$gEpF z-i>om9j$iVh#F`EvU>Iks)I&UhkKE}tr<1ov#6!MiXL^;CDg1B1|T1c=1VtZA+v7< zs1C|d4KG6tY!&MM7f=td12xcnsO#TD4d4iB=FXz7yM(&#S}60+^4o1rXp;moinf_R z24``o1}0!M&O$wT4JKhds^MeE$4>FZezTuYOKM?Gdx5Cq2-JWRa1*A6G5_9Fj&ec` z9Y=L|2DKM1qXzgZ^0Cg$o1S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KdUER1=kL zL{GV$yg)P+8Z|x0M#6G=P_*)Ak`ki!t%%f-2BMy?AS$aJ{Kv5z{WoJE8Add}abyUo zC2S6VY2rAC6grpI&vg=N#8eiM`Kq$Qe`)p{YQA44T4*d#|6e|>iKj^x(R{8aDy2kk zwT`mEJz0v+6D_umqUqI~t32!AKi2D!)^Qq7v`u!AO@#M~ts#$-oWdaw=@y>xmLy+f7|FMH6Ik&fc&IKe0~%Dvu#W5`hQ z1kuYyWhE&lYsqplk?bHTWEvSs(#b2Nfc(F__Fy^q>cXm&aIDj_u^ 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, -- 2.20.1