From: Jan Szejko Date: Fri, 15 Dec 2017 09:39:34 +0000 (+0100) Subject: more/less in book download lists X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/032a2b1bdcecc42056de4a0171a55d173e4b765b more/less in book download lists --- diff --git a/src/catalogue/locale/de/LC_MESSAGES/django.po b/src/catalogue/locale/de/LC_MESSAGES/django.po index f62d9b7c8..6a7d47ac4 100644 --- a/src/catalogue/locale/de/LC_MESSAGES/django.po +++ b/src/catalogue/locale/de/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:38+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "Slug" msgid "language code" msgstr "Sprachenkode" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "Beschreibung" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "Erstellungsdatum" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "Erstellungsdatum" + #: models/book.py:59 msgid "parent number" msgstr "Elternnummer" @@ -202,37 +207,41 @@ msgstr "zusätzliche Informationen" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "Umschlag" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "Buch" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "Bücher" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Buch mit dem Slug = \"%s\" ist nicht vorhanden." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Buch %s ist bereits vorhanden" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "%s XML-Datei" @@ -494,39 +503,55 @@ msgstr "Inhaltsverzeichnis" msgid "↑ top ↑" msgstr "↑ top ↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Epoche" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Sorte" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Gattung" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "Sprachenkode" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Online lesen" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Herunterladen" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Inhaltsverzeichnis" @@ -629,7 +654,7 @@ msgstr[1] "" msgid "All collections" msgstr "Sammlungen" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "PDF-Datei herunterladen" @@ -770,47 +795,6 @@ msgstr "Suchen" msgid "Did you mean" msgstr "Haben Sie gemeint" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Autoren" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Sorten" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Gattungen" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Epochen" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Ergebnisse nach Titeln" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Ergebnisse nach Autoren" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "Ergebnisse nach Autoren" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Ergebnisse im Text" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Andere Ergebnisse" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -889,6 +873,22 @@ msgstr "volle Kategorie sehen" msgid "Audiobooks" msgstr "Audioücher" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Autoren" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Epochen" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Gattungen" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Sorten" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -931,7 +931,7 @@ msgstr "" msgid "Loading" msgstr "Zeilenabstand" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -942,15 +942,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Buch wurde erfolgreich importiert" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Fehler beim Importieren der Datei: %r" +#~ msgid "Results by title" +#~ msgstr "Ergebnisse nach Titeln" + +#~ msgid "Results by authors" +#~ msgstr "Ergebnisse nach Autoren" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "Ergebnisse nach Autoren" + +#~ msgid "Results in text" +#~ msgstr "Ergebnisse im Text" + +#~ msgid "Other results" +#~ msgstr "Andere Ergebnisse" + #~ msgid "book count" #~ msgstr "Anzahl der Bücher" diff --git a/src/catalogue/locale/en/LC_MESSAGES/django.po b/src/catalogue/locale/en/LC_MESSAGES/django.po index b58cdba1e..51d87073b 100644 --- a/src/catalogue/locale/en/LC_MESSAGES/django.po +++ b/src/catalogue/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:38+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "Slug" msgid "language code" msgstr "language code" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "Description" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "creation date" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "creation date" + #: models/book.py:59 msgid "parent number" msgstr "Parent number" @@ -202,37 +207,41 @@ msgstr "Additional information" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "cover" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "book" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "Books" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Book with stub = \"%s\" does not exist." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Book %s already exists" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "%s file" @@ -496,39 +505,55 @@ msgstr "Table of Contents" msgid "↑ top ↑" msgstr "↑ top ↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Period" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Form" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Genre" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "language code" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Read online" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Download" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Table of contents" @@ -631,7 +656,7 @@ msgstr[1] "" msgid "All collections" msgstr "collections" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Download custom PDF" @@ -772,47 +797,6 @@ msgstr "Search" msgid "Did you mean" msgstr "Did you mean" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Authors" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Forms" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Genres" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Periods" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Results by title" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Results by authors" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "Translator" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Results in text" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Other results" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -890,6 +874,22 @@ msgstr "See full category" msgid "Audiobooks" msgstr "Audiobooks" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Authors" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Periods" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Genres" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Forms" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -932,7 +932,7 @@ msgstr "" msgid "Loading" msgstr "Leading" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -943,15 +943,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Book imported succesfully" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "An error occured while importing file: %r" +#~ msgid "Results by title" +#~ msgstr "Results by title" + +#~ msgid "Results by authors" +#~ msgstr "Results by authors" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "Translator" + +#~ msgid "Results in text" +#~ msgstr "Results in text" + +#~ msgid "Other results" +#~ msgstr "Other results" + #~ msgid "book count" #~ msgstr "Number of books" diff --git a/src/catalogue/locale/es/LC_MESSAGES/django.po b/src/catalogue/locale/es/LC_MESSAGES/django.po index e9b68df34..abefe573b 100644 --- a/src/catalogue/locale/es/LC_MESSAGES/django.po +++ b/src/catalogue/locale/es/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:39+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "slug" msgid "language code" msgstr "código de idioma" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "descripción" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "fecha de creación" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "fecha de creación" + #: models/book.py:59 msgid "parent number" msgstr "cifra matriz" @@ -202,37 +207,41 @@ msgstr "información adicional" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "tapa" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "libro" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "libros" -#: models/book.py:319 +#: models/book.py:362 #, fuzzy, python-format msgid "Book \"%s\" does not exist." msgstr "Libro con slug = \"%s\" no existe." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Libro %s ya existe" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "%s archivo" @@ -501,39 +510,55 @@ msgstr "Tabla de contenido" msgid "↑ top ↑" msgstr "↑volver arriba↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Época" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Género" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Subgénero" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "código de idioma" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Leer en línea" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Descargar" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Tabla de contenido" @@ -637,7 +662,7 @@ msgstr[1] "" msgid "All collections" msgstr "colecciones" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Descarga PDF personalizado" @@ -778,47 +803,6 @@ msgstr "Buscar" msgid "Did you mean" msgstr "¿Te has referido a...?" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Autor" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Géneros" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Subgénero" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Épocas" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Resultados por título" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Resultados por autor" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "Resultados por autor" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Resultados en el texto" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Otros resultados" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -901,6 +885,22 @@ msgstr "Ver la categoría completa" msgid "Audiobooks" msgstr "Audiolibros" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Autor" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Épocas" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Subgénero" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Géneros" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -945,7 +945,7 @@ msgstr "Interlineado" # msgid "Today is %(month)s, %(day)s." # msgstr "Hoy es el %(día)s de %(mes)es" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -956,15 +956,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "El libro ha sido importado con éxito" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Ha ocurrido un error al cargar el archivo: %r" +#~ msgid "Results by title" +#~ msgstr "Resultados por título" + +#~ msgid "Results by authors" +#~ msgstr "Resultados por autor" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "Resultados por autor" + +#~ msgid "Results in text" +#~ msgstr "Resultados en el texto" + +#~ msgid "Other results" +#~ msgstr "Otros resultados" + #~ msgid "book count" #~ msgstr "número de libros" diff --git a/src/catalogue/locale/fr/LC_MESSAGES/django.po b/src/catalogue/locale/fr/LC_MESSAGES/django.po index e98ae4d92..5755ee327 100644 --- a/src/catalogue/locale/fr/LC_MESSAGES/django.po +++ b/src/catalogue/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:38+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -179,16 +179,21 @@ msgstr "ébauche" msgid "language code" msgstr "code de langue" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "description" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "date de création" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "date de création" + #: models/book.py:59 msgid "parent number" msgstr "nombre de parent" @@ -201,37 +206,41 @@ msgstr "information supplémentaire" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "couverture" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "livre" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "livres" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Livre \"%s\" n'existe pas." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Livre %s existe déjà" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "fichier %s" @@ -495,39 +504,55 @@ msgstr "Table des matières" msgid "↑ top ↑" msgstr "↑ top ↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Époque" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Type" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Genre" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "code de langue" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Lire en ligne" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Téléchargez" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Table des matières" @@ -630,7 +655,7 @@ msgstr[1] "" msgid "All collections" msgstr "collections" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Téléchargez un PDF personnalisé" @@ -771,47 +796,6 @@ msgstr "Rechercher" msgid "Did you mean" msgstr "Est-ce que vous cherchez" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Auteurs" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Types" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Genres" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Époques" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Résultats par le titre" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Résultats par l'auteur" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "traducteur" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Résultats dans le texte" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Autres résultats" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -894,6 +878,22 @@ msgstr "Voir catégorie entière" msgid "Audiobooks" msgstr "Livres audio" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Auteurs" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Époques" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Genres" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Types" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -938,7 +938,7 @@ msgstr "Interligne" # msgid "Today is %(month)s, %(day)s." # msgstr "Aujourd'hui nous sommes le" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -949,15 +949,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Livre importé avec succès" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Erreur pendant l'importation du fichier: %r" +#~ msgid "Results by title" +#~ msgstr "Résultats par le titre" + +#~ msgid "Results by authors" +#~ msgstr "Résultats par l'auteur" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "traducteur" + +#~ msgid "Results in text" +#~ msgstr "Résultats dans le texte" + +#~ msgid "Other results" +#~ msgstr "Autres résultats" + #~ msgid "book count" #~ msgstr "nombre des livres" diff --git a/src/catalogue/locale/it/LC_MESSAGES/django.po b/src/catalogue/locale/it/LC_MESSAGES/django.po index e38710165..e28079b54 100644 --- a/src/catalogue/locale/it/LC_MESSAGES/django.po +++ b/src/catalogue/locale/it/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:39+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "slug" msgid "language code" msgstr "codice della lingua" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "descrizione" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "data di creazione" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "data di creazione" + #: models/book.py:59 msgid "parent number" msgstr "numero del genitore" @@ -202,37 +207,41 @@ msgstr " ulteriori informazioni" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "copertina" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "libro" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "Libri" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Il libro \"%s\" non esiste." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Il libro %s esiste già" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "i %s di file" @@ -498,39 +507,55 @@ msgstr "Indice" msgid "↑ top ↑" msgstr "" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Epoca" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Categoria" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Genere" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "codice della lingua" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Leggi online" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Scarica" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Indice" @@ -633,7 +658,7 @@ msgstr[1] "" msgid "All collections" msgstr " raccolte" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Scarica PDF personalizzato" @@ -775,46 +800,6 @@ msgstr "Cerca" msgid "Did you mean" msgstr "Volevi dire" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Autori" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Categorie" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Generi" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Epoche" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Risultati per titolo" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Risultati per autore" - -#: templates/catalogue/search_multiple_hits.html:96 -msgid "Results by translators" -msgstr "" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Risultati nel testo" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Altri risultati" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -896,6 +881,22 @@ msgstr "Vedi tutta la categoria" msgid "Audiobooks" msgstr "Audiolibri" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Autori" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Epoche" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Generi" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Categorie" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -938,7 +939,7 @@ msgstr "" msgid "Loading" msgstr "Interlinea" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -949,15 +950,27 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Libro scaricato con successo" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Errore dell'importazione del file: %r" +#~ msgid "Results by title" +#~ msgstr "Risultati per titolo" + +#~ msgid "Results by authors" +#~ msgstr "Risultati per autore" + +#~ msgid "Results in text" +#~ msgstr "Risultati nel testo" + +#~ msgid "Other results" +#~ msgstr "Altri risultati" + #~ msgid "book count" #~ msgstr "conteggio dei libri" diff --git a/src/catalogue/locale/lt/LC_MESSAGES/django.po b/src/catalogue/locale/lt/LC_MESSAGES/django.po index be51502ef..94989fb78 100644 --- a/src/catalogue/locale/lt/LC_MESSAGES/django.po +++ b/src/catalogue/locale/lt/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:40+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "slug" msgid "language code" msgstr "kalbos kodas" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "aprašymas" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "sukūrimo data" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "sukūrimo data" + # sprawdz #: models/book.py:59 msgid "parent number" @@ -203,37 +208,41 @@ msgstr "papildomos informacijos" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "viršelis" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "knyga" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "knygos" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Knyga \"%s\" neegzistuoja." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Knyga %s jau egzistuoja" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "%s failas " @@ -498,39 +507,55 @@ msgstr "Turinys" msgid "↑ top ↑" msgstr "↑į viršų↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Epocha" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Rūšis " -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Žanras" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "kalbos kodas" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Skaityti online" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Atsisiųsti" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Turinys" @@ -634,7 +659,7 @@ msgstr[1] "" msgid "All collections" msgstr "kolekcijos" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Sukurti ir atsisiųsti PDF failą" @@ -776,47 +801,6 @@ msgstr "Ieškoti" msgid "Did you mean" msgstr "Gal turėjote omenyje" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Autoriai" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Rūšys" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Žanrai" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Epochos" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Rezultatai pagal pavadinimą" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Rezultatai pagal autorius" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "Rezultatai pagal autorius" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Rezultatai tekste" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Kiti rezultatai" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -896,6 +880,22 @@ msgstr "Žiūrėti visą kategoriją" msgid "Audiobooks" msgstr "Audio knygos" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Autoriai" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Epochos" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Žanrai" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Rūšys" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -938,7 +938,7 @@ msgstr "" msgid "Loading" msgstr "eilučių intervalas" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -949,15 +949,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Knyga buvo sėkmingai importuota" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Importuojant failą įvyko klaida: %r" +#~ msgid "Results by title" +#~ msgstr "Rezultatai pagal pavadinimą" + +#~ msgid "Results by authors" +#~ msgstr "Rezultatai pagal autorius" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "Rezultatai pagal autorius" + +#~ msgid "Results in text" +#~ msgstr "Rezultatai tekste" + +#~ msgid "Other results" +#~ msgstr "Kiti rezultatai" + #~ msgid "book count" #~ msgstr "knygų skaičius" diff --git a/src/catalogue/locale/pl/LC_MESSAGES/django.po b/src/catalogue/locale/pl/LC_MESSAGES/django.po index f7edfb2e1..8a2ffab18 100644 --- a/src/catalogue/locale/pl/LC_MESSAGES/django.po +++ b/src/catalogue/locale/pl/LC_MESSAGES/django.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: WolneLektury\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2015-12-31 16:45+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: Fundacja Nowoczesna Polska Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." +msgstr "" + +#: templates/catalogue/book_short.html:99 msgid "Print on demand –" msgstr "Druk na żądanie z" -#: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Pobierz" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "więcej" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "mniej" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Spis treści" @@ -570,7 +595,7 @@ msgstr[2] "oraz %(c)s innych" msgid "All collections" msgstr "Wszystkie kolekcje" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Stwórz własny PDF" @@ -710,46 +735,6 @@ msgstr "Szukaj" msgid "Did you mean" msgstr "Czy chodziło Ci o" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Autorzy" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Rodzaje" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Gatunki" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Epoki" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Znalezione w tytułach" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Znalezieni autorzy" - -#: templates/catalogue/search_multiple_hits.html:96 -msgid "Results by translators" -msgstr "Znalezieni tłumacze" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Znalezione w treści" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Inne wyniki" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -814,6 +799,22 @@ msgstr "Zobacz całą kategorię" msgid "Audiobooks" msgstr "Audiobooki" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Autorzy" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Epoki" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Gatunki" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Rodzaje" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "Wybrane utwory" @@ -850,7 +851,7 @@ msgstr "w Culture.pl" msgid "Loading" msgstr "Ładowanie" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -861,15 +862,30 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Książka zaimportowana" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Błąd podczas importowania pliku: %r" +#~ msgid "Results by title" +#~ msgstr "Znalezione w tytułach" + +#~ msgid "Results by authors" +#~ msgstr "Znalezieni autorzy" + +#~ msgid "Results by translators" +#~ msgstr "Znalezieni tłumacze" + +#~ msgid "Results in text" +#~ msgstr "Znalezione w treści" + +#~ msgid "Other results" +#~ msgstr "Inne wyniki" + #~ msgid "Chosen" #~ msgstr "Wybrano" diff --git a/src/catalogue/locale/ru/LC_MESSAGES/django.po b/src/catalogue/locale/ru/LC_MESSAGES/django.po index cef12a0f0..3b537849e 100644 --- a/src/catalogue/locale/ru/LC_MESSAGES/django.po +++ b/src/catalogue/locale/ru/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:40+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -180,16 +180,21 @@ msgstr "slug" msgid "language code" msgstr "код языка" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "описание" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "дата создания" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "дата создания" + #: models/book.py:59 msgid "parent number" msgstr "номер родителя" @@ -202,37 +207,41 @@ msgstr "дополнительная информация" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "обложка" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "книга" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "книги" -#: models/book.py:319 +#: models/book.py:362 #, fuzzy, python-format msgid "Book \"%s\" does not exist." msgstr "Книга со slug = \"%s\" не существует." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Книга %s уже существует" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, fuzzy, python-format msgid "%s file" msgstr "XML файл" @@ -500,39 +509,55 @@ msgstr "Оглавление" msgid "↑ top ↑" msgstr "↑ топ ↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "эпоха" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "форма" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "жанр" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "код языка" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Читать онлайн" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Загрузить" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Оглавление" @@ -635,7 +660,7 @@ msgstr[1] "" msgid "All collections" msgstr "сборы" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Скачать PDF пользователя" @@ -777,47 +802,6 @@ msgstr "Поиск" msgid "Did you mean" msgstr "Вы имели в виду" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Авторы" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Формы" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Жанры" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Эпохи" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Результаты по заглавиям" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Результаты по авторам" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "переводчик" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Результаты в текстах" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "другие ресурсы" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -897,6 +881,22 @@ msgstr "Вся категория" msgid "Audiobooks" msgstr "Аудиокниги" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Авторы" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Эпохи" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Жанры" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Формы" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -939,7 +939,7 @@ msgstr "" msgid "Loading" msgstr "Ведение" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -950,15 +950,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Вы удачно заимпортировали книгу" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Ошибка импорта файла: %r" +#~ msgid "Results by title" +#~ msgstr "Результаты по заглавиям" + +#~ msgid "Results by authors" +#~ msgstr "Результаты по авторам" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "переводчик" + +#~ msgid "Results in text" +#~ msgstr "Результаты в текстах" + +#~ msgid "Other results" +#~ msgstr "другие ресурсы" + #~ msgid "book count" #~ msgstr "число книг" diff --git a/src/catalogue/locale/uk/LC_MESSAGES/django.po b/src/catalogue/locale/uk/LC_MESSAGES/django.po index 35905a31b..703e23430 100644 --- a/src/catalogue/locale/uk/LC_MESSAGES/django.po +++ b/src/catalogue/locale/uk/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-30 16:46+0200\n" +"POT-Creation-Date: 2017-12-15 10:27+0100\n" "PO-Revision-Date: 2013-04-09 10:40+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" @@ -179,16 +179,21 @@ msgstr "slug" msgid "language code" msgstr "мовний код" -#: models/book.py:56 models/book.py:208 models/collection.py:16 +#: models/book.py:56 models/book.py:224 models/collection.py:16 #: models/tag.py:61 models/tag.py:183 msgid "description" msgstr "опис" -#: models/book.py:57 models/book.py:58 models/bookmedia.py:36 models/tag.py:68 -#: models/tag.py:69 +#: models/book.py:57 models/bookmedia.py:36 models/tag.py:68 models/tag.py:69 msgid "creation date" msgstr "дата створення" +#: models/book.py:58 +#, fuzzy +#| msgid "creation date" +msgid "change date" +msgstr "дата створення" + #: models/book.py:59 msgid "parent number" msgstr "номер батька" @@ -201,37 +206,41 @@ msgstr "додаткова інформація" msgid "print on demand" msgstr "" -#: models/book.py:67 +#: models/book.py:64 +msgid "recommended" +msgstr "" + +#: models/book.py:68 msgid "cover" msgstr "обкладинка" -#: models/book.py:73 +#: models/book.py:74 msgid "cover thumbnail" msgstr "" -#: models/book.py:98 models/collection.py:22 +#: models/book.py:102 models/collection.py:22 msgid "book" msgstr "книжка" -#: models/book.py:99 +#: models/book.py:103 msgid "books" msgstr "книжки" -#: models/book.py:319 +#: models/book.py:362 #, python-format msgid "Book \"%s\" does not exist." msgstr "Книжка \"%s\" не існує." -#: models/book.py:332 +#: models/book.py:375 #, python-format msgid "Book %s already exists" msgstr "Книжка %s вже існує" -#: models/book.py:590 +#: models/book.py:633 msgid "This work needs modernisation" msgstr "" -#: models/book.py:630 models/bookmedia.py:29 +#: models/book.py:680 models/bookmedia.py:29 #, python-format msgid "%s file" msgstr "файл %s" @@ -497,39 +506,55 @@ msgstr "Зміст" msgid "↑ top ↑" msgstr "↑ вгору ↑" -#: templates/catalogue/book_short.html:47 +#: templates/catalogue/book_short.html:50 #: templates/catalogue/picture_detail.html:52 msgid "Epoch" msgstr "Епоха" -#: templates/catalogue/book_short.html:55 +#: templates/catalogue/book_short.html:58 #: templates/catalogue/picture_detail.html:58 msgid "Kind" msgstr "Рід" -#: templates/catalogue/book_short.html:63 +#: templates/catalogue/book_short.html:66 msgid "Genre" msgstr "Жанр" -#: templates/catalogue/book_short.html:72 +#: templates/catalogue/book_short.html:75 #, fuzzy #| msgid "language code" msgid "Language" msgstr "мовний код" -#: templates/catalogue/book_short.html:91 +#: templates/catalogue/book_short.html:96 msgid "Read online" msgstr "Читати онлайн" -#: templates/catalogue/book_short.html:94 -msgid "Print on demand –" +#: templates/catalogue/book_short.html:99 +msgid "" +"Cena książki w druku cyfrowym jest zależna od liczby stron.
Przed zakupem " +"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia." +"
Wszystkie nasze zasoby w wersji elektronicznej są zawsze dostępne " +"bezpłatnie." msgstr "" #: templates/catalogue/book_short.html:99 -#: templates/catalogue/custom_pdf_form.html:19 views.py:630 +msgid "Print on demand –" +msgstr "" + +#: templates/catalogue/book_short.html:104 +#: templates/catalogue/custom_pdf_form.html:19 views.py:599 msgid "Download" msgstr "Завантажити" +#: templates/catalogue/book_short.html:118 +msgid "more" +msgstr "" + +#: templates/catalogue/book_short.html:129 +msgid "less" +msgstr "" + #: templates/catalogue/book_text.html:31 msgid "Table of contents" msgstr "Зміст" @@ -632,7 +657,7 @@ msgstr[1] "" msgid "All collections" msgstr "колекції" -#: templates/catalogue/custom_pdf_form.html:6 views.py:629 +#: templates/catalogue/custom_pdf_form.html:6 views.py:598 msgid "Download custom PDF" msgstr "Завантажити настроюваний PDF" @@ -773,47 +798,6 @@ msgstr "Пошук" msgid "Did you mean" msgstr "Ви мали на увазі" -#: templates/catalogue/search_multiple_hits.html:21 -#: templates/catalogue/tagged_object_list.html:15 -msgid "Authors" -msgstr "Автори" - -#: templates/catalogue/search_multiple_hits.html:31 -#: templates/catalogue/tagged_object_list.html:18 -msgid "Kinds" -msgstr "Роди" - -#: templates/catalogue/search_multiple_hits.html:41 -#: templates/catalogue/tagged_object_list.html:17 -msgid "Genres" -msgstr "Жанри" - -#: templates/catalogue/search_multiple_hits.html:51 -#: templates/catalogue/tagged_object_list.html:16 -msgid "Epochs" -msgstr "Епохи" - -#: templates/catalogue/search_multiple_hits.html:64 -msgid "Results by title" -msgstr "Результати за заголовком" - -#: templates/catalogue/search_multiple_hits.html:81 -msgid "Results by authors" -msgstr "Результати за авторами" - -#: templates/catalogue/search_multiple_hits.html:96 -#, fuzzy -msgid "Results by translators" -msgstr "Результати за авторами" - -#: templates/catalogue/search_multiple_hits.html:111 -msgid "Results in text" -msgstr "Результати в тексті" - -#: templates/catalogue/search_multiple_hits.html:128 -msgid "Other results" -msgstr "Інші результати" - #: templates/catalogue/search_no_hits.html:20 #: templates/catalogue/tagged_object_list.html:85 msgid "Sorry! Search cirteria did not match any resources." @@ -891,6 +875,22 @@ msgstr "Дивитись повну категорію" msgid "Audiobooks" msgstr "Аудіокниги" +#: templates/catalogue/tagged_object_list.html:15 +msgid "Authors" +msgstr "Автори" + +#: templates/catalogue/tagged_object_list.html:16 +msgid "Epochs" +msgstr "Епохи" + +#: templates/catalogue/tagged_object_list.html:17 +msgid "Genres" +msgstr "Жанри" + +#: templates/catalogue/tagged_object_list.html:18 +msgid "Kinds" +msgstr "Роди" + #: templates/catalogue/tagged_object_list.html:71 msgid "All matching works" msgstr "" @@ -933,7 +933,7 @@ msgstr "" msgid "Loading" msgstr "Leading" -#: views.py:595 +#: views.py:564 #, python-format msgid "" "An error occurred: %(exception)s\n" @@ -944,15 +944,31 @@ msgstr "" "\n" "%(tb)s" -#: views.py:597 +#: views.py:566 msgid "Book imported successfully" msgstr "Книжку успішно завантажено" -#: views.py:599 +#: views.py:568 #, python-format msgid "Error importing file: %r" msgstr "Помилка в завантаженні файла: %r" +#~ msgid "Results by title" +#~ msgstr "Результати за заголовком" + +#~ msgid "Results by authors" +#~ msgstr "Результати за авторами" + +#, fuzzy +#~ msgid "Results by translators" +#~ msgstr "Результати за авторами" + +#~ msgid "Results in text" +#~ msgstr "Результати в тексті" + +#~ msgid "Other results" +#~ msgstr "Інші результати" + #~ msgid "book count" #~ msgstr "кількість книжок" diff --git a/src/catalogue/models/book.py b/src/catalogue/models/book.py index 140ba50f9..12fdb8d3d 100644 --- a/src/catalogue/models/book.py +++ b/src/catalogue/models/book.py @@ -195,6 +195,9 @@ class Book(models.Model): else: return self.media.filter(type=type_).exists() + def has_audio(self): + return self.has_media('mp3') + def get_media(self, type_): if self.has_media(type_): if type_ in Book.formats: diff --git a/src/catalogue/templates/catalogue/book_short.html b/src/catalogue/templates/catalogue/book_short.html index 70aaed3ab..3ee07ce4b 100644 --- a/src/catalogue/templates/catalogue/book_short.html +++ b/src/catalogue/templates/catalogue/book_short.html @@ -106,20 +106,28 @@ {% if book.pdf_file %} PDF {% endif %} - {% custom_pdf_link_li book %} {% if book.epub_file %} EPUB {% endif %} {% if book.mobi_file %} MOBI {% endif %} - {% if book.fb2_file %} - FB2 + {% if book.has_audio %} + MP3 {% endif %} - {% if book.txt_file %} - TXT - {% endif %} - {% download_audio book %} + {% trans "more" %} + + {% if book.fb2_file %} + FB2 + {% endif %} + {% if book.txt_file %} + TXT + {% endif %} + {% download_audio book mp3=False %} +
+ {% custom_pdf_link_li book %} + {% trans "less" %} +
diff --git a/src/catalogue/templatetags/catalogue_tags.py b/src/catalogue/templatetags/catalogue_tags.py index f14cfa782..9f5c04b16 100644 --- a/src/catalogue/templatetags/catalogue_tags.py +++ b/src/catalogue/templatetags/catalogue_tags.py @@ -403,9 +403,9 @@ def related_books(context, instance, limit=6, random=1, taken=0): @register.simple_tag -def download_audio(book, daisy=True): +def download_audio(book, daisy=True, mp3=True): links = [] - if book.has_media('mp3'): + if mp3 and book.has_media('mp3'): links.append("%s" % ( reverse('download_zip_mp3', args=[book.slug]), BookMedia.formats['mp3'].name)) if book.has_media('ogg'): diff --git a/src/wolnelektury/static/js/base.js b/src/wolnelektury/static/js/base.js index adc340bfb..1cb62a485 100644 --- a/src/wolnelektury/static/js/base.js +++ b/src/wolnelektury/static/js/base.js @@ -234,6 +234,26 @@ tlite(function (el) { return $(el).hasClass('tlite-tooltip'); }); + + /* more/less switch from https://codepen.io/JoshBlackwood/pen/pEwHe */ + // Hide the extra content initially, using JS so that if JS is disabled, no problemo: + $('.read-more-content').addClass('hide'); + $('.read-more-show, .read-more-hide').removeClass('hide'); + + // Set up the toggle effect: + $('.read-more-show').on('click', function(e) { + $(this).next('.read-more-content').removeClass('hide'); + $(this).addClass('hide'); + e.preventDefault(); + }); + + // Changes contributed by @diego-rzg + $('.read-more-hide').on('click', function(e) { + var p = $(this).parent('.read-more-content'); + p.addClass('hide'); + p.prev('.read-more-show').removeClass('hide'); // Hide only the preceding "Read More" + e.preventDefault(); + }); }); })(jQuery); diff --git a/src/wolnelektury/static/scss/main/base.scss b/src/wolnelektury/static/scss/main/base.scss index 59e4784ff..270d2277e 100755 --- a/src/wolnelektury/static/scss/main/base.scss +++ b/src/wolnelektury/static/scss/main/base.scss @@ -8,9 +8,13 @@ html, body { clear: both; } +.hide { + display: none !important; +} + /* Basic colors and fonts */ body { - font-family: Georgia; + font-family: Georgia, serif; background: #f7f7f7; color: black; diff --git a/src/wolnelektury/static/scss/main/book_box.scss b/src/wolnelektury/static/scss/main/book_box.scss index 0e9061159..afcc79658 100755 --- a/src/wolnelektury/static/scss/main/book_box.scss +++ b/src/wolnelektury/static/scss/main/book_box.scss @@ -444,7 +444,7 @@ .book-box-formats { display: inline-block; - max-width: 220px; + max-width: 300px; vertical-align: top; padding-top: 6px;