1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django.utils.translation import ugettext_lazy as _
8 'http://creativecommons.org/licenses/by-sa/3.0/': {
10 'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
12 'http://artlibre.org/licence/lal/pl/': {
14 'description': _('Free Art License 1.3'),
17 LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
18 LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
20 # Those will be generated only for books with own HTML.
21 EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2']
22 # Those will be generated for all books.
23 EBOOK_FORMATS_WITH_CHILDREN = ['pdf', 'epub', 'mobi']
24 # Those will be generated when inherited cover changes.
25 EBOOK_FORMATS_WITH_COVERS = ['pdf', 'epub', 'mobi']
27 EBOOK_FORMATS = EBOOK_FORMATS_WITHOUT_CHILDREN + EBOOK_FORMATS_WITH_CHILDREN
44 CATEGORIES_NAME_PLURAL = {
45 'author': _('authors'),
55 'author': _('All authors'),
56 'epoch': _('All epochs'),
57 'kind': _('All kinds'),
58 'genre': _('All genres'),
59 'theme': _('All themes'),
61 'thing': _('All things'),