fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic login.
[wolnelektury.git]
/
src
/
catalogue
/
constants.py
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
066a43c
..
f02bdd3
100644
(file)
--- a/
src/catalogue/constants.py
+++ b/
src/catalogue/constants.py
@@
-1,5
+1,5
@@
-# This file is part of Wolne
l
ektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# This file is part of Wolne
L
ektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
from django.utils.translation import gettext_lazy as _
#
from django.utils.translation import gettext_lazy as _
@@
-7,7
+7,12
@@
LICENSES = {
'http://creativecommons.org/licenses/by-sa/3.0/': {
'icon': 'cc-by-sa',
'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
'http://creativecommons.org/licenses/by-sa/3.0/': {
'icon': 'cc-by-sa',
'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
- 'locative': 'licencji CC-BY-SA 3.0 PL',
+ 'locative': 'licencji CC BY-SA 3.0 PL',
+ },
+ 'http://creativecommons.org/licenses/by-sa/4.0/deed.pl': {
+ 'icon': 'cc-by-sa',
+ 'description': _('Creative Commons Attribution-ShareAlike 4.0 Unported'),
+ 'locative': 'licencji CC BY-SA 4.0 PL',
},
'http://artlibre.org/licence/lal/pl/': {
'icon': 'lal',
},
'http://artlibre.org/licence/lal/pl/': {
'icon': 'lal',
@@
-18,7
+23,6
@@
LICENSES = {
LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
-
for license, data in list(LICENSES.items()):
LICENSES[license.replace('http://', 'https://')] = data
for license, data in list(LICENSES.items()):
LICENSES[license.replace('http://', 'https://')] = data
@@
-63,7
+67,6
@@
CATEGORIES_NAME_PLURAL = {
'genre': _('gatunki'),
'theme': _('motywy'),
'set': _('półki'),
'genre': _('gatunki'),
'theme': _('motywy'),
'set': _('półki'),
- 'thing': _('obiekty'),
}
WHOLE_CATEGORY = {
}
WHOLE_CATEGORY = {
@@
-73,5
+76,4
@@
WHOLE_CATEGORY = {
'genre': _('Wszystkie gatunki'),
'theme': _('Wszystkie motywy'),
'set': _('Wszystkie półki'),
'genre': _('Wszystkie gatunki'),
'theme': _('Wszystkie motywy'),
'set': _('Wszystkie półki'),
- 'thing': _('Wszystkie obiekty'),
}
}