From: Radek Czajka Date: Thu, 7 Mar 2013 15:36:33 +0000 (+0100) Subject: locale X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/3dd7042cbf47824b9bbcb3068f5360fd66aa662f locale --- diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.mo b/apps/catalogue/locale/pl/LC_MESSAGES/django.mo index 71a8b91e..743dc5e6 100644 Binary files a/apps/catalogue/locale/pl/LC_MESSAGES/django.mo and b/apps/catalogue/locale/pl/LC_MESSAGES/django.mo differ 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 00000000..8fdb9c48 Binary files /dev/null and b/apps/fileupload/locale/pl/LC_MESSAGES/django.mo differ diff --git a/apps/fileupload/locale/pl/LC_MESSAGES/django.po b/apps/fileupload/locale/pl/LC_MESSAGES/django.po new file mode 100644 index 00000000..a4b60990 --- /dev/null +++ b/apps/fileupload/locale/pl/LC_MESSAGES/django.po @@ -0,0 +1,39 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , 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-en.js b/apps/fileupload/static/fileupload/js/locale-en.js new file mode 100644 index 00000000..ea64b0a8 --- /dev/null +++ b/apps/fileupload/static/fileupload/js/locale-en.js @@ -0,0 +1,29 @@ +/* + * jQuery File Upload Plugin Localization Example 6.5.1 + * https://github.com/blueimp/jQuery-File-Upload + * + * Copyright 2012, Sebastian Tschan + * https://blueimp.net + * + * Licensed under the MIT license: + * http://www.opensource.org/licenses/MIT + */ + +/*global window */ + +window.locale = { + "fileupload": { + "errors": { + "maxFileSize": "File is too big", + "minFileSize": "File is too small", + "acceptFileTypes": "Filetype not allowed", + "maxNumberOfFiles": "Max number of files exceeded", + "uploadedBytes": "Uploaded bytes exceed file size", + "emptyResult": "Empty file upload result" + }, + "error": "Error", + "start": "Start", + "cancel": "Cancel", + "destroy": "Delete" + } +}; 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/static/fileupload/js/locale.js b/apps/fileupload/static/fileupload/js/locale.js deleted file mode 100644 index ea64b0a8..00000000 --- a/apps/fileupload/static/fileupload/js/locale.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * jQuery File Upload Plugin Localization Example 6.5.1 - * https://github.com/blueimp/jQuery-File-Upload - * - * Copyright 2012, Sebastian Tschan - * https://blueimp.net - * - * Licensed under the MIT license: - * http://www.opensource.org/licenses/MIT - */ - -/*global window */ - -window.locale = { - "fileupload": { - "errors": { - "maxFileSize": "File is too big", - "minFileSize": "File is too small", - "acceptFileTypes": "Filetype not allowed", - "maxNumberOfFiles": "Max number of files exceeded", - "uploadedBytes": "Uploaded bytes exceed file size", - "emptyResult": "Empty file upload result" - }, - "error": "Error", - "start": "Start", - "cancel": "Cancel", - "destroy": "Delete" - } -}; 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 %}