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'),
13 LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
14 LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
16 # Those will be generated only for books with own HTML.
17 EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2']
18 # Those will be generated for all books.
19 EBOOK_FORMATS_WITH_CHILDREN = ['pdf', 'epub', 'mobi']
20 # Those will be generated when inherited cover changes.
21 EBOOK_FORMATS_WITH_COVERS = ['pdf', 'epub', 'mobi']
23 EBOOK_FORMATS = EBOOK_FORMATS_WITHOUT_CHILDREN + EBOOK_FORMATS_WITH_CHILDREN
40 CATEGORIES_NAME_PLURAL = {
41 'author': _('authors'),
51 'author': _('All authors'),
52 'epoch': _('All epochs'),
53 'kind': _('All kinds'),
54 'genre': _('All genres'),
55 'theme': _('All themes'),
57 'thing': _('All things'),