From 71202d8362833f2ef046d127ede8ae6f4e728236 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Thu, 10 May 2012 16:06:16 +0200 Subject: [PATCH] lokalizacja menu kontekstowego --- .../catalogue/locale/pl/LC_MESSAGES/django.mo | Bin 6311 -> 6519 bytes .../catalogue/locale/pl/LC_MESSAGES/django.po | 114 ++++++++++-------- .../catalogue/book_list/book_list.html | 9 +- redakcja/static/js/catalogue/book_list.js | 10 +- 4 files changed, 77 insertions(+), 56 deletions(-) diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.mo b/apps/catalogue/locale/pl/LC_MESSAGES/django.mo index e6f7d3b6ebd5af7a990c6f9168495fb083a9a951..21585b12b05032175e5cc7faeefdb9538fbce0f6 100644 GIT binary patch delta 2556 zcmZwIYiyHM9LMo9J9U(?Fx!oe8-|3~3iJm8kO>^AYZQjtA-UJY!1m3*=)i@Suvhf@5&dzF)_&y#Hd$ zf5l0>|7Ob{VJ`1}8jZt3EH)->rjaS2U_Q>q8r0ak@OkV++L~@u!}qZW51|J94At%o z=HoTgK)2D4cX1m2j!SS1h4Zln^BCXskWs@lzJP~tBA!AG@B?asgE#?ipjI}FFA)f!evVs0Cg|2XA6p13x4qebiEeLUeE@)?y86<_A$na~`!L zm+@Kr8Ow19U&KeK2~44qCO8W<@lwGOGSn>yRzKW#5NU3;v^k{nwWLLxIjRmjlxd6r(yUMGaJe>M&%> zm)i1bR7b0Ac_ZG*F=i{iM)?9d)8E@r{d6HinI6=*2hwD;HJ_p?p2U~%ENW#}Q5A2Y zw(cJ4Hvf%kSHg{)gJq~KZ$Q=GhTKcjf*PMc$ z2+qY4MtdEXqdM+Kwfhj&@nO{2e}gnJKcbHAHqO8i`(DHihpE88yh~ zORAYq#>rTQ8mI=RV-tojVardU+MP$fK;{Z+$FAX8{0plvOlLZpUR1sP)=zLTE>kVBfq0Y9w`Vl9k=abVO6U&gUOYqS8?l&B zs?>b+YsP&tr79u4LChuA5vvHUhN&lNi1`C+@re4-$8)PKz1kZSi5PIuBvWGcqqDe_WIGUe{}OcObk4&>z*`qH65aABY_=u|EW z2ZQCoP%!9kYzS=jdLqe4JQi5(ro6Bd3RXT@Z((_`l6rM+G8Nd8aAV0mZYrJ#J4~ZB z5_2}h`yyV4Q`MP$UC|P6k9WGs@7Js~wsN32RF%3^C%p9Ni{rL5<*j}f5@Y3E?G~OGFLH>e^@Qo>JR2>)XcS7^?ZH#xbYe9@8k3Rd_UjM z@9%LvG8<0+usVCjkcNnL#3qk1(->XOh18R0Od0kff95b3s+dvC$1!_9i3QwG+43i` zg!|`h`5Tzc{X1BQ?_;SkX>);05e1jA8s|}c7twkymLf%_0`+1ouEHi%hux_6Vz>fN zp*osIFFu78=wK_pjg2^udGv28siha|P#rd5IYzM<_o6x)MGf>JT#b*T>c4=@#JpmC z7guusC2Hj^<3{}5mRHc2+6!_ip?}jxCW*W3gAY&*UqB7uB5HtFP&4}#)!`qgmB{Cz zR%R_~;PvRoE~JVXwx&?^r|k1*G2KJKIWijIb=1;V(VAvjk2%7oin%w*mJOhlx7~7QsCi`%y_hL;*r8;?w@$Pev)e zh-9y~%<`yq^!7f6d zZ`)Qb{lvY*0Yd4%Mcn^hI#^rmeIshWW5jl6Yi_aApPQZ2$=xlPm-7~~az;`^sfV3s zya%14f*I#r!S|W7D+)cE!@+PQ7z+Et&FztJAQTRTy#2d_vBas-iP6;Y;P&`~iFSV^ z6kb}d(fM)Znsu@Gk;GB|wnyU0qj7(9JbolKaV$RBFsuTn&sUwP_MP;2dykK##>e8r Y$%Nw+pLU`p?`1rt`B|BbWqqFi0q?fTr2qf` diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.po b/apps/catalogue/locale/pl/LC_MESSAGES/django.po index 65d9ba35..7195b771 100644 --- a/apps/catalogue/locale/pl/LC_MESSAGES/django.po +++ b/apps/catalogue/locale/pl/LC_MESSAGES/django.po @@ -7,9 +7,9 @@ msgid "" msgstr "" "Project-Id-Version: Platforma Redakcyjna\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-01 16:21+0100\n" -"PO-Revision-Date: 2011-12-01 16:23+0100\n" -"Last-Translator: Radek Czajka \n" +"POT-Creation-Date: 2012-05-10 16:00+0200\n" +"PO-Revision-Date: 2012-05-10 16:05+0100\n" +"Last-Translator: Marcin Koziej \n" "Language-Team: Fundacja Nowoczesna Polska \n" "Language: pl\n" "MIME-Version: 1.0\n" @@ -46,16 +46,16 @@ msgstr "Część z tym slugiem już istnieje" msgid "Append to" msgstr "Dołącz do" -#: views.py:158 +#: views.py:160 #, python-format msgid "Slug already used for %s" msgstr "Slug taki sam jak dla pliku %s" -#: views.py:160 +#: views.py:162 msgid "Slug already used in repository." msgstr "Dokument o tym slugu już istnieje w repozytorium." -#: views.py:166 +#: views.py:168 msgid "File should be UTF-8 encoded." msgstr "Plik powinien mieć kodowanie UTF-8." @@ -85,37 +85,37 @@ msgstr "rodzic" msgid "parent number" msgstr "numeracja rodzica" -#: models/book.py:45 +#: models/book.py:47 #: models/chunk.py:21 #: models/publish_log.py:17 msgid "book" msgstr "książka" -#: models/book.py:46 +#: models/book.py:48 msgid "books" msgstr "książki" -#: models/book.py:221 +#: models/book.py:235 msgid "No chunks in the book." msgstr "Książka nie ma części." -#: models/book.py:225 +#: models/book.py:239 msgid "Not all chunks have publishable revisions." msgstr "Niektóre części nie są gotowe do publikacji." -#: models/book.py:234 +#: models/book.py:248 msgid "Invalid XML" msgstr "Nieprawidłowy XML" -#: models/book.py:236 +#: models/book.py:250 msgid "No Dublin Core found." msgstr "Brak sekcji Dublin Core." -#: models/book.py:238 +#: models/book.py:252 msgid "Invalid Dublin Core" msgstr "Nieprawidłowy Dublin Core" -#: models/book.py:241 +#: models/book.py:255 msgid "rdf:about is not" msgstr "rdf:about jest różny od" @@ -197,58 +197,58 @@ msgstr "Części" msgid "Publication" msgstr "Publikacja" -#: templates/catalogue/book_detail.html:44 +#: templates/catalogue/book_detail.html:46 msgid "Last published" msgstr "Ostatnio opublikowano" -#: templates/catalogue/book_detail.html:54 +#: templates/catalogue/book_detail.html:56 msgid "Full XML" msgstr "Pełny XML" -#: templates/catalogue/book_detail.html:55 +#: templates/catalogue/book_detail.html:57 msgid "HTML version" msgstr "Wersja HTML" -#: templates/catalogue/book_detail.html:56 +#: templates/catalogue/book_detail.html:58 msgid "TXT version" msgstr "Wersja TXT" -#: templates/catalogue/book_detail.html:57 +#: templates/catalogue/book_detail.html:59 msgid "PDF version" msgstr "Wersja PDF" -#: templates/catalogue/book_detail.html:58 +#: templates/catalogue/book_detail.html:60 msgid "EPUB version" msgstr "Wersja EPUB" -#: templates/catalogue/book_detail.html:71 +#: templates/catalogue/book_detail.html:73 msgid "Publish" msgstr "Opublikuj" -#: templates/catalogue/book_detail.html:75 +#: templates/catalogue/book_detail.html:77 msgid "Log in to publish." msgstr "Zaloguj się, aby opublikować." -#: templates/catalogue/book_detail.html:78 +#: templates/catalogue/book_detail.html:80 msgid "This book can't be published yet, because:" msgstr "Ta książka nie może jeszcze zostać opublikowana. Powód:" -#: templates/catalogue/book_detail.html:87 +#: templates/catalogue/book_detail.html:90 msgid "Comments" msgstr "Komentarze" -#: templates/catalogue/book_html.html:13 +#: templates/catalogue/book_text.html:7 +msgid "Redakcja" +msgstr "" + +#: templates/catalogue/book_text.html:15 msgid "Table of contents" msgstr "Spis treści" -#: templates/catalogue/book_html.html:14 +#: templates/catalogue/book_text.html:17 msgid "Edit. note" msgstr "Nota red." -#: templates/catalogue/book_html.html:15 -msgid "Infobox" -msgstr "Informacje" - #: templates/catalogue/chunk_add.html:5 #: templates/catalogue/chunk_edit.html:19 msgid "Split chunk" @@ -263,8 +263,8 @@ msgid "Add chunk" msgstr "Dodaj część" #: templates/catalogue/chunk_edit.html:6 -#: templates/catalogue/book_list/book.html:7 -#: templates/catalogue/book_list/chunk.html:5 +#: templates/catalogue/book_list/book.html:8 +#: templates/catalogue/book_list/chunk.html:6 msgid "Chunk settings" msgstr "Ustawienia części" @@ -289,7 +289,6 @@ msgid "Please submit a ZIP with UTF-8 encoded XML files. Files not ending with < msgstr "Proszę wskazać archiwum ZIP z plikami XML w kodowaniu UTF-8. Pliki nie kończące się na .xml zostaną zignorowane." #: templates/catalogue/document_upload.html:17 -#: templates/catalogue/upload_pdf.html:13 #: templatetags/catalogue.py:35 msgid "Upload" msgstr "Załaduj" @@ -331,10 +330,6 @@ msgstr "Twoje ostatnie edycje" msgid "Recent activity for" msgstr "Ostatnia aktywność dla:" -#: templates/catalogue/upload_pdf.html:8 -msgid "PDF file upload" -msgstr "" - #: templates/catalogue/user_list.html:7 #: templatetags/catalogue.py:31 msgid "Users" @@ -348,37 +343,37 @@ msgstr "nie zalogowany" msgid "No activity recorded." msgstr "Nie zanotowano aktywności." -#: templates/catalogue/book_list/book.html:6 -#: templates/catalogue/book_list/book.html:25 +#: templates/catalogue/book_list/book.html:7 +#: templates/catalogue/book_list/book.html:27 msgid "Book settings" msgstr "Ustawienia książki" -#: templates/catalogue/book_list/book_list.html:19 +#: templates/catalogue/book_list/book_list.html:21 msgid "Show hidden books" msgstr "Pokaż ukryte książki" -#: templates/catalogue/book_list/book_list.html:24 +#: templates/catalogue/book_list/book_list.html:26 msgid "Search in book titles" msgstr "Szukaj w tytułach książek" -#: templates/catalogue/book_list/book_list.html:29 +#: templates/catalogue/book_list/book_list.html:31 msgid "stage" msgstr "etap" -#: templates/catalogue/book_list/book_list.html:31 -#: templates/catalogue/book_list/book_list.html:42 +#: templates/catalogue/book_list/book_list.html:33 +#: templates/catalogue/book_list/book_list.html:44 msgid "none" msgstr "brak" -#: templates/catalogue/book_list/book_list.html:40 +#: templates/catalogue/book_list/book_list.html:42 msgid "editor" msgstr "redaktor" -#: templates/catalogue/book_list/book_list.html:51 +#: templates/catalogue/book_list/book_list.html:53 msgid "status" msgstr "status" -#: templates/catalogue/book_list/book_list.html:75 +#: templates/catalogue/book_list/book_list.html:77 #, python-format msgid "%(c)s book" msgid_plural "%(c)s books" @@ -386,10 +381,30 @@ msgstr[0] "%(c)s książka" msgstr[1] "%(c)s książki" msgstr[2] "%(c)s książek" -#: templates/catalogue/book_list/book_list.html:80 +#: templates/catalogue/book_list/book_list.html:82 msgid "No books found." msgstr "Nie znaleziono książek." +#: templates/catalogue/book_list/book_list.html:88 +msgid "Set stage" +msgstr "Ustaw etap" + +#: templates/catalogue/book_list/book_list.html:89 +msgid "Set user" +msgstr "Przypisz redaktora" + +#: templates/catalogue/book_list/book_list.html:91 +msgid "Mark publishable" +msgstr "Oznacz do publikacji" + +#: templates/catalogue/book_list/book_list.html:92 +msgid "Mark not publishable" +msgstr "Odznacz do publikacji" + +#: templates/catalogue/book_list/book_list.html:93 +msgid "Other user" +msgstr "Inny użytkownik" + #: templatetags/book_list.py:84 msgid "publishable" msgstr "do publikacji" @@ -434,6 +449,9 @@ msgstr "Zmiana" msgid "Comment" msgstr "Komentarz" +#~ msgid "Infobox" +#~ msgstr "Informacje" + #~ msgid "Admin" #~ msgstr "Administracja" diff --git a/apps/catalogue/templates/catalogue/book_list/book_list.html b/apps/catalogue/templates/catalogue/book_list/book_list.html index 8b763268..c2f5e7c8 100755 --- a/apps/catalogue/templates/catalogue/book_list/book_list.html +++ b/apps/catalogue/templates/catalogue/book_list/book_list.html @@ -82,12 +82,15 @@

{% trans "No books found." %}

{% endif %} -