sorl-thumbnail==12.5.0
# home-brewed & dependencies
-librarian==1.10
+librarian==1.12
# celery tasks
celery[redis]==4.4.7
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "Erstellungsdatum"
msgid "parent number"
msgstr "Elternnummer"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "zusätzliche Informationen"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "%s XML-Datei"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "Typ"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "Name"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "Name"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
#, fuzzy
msgid "file"
msgstr "XML-Datei"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "Sprachenkode"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Online lesen"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Herunterladen"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "Sammlungen"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "PDF-Datei herunterladen"
msgid "Sorry! Search query must have at least two characters."
msgstr "Sorry! Suchfrage muss zumindest zwei Buchstaben enthalten"
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
#, fuzzy
msgid "Download a custom PDF"
msgid "Loading"
msgstr "Zeilenabstand"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "Sprachenkode"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Buch wurde erfolgreich importiert"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Fehler beim Importieren der Datei: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "creation date"
msgid "parent number"
msgstr "Parent number"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "Additional information"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "%s file"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "type"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "name"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "name"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "XML file"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "language code"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Read online"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Download"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "collections"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Download custom PDF"
msgid "Sorry! Search query must have at least two characters."
msgstr "Sorry! Search query must have at least two characters."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Download a custom PDF"
msgid "Loading"
msgstr "Leading"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "language code"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Book imported succesfully"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "An error occured while importing file: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "fecha de creación"
msgid "parent number"
msgstr "cifra matriz"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "información adicional"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "%s archivo"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "tipo"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "nombre"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "nombre"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "archivo"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "los medios de el libro"
msgid "Language"
msgstr "código de idioma"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Leer en línea"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Descargar"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "colecciones"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Descarga PDF personalizado"
"¡Lo siento! La consulta de búsqueda tiene que consistir de dos caracteres "
"como mínimo."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Descarga un PDF personalisado"
msgid "Loading"
msgstr "Interlineado"
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "código de idioma"
+
# msgid "Today is %(month)s, %(day)s."
# msgstr "Hoy es el %(día)s de %(mes)es"
-#: catalogue/views.py:351
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "El libro ha sido importado con éxito"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Ha ocurrido un error al cargar el archivo: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "date de création"
msgid "parent number"
msgstr "nombre de parent"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "information supplémentaire"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "fichier %s"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "type"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "nom"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "nom"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "fichier"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "code de langue"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Lire en ligne"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Téléchargez"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "collections"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Téléchargez un PDF personnalisé"
"Nous sommes désolés, pour effectuer la recherche il faut entrer au moins "
"deux caractères."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Téléchargez un PDF pérsonnalisé"
msgid "Loading"
msgstr "Interligne"
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "code de langue"
+
# msgid "Today is %(month)s, %(day)s."
# msgstr "Aujourd'hui nous sommes le"
-#: catalogue/views.py:351
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Livre importé avec succès"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Erreur pendant l'importation du fichier: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "data di creazione"
msgid "parent number"
msgstr "numero del genitore"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr " ulteriori informazioni"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "i %s di file"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "tipo"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "nome"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "nome"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "file"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "codice della lingua"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Leggi online"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Scarica"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr " raccolte"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Scarica PDF personalizzato"
"Siamo spiacenti! La ricerca viene effettuata su parole con almeno due "
"caratteri."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr " Scarica un PDF personalizzato"
msgid "Loading"
msgstr "Interlinea"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "codice della lingua"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Libro scaricato con successo"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Errore dell'importazione del file: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "sukūrimo data"
msgid "parent number"
msgstr "pirminis numeris"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "papildomos informacijos"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "%s failas "
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "tipas"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "pavadinimas"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "pavadinimas"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "failas "
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "kalbos kodas"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Skaityti online"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Atsisiųsti"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "kolekcijos"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Sukurti ir atsisiųsti PDF failą"
msgstr ""
"Atsiprašome! Paieškos užklausa turi susidėti mažiausiai iš dviejų simbolių."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Sukurti ir atsisiųsti PDF failą"
msgid "Loading"
msgstr "eilučių intervalas"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "kalbos kodas"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Knyga buvo sėkmingai importuota"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Importuojant failą įvyko klaida: %r"
msgstr ""
"Project-Id-Version: WolneLektury\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2020-11-09 00:53+0100\n"
+"PO-Revision-Date: 2021-01-27 10:47+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org."
"pl>\n"
msgid "abstract"
msgstr "abstrakt"
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "data utworzenia"
msgid "parent number"
msgstr "numer rodzica"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "dodatkowe informacje"
msgid "This work needs modernisation"
msgstr "Ten utwór wymaga uwspółcześnienia"
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "plik %s"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "typ"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "nazwa"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
msgid "part name"
msgstr "nazwa części"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr "indeks"
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "plik"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "media książki"
msgid "Language"
msgstr "Język"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Czytaj online"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr "Druk na żądanie z"
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Pobierz"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr "więcej"
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr "mniej"
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr "Jak na razie ten utwór jest dostępny wyłącznie dla naszych Przyjaciół."
msgid "References"
msgstr "Odniesienia"
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr "Zamknij"
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr "Proszę czekać…"
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr "Inne wersje utworu"
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr "Zamknij drugą wersję"
msgid "All collections"
msgstr "Wszystkie kolekcje"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Stwórz własny PDF"
msgid "Sorry! Search query must have at least two characters."
msgstr "Przepraszamy! Zapytanie musi zawierać co najmniej dwa znaki."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr "Uwaga, tekst zawiera"
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Stwórz własny plik PDF"
msgid "Loading"
msgstr "Ładowanie"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+msgid "vulgar language"
+msgstr "wulgaryzmy"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Książka zaimportowana"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Błąd podczas importowania pliku: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "дата создания"
msgid "parent number"
msgstr "номер родителя"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "дополнительная информация"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, fuzzy, python-format
msgid "%s file"
msgstr "XML файл"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "тип"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "название"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "название"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
#, fuzzy
msgid "file"
msgstr "XML файл"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "аудиокнига"
msgid "Language"
msgstr "код языка"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Читать онлайн"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Загрузить"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "сборы"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Скачать PDF пользователя"
msgstr ""
"Извините! У искаемого вопроса должны быть по крайней мере два свойства."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Скачать PDF"
msgid "Loading"
msgstr "Ведение"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "код языка"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Вы удачно заимпортировали книгу"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Ошибка импорта файла: %r"
msgid "abstract"
msgstr ""
-#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:34
+#: catalogue/models/book.py:66 catalogue/models/bookmedia.py:40
#: catalogue/models/tag.py:71 catalogue/models/tag.py:72
msgid "creation date"
msgstr "дата створення"
msgid "parent number"
msgstr "номер батька"
-#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:35
+#: catalogue/models/book.py:69 catalogue/models/bookmedia.py:41
msgid "extra information"
msgstr "додаткова інформація"
msgid "This work needs modernisation"
msgstr ""
-#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:27
+#: catalogue/models/book.py:932 catalogue/models/bookmedia.py:33
#, python-format
msgid "%s file"
msgstr "файл %s"
-#: catalogue/models/bookmedia.py:29
+#: catalogue/models/bookmedia.py:35
msgid "type"
msgstr "тип"
-#: catalogue/models/bookmedia.py:30 catalogue/models/source.py:11
+#: catalogue/models/bookmedia.py:36 catalogue/models/source.py:11
#: catalogue/models/tag.py:56
msgid "name"
msgstr "назва"
-#: catalogue/models/bookmedia.py:31
+#: catalogue/models/bookmedia.py:37
#, fuzzy
#| msgid "name"
msgid "part name"
msgstr "назва"
-#: catalogue/models/bookmedia.py:32
+#: catalogue/models/bookmedia.py:38
msgid "index"
msgstr ""
-#: catalogue/models/bookmedia.py:33
+#: catalogue/models/bookmedia.py:39
msgid "file"
msgstr "файл"
-#: catalogue/models/bookmedia.py:44 catalogue/models/bookmedia.py:45
+#: catalogue/models/bookmedia.py:50 catalogue/models/bookmedia.py:51
msgid "book media"
msgstr "book media"
msgid "Language"
msgstr "мовний код"
-#: catalogue/templates/catalogue/book_short.html:111
+#: catalogue/templates/catalogue/book_short.html:112
msgid "Read online"
msgstr "Читати онлайн"
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid ""
"Cena książki w druku cyfrowym jest zależna od liczby stron.<br>Przed zakupem "
"upewnij się, że cena druku na żądanie jest dla Ciebie odpowiednia."
"bezpłatnie."
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:114
+#: catalogue/templates/catalogue/book_short.html:123
msgid "Print on demand –"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:119
-#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:401
+#: catalogue/templates/catalogue/book_short.html:128
+#: catalogue/templates/catalogue/custom_pdf_form.html:18 catalogue/views.py:404
msgid "Download"
msgstr "Завантажити"
-#: catalogue/templates/catalogue/book_short.html:133
+#: catalogue/templates/catalogue/book_short.html:142
msgid "more"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:144
+#: catalogue/templates/catalogue/book_short.html:153
msgid "less"
msgstr ""
-#: catalogue/templates/catalogue/book_short.html:150
+#: catalogue/templates/catalogue/book_short.html:161
msgid "For now this work is only available for our subscribers."
msgstr ""
msgid "References"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:93
+#: catalogue/templates/catalogue/book_text.html:96
#: catalogue/templates/catalogue/viewer_base.html:54
msgid "Close"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:94
+#: catalogue/templates/catalogue/book_text.html:97
msgid "Please wait..."
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:149
+#: catalogue/templates/catalogue/book_text.html:152
msgid "Other versions of the book"
msgstr ""
-#: catalogue/templates/catalogue/book_text.html:150
+#: catalogue/templates/catalogue/book_text.html:153
msgid "Close the other version"
msgstr ""
msgid "All collections"
msgstr "колекції"
-#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:400
+#: catalogue/templates/catalogue/custom_pdf_form.html:5 catalogue/views.py:403
msgid "Download custom PDF"
msgstr "Завантажити настроюваний PDF"
msgid "Sorry! Search query must have at least two characters."
msgstr "На жаль, для пошуку потрібно ввести щонайменше два знаки."
+#: catalogue/templates/catalogue/snippets/content_warning.html:4
+msgid "Caution: text contains"
+msgstr ""
+
#: catalogue/templates/catalogue/snippets/custom_pdf_link_li.html:3
msgid "Download a custom PDF"
msgstr "Завантажити настроюваний PDF"
msgid "Loading"
msgstr "Leading"
-#: catalogue/views.py:351
+#: catalogue/templatetags/catalogue_tags.py:504
+#, fuzzy
+#| msgid "language code"
+msgid "vulgar language"
+msgstr "мовний код"
+
+#: catalogue/views.py:354
#, python-format
msgid ""
"An error occurred: %(exception)s\n"
"\n"
"%(tb)s"
-#: catalogue/views.py:356
+#: catalogue/views.py:359
msgid "Book imported successfully"
msgstr "Книжку успішно завантажено"
-#: catalogue/views.py:357
+#: catalogue/views.py:360
#, python-format
msgid "Error importing file: %r"
msgstr "Помилка в завантаженні файла: %r"
<ul class="book-box-tools">
<li class="book-box-read">
{% if book.html_file %}
+ <div>{% content_warning book %}</div>
<a href="{% url 'book_text' book.slug %}" class="downarrow">{% trans "Read online" %}</a>
{% endif %}
{% if book.print_on_demand %}
{% trans "For now this work is only available for our subscribers." %}
<a href="/towarzystwo/">Dołącz do Towarzystwa Przyjaciół Wolnych Lektur</a>
</p>
+ <div>{% content_warning book %}</div>
{% endblock %}
{% endif %}
{% endcache %}
{% if prev %}
<a style="display:inline-block;padding: 1em;" href="{% url 'book_text' prev.slug %}">← {{ prev.title }}</a>
{% endif %}
+ <div style="text-align:center; margin-top:1em;">
+ {% content_warning book %}
+ </div>
<div style="clear:both;"></div>
{{ book_text|safe }}
{% endwith %}
--- /dev/null
+{% load i18n %}
+{% if warnings %}
+<p class="content-warning" style="background-color: #9e3610; color:white; display:inline-block; padding: 5px 10px; border-radius: 1em;">
+ {% trans "Caution: text contains" %}
+ {% for w in warnings %}{% if forloop.counter > 1 %},{% endif %}
+ {{ w }}{% endfor %}.
+</p>
+{% endif %}
return 'preview'
else:
return 'closed'
+
+
+@register.inclusion_tag('catalogue/snippets/content_warning.html')
+def content_warning(book):
+ warnings_def = {
+ 'wulgaryzmy': _('vulgar language'),
+ }
+ warnings = book.get_extra_info_json().get('content_warnings')
+ warnings = sorted(
+ warnings_def.get(w, w)
+ for w in warnings
+ )
+ return {
+ "warnings": warnings
+ }