From 3dd7042cbf47824b9bbcb3068f5360fd66aa662f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 7 Mar 2013 16:36:33 +0100 Subject: [PATCH] locale --- .../catalogue/locale/pl/LC_MESSAGES/django.mo | Bin 6570 -> 6708 bytes .../catalogue/locale/pl/LC_MESSAGES/django.po | 90 ++++++++++-------- .../locale/pl/LC_MESSAGES/django.mo | Bin 0 -> 747 bytes .../locale/pl/LC_MESSAGES/django.po | 39 ++++++++ .../fileupload/js/{locale.js => locale-en.js} | 0 .../static/fileupload/js/locale-pl.js | 16 ++++ .../templates/fileupload/picture_form.html | 2 +- 7 files changed, 104 insertions(+), 43 deletions(-) create mode 100644 apps/fileupload/locale/pl/LC_MESSAGES/django.mo create mode 100644 apps/fileupload/locale/pl/LC_MESSAGES/django.po rename apps/fileupload/static/fileupload/js/{locale.js => locale-en.js} (100%) create mode 100755 apps/fileupload/static/fileupload/js/locale-pl.js diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.mo b/apps/catalogue/locale/pl/LC_MESSAGES/django.mo index 71a8b91eae13c653eef73db6637b9845861051d1..743dc5e61ff78e3147d7d645716204f3cdd1002b 100644 GIT binary patch delta 2447 zcmYk-e`wTo9LMp`+NN{XZgbUkm3q2qcIUafowv>PWA3MOrp~o~=*sJK*Scx5=8q*c zj<7!x3W9Y;6kGI{h_m2KXn{eS5kZh(MG*RjK`BCoW#J#$^Yz_3>BGIhkMHO6{d_;a zzuU3c$<>+j3ktH1lqT*W`tzMr!SOj6W&gK zy_Ijr0`h}+8}7k7oXfaTZb~Q^!z%m$)%O=T7r#bz{4MIm^Y;7-mXW`T>bS6Y_Wd%v zm3$o4VT{3#6L4b)Zz zSq`m8luIG5#SnJjT{w&yz#FIm9zhNK-4fPcGyISOy*Ptv@GH~|&szBpsCpMrGy4No zubB0eWvKTnkukYNsE$@zK8mW>WOi8jMjz|12YnQ1<~vYJHiX*C7m?L-hfynW1l90S zRELwO_j6W0W#ylt+B;+AXYuzu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kD*KR4*K927UCD^%>F>1%i!d>blK=> zE;8Tq^J@bO1AG)tTm@4Hcjrlwvuy zViWE{I~YdaJB~Jd5TZefDa7hx$!hWp9*JAzW=zEjM2NixtS1gT}*I_xX#2x4s4dER64!e{7d{|Q~%bLjnl z&<@gR&F8Yv0TrT$vkaX;9r72Nxj2Dtw7p%?-Do?H#`077tiKigRJgPU(KGNe^7Vvf zqK4=p?jvp{OxuVpgoC-4C?l2-TZs9$mc_3w@~51_Ny6w6a^ za8v2dXgjh)p`N&os3VpUeT1orXiMe(|8mzQ)wA7yej`%4EGO0w?!8}t>86XMuJ>?dCsWDoH6{IZGF1>&socfSYX$jA!hODx z@W64P!~H}f;YlwhwiE94-GpbQmAIAYB>Z}&QZJc1h{c3k?zu>}sa0ee2$P?apBCF6 zt|d&j5Z4gviM50$`F5g(SUU3W%#CRyowHVD4ji5PY))-eb$wM$Lvc;*ietFHxBUkZMz}@* diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.po b/apps/catalogue/locale/pl/LC_MESSAGES/django.po index 4a898d66..b3d1b8ec 100644 --- a/apps/catalogue/locale/pl/LC_MESSAGES/django.po +++ b/apps/catalogue/locale/pl/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Platforma Redakcyjna\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-18 12:52+0200\n" -"PO-Revision-Date: 2012-06-18 12:53+0100\n" +"POT-Creation-Date: 2013-03-07 16:25+0100\n" +"PO-Revision-Date: 2013-03-07 16:26+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: Fundacja Nowoczesna Polska \n" "Language: pl\n" @@ -59,63 +59,68 @@ msgstr "Dokument o tym slugu już istnieje w repozytorium." msgid "File should be UTF-8 encoded." msgstr "Plik powinien mieć kodowanie UTF-8." -#: models/book.py:27 +#: views.py:484 +#: models/book.py:55 +msgid "books" +msgstr "książki" + +#: views.py:486 +msgid "scan gallery" +msgstr "galeria skanów" + +#: models/book.py:28 #: models/chunk.py:23 msgid "title" msgstr "tytuł" -#: models/book.py:28 +#: models/book.py:29 #: models/chunk.py:24 msgid "slug" msgstr "slug" -#: models/book.py:29 +#: models/book.py:30 msgid "public" msgstr "publiczna" -#: models/book.py:30 +#: models/book.py:31 msgid "scan gallery name" msgstr "nazwa galerii skanów" -#: models/book.py:33 +#: models/book.py:34 msgid "parent" msgstr "rodzic" -#: models/book.py:34 +#: models/book.py:35 msgid "parent number" msgstr "numeracja rodzica" -#: models/book.py:51 +#: models/book.py:54 #: models/chunk.py:21 #: models/publish_log.py:17 msgid "book" msgstr "książka" -#: models/book.py:52 -msgid "books" -msgstr "książki" - -#: models/book.py:250 +#: models/book.py:254 msgid "No chunks in the book." msgstr "Książka nie ma części." -#: models/book.py:254 +#: models/book.py:258 msgid "Not all chunks have publishable revisions." msgstr "Niektóre części nie są gotowe do publikacji." -#: models/book.py:263 +#: models/book.py:265 msgid "Invalid XML" msgstr "Nieprawidłowy XML" -#: models/book.py:265 +#: models/book.py:267 msgid "No Dublin Core found." msgstr "Brak sekcji Dublin Core." -#: models/book.py:267 +#: models/book.py:269 msgid "Invalid Dublin Core" msgstr "Nieprawidłowy Dublin Core" -#: models/book.py:270 +#: models/book.py:272 msgid "rdf:about is not" msgstr "rdf:about jest różny od" @@ -165,7 +170,7 @@ msgstr "zapis publikacji części" msgid "chunk publish records" msgstr "zapisy publikacji części" -#: templates/catalogue/activity.html:10 +#: templates/catalogue/activity.html:9 #: templatetags/catalogue.py:29 msgid "Activity" msgstr "Aktywność" @@ -180,60 +185,64 @@ msgstr "Dołącz książkę" #: templates/catalogue/book_detail.html:14 #: templates/catalogue/book_edit.html:9 -#: templates/catalogue/chunk_edit.html:13 +#: templates/catalogue/chunk_edit.html:12 msgid "Save" msgstr "Zapisz" -#: templates/catalogue/book_detail.html:21 +#: templates/catalogue/book_detail.html:20 +msgid "Edit gallery" +msgstr "Edytuj galerię" + +#: templates/catalogue/book_detail.html:22 msgid "Append to other book" msgstr "Dołącz do innej książki" -#: templates/catalogue/book_detail.html:27 +#: templates/catalogue/book_detail.html:28 msgid "Chunks" msgstr "Części" -#: templates/catalogue/book_detail.html:42 +#: templates/catalogue/book_detail.html:43 #: templatetags/wall.py:78 msgid "Publication" msgstr "Publikacja" -#: templates/catalogue/book_detail.html:46 +#: templates/catalogue/book_detail.html:52 msgid "Last published" msgstr "Ostatnio opublikowano" -#: templates/catalogue/book_detail.html:56 +#: templates/catalogue/book_detail.html:62 msgid "Full XML" msgstr "Pełny XML" -#: templates/catalogue/book_detail.html:57 +#: templates/catalogue/book_detail.html:63 msgid "HTML version" msgstr "Wersja HTML" -#: templates/catalogue/book_detail.html:58 +#: templates/catalogue/book_detail.html:64 msgid "TXT version" msgstr "Wersja TXT" -#: templates/catalogue/book_detail.html:59 +#: templates/catalogue/book_detail.html:65 msgid "PDF version" msgstr "Wersja PDF" -#: templates/catalogue/book_detail.html:60 +#: templates/catalogue/book_detail.html:66 msgid "EPUB version" msgstr "Wersja EPUB" -#: templates/catalogue/book_detail.html:73 +#: templates/catalogue/book_detail.html:79 msgid "Publish" msgstr "Opublikuj" -#: templates/catalogue/book_detail.html:77 +#: templates/catalogue/book_detail.html:83 msgid "Log in to publish." msgstr "Zaloguj się, aby opublikować." -#: templates/catalogue/book_detail.html:80 +#: templates/catalogue/book_detail.html:86 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:90 +#: templates/catalogue/book_detail.html:96 msgid "Comments" msgstr "Komentarze" @@ -250,7 +259,7 @@ msgid "Edit. note" msgstr "Nota red." #: templates/catalogue/chunk_add.html:5 -#: templates/catalogue/chunk_edit.html:19 +#: templates/catalogue/chunk_edit.html:18 msgid "Split chunk" msgstr "Podziel część" @@ -262,13 +271,13 @@ msgstr "Wstaw pustą część po" msgid "Add chunk" msgstr "Dodaj część" -#: templates/catalogue/chunk_edit.html:6 +#: templates/catalogue/chunk_edit.html:5 #: templates/catalogue/book_list/book.html:8 #: templates/catalogue/book_list/chunk.html:6 msgid "Chunk settings" msgstr "Ustawienia części" -#: templates/catalogue/chunk_edit.html:11 +#: templates/catalogue/chunk_edit.html:10 msgid "Book" msgstr "Książka" @@ -321,11 +330,11 @@ msgstr "Pominięte pliki" msgid "Files skipped due to no .xml extension" msgstr "Pliki pominięte z powodu braku rozszerzenia .xml." -#: templates/catalogue/my_page.html:13 +#: templates/catalogue/my_page.html:21 msgid "Your last edited documents" msgstr "Twoje ostatnie edycje" -#: templates/catalogue/my_page.html:22 +#: templates/catalogue/my_page.html:30 #: templates/catalogue/user_page.html:13 msgid "Recent activity for" msgstr "Ostatnia aktywność dla:" @@ -630,9 +639,6 @@ msgstr "Komentarz" #~ msgid "Last edited by" #~ msgstr "Ostatnio edytowane przez" -#~ msgid "Link to gallery" -#~ msgstr "Link do galerii" - #~ msgid "Summary" #~ msgstr "Podsumowanie" diff --git a/apps/fileupload/locale/pl/LC_MESSAGES/django.mo b/apps/fileupload/locale/pl/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..8fdb9c485e454719f18f8a87e0b4f518a07a226b GIT binary patch literal 747 zcmaKq&2AGh5XTJ^kd_Y#&OP`-)e3ppO%bg&+0rygtB6e-rD+e`%&xmQaqX4uB_zrT zfp`L*fD2qXa6|&NH*P&~K|BiMv=B~={L_qQ{xkAu_vhV(cL?knum~i;4PXj5`vBYo zJ_6T)&%iC<3*dUb1Fn7se7l6uFYvd4_m|K8C-8UR{uTUH@MjnIAK*bgGdJg7bGilK z%0&{S2-UL;A92Bq@B3&=tC3+5YEYRnfy+WDnxQ5W%rdlZskVP|U9AQzwWOVqL#7Q^ zGQ!<@<4Jv|g%4Z3{r29j*JFj!mUK+cGqP3YhV)g0z3yJ0G&G|Ynn;sc7U4<|u95)G z8V(;tm9_gp7z7|BJ@$gT;s4bo)L7EjR2o68(h=^_j16&PLI*>NYno;XDkDFgB{roR zsdU1Oq=gb@NPVSqzYrTvct`sUX`* zADalvVs, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-03-07 16:27+0100\n" +"PO-Revision-Date: 2013-03-07 16:27+0100\n" +"Last-Translator: Radek Czajka \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: templates/fileupload/picture_form.html:18 +msgid "Browse:" +msgstr "Przeglądanie:" + +#: templates/fileupload/picture_form.html:35 +msgid "Add files..." +msgstr "Dodaj pliki..." + +#: templates/fileupload/picture_form.html:40 +msgid "Start upload" +msgstr "Zacznij wysyłać" + +#: templates/fileupload/picture_form.html:44 +msgid "Cancel upload" +msgstr "Anuluj wysyłanie" + +#: templates/fileupload/picture_form.html:48 +msgid "Delete" +msgstr "Usuń" + diff --git a/apps/fileupload/static/fileupload/js/locale.js b/apps/fileupload/static/fileupload/js/locale-en.js similarity index 100% rename from apps/fileupload/static/fileupload/js/locale.js rename to apps/fileupload/static/fileupload/js/locale-en.js diff --git a/apps/fileupload/static/fileupload/js/locale-pl.js b/apps/fileupload/static/fileupload/js/locale-pl.js new file mode 100755 index 00000000..9d052271 --- /dev/null +++ b/apps/fileupload/static/fileupload/js/locale-pl.js @@ -0,0 +1,16 @@ +window.locale = { + "fileupload": { + "errors": { + "maxFileSize": "Plik jest zbyt duży", + "minFileSize": "Plik jest zbyt mały", + "acceptFileTypes": "Niedozwolony typ pliku", + "maxNumberOfFiles": "Zbyt wiele plików", + "uploadedBytes": "Przesłane dane przekraczają rozmiar pliku", + "emptyResult": "Wysyłanie plików zwróciło pusty wynik" + }, + "error": "Błąd", + "start": "Start", + "cancel": "Anuluj", + "destroy": "Usuń" + } +}; diff --git a/apps/fileupload/templates/fileupload/picture_form.html b/apps/fileupload/templates/fileupload/picture_form.html index ce23179f..44c37db7 100644 --- a/apps/fileupload/templates/fileupload/picture_form.html +++ b/apps/fileupload/templates/fileupload/picture_form.html @@ -80,7 +80,7 @@ - + {% endblock %} -- 2.20.1