fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dc95b1d
)
fix license info
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 3 Jul 2024 09:47:02 +0000
(11:47 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Wed, 3 Jul 2024 09:47:02 +0000
(11:47 +0200)
src/catalogue/constants.py
patch
|
blob
|
history
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
aeb76eb
..
9d21d4e
100644
(file)
--- a/
src/catalogue/constants.py
+++ b/
src/catalogue/constants.py
@@
-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',
@@
-17,8
+22,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/']
-LICENSES['http://creativecommons.org/licenses/by-sa/4.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