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
41 u'pl.wikisource.org': _(u'Wikisource'),
42 u'de.wikisource.org': _(u'Wikisource'),
43 u'www.polona.pl': u'CBN Polona',