+# -*- coding: utf-8 -*-
# Django settings for wolnelektury project.
from os import path
gettext = lambda s: s
-LANGUAGES = (
- ('pl', gettext('Polish')),
- ('de', gettext('German')),
- ('en', gettext('English')),
- ('lt', gettext('Lithuanian')),
- ('fr', gettext('French')),
- ('ru', gettext('Russian')),
- ('es', gettext('Spanish')),
- ('uk', gettext('Ukrainian')),
-)
+LANGUAGES = tuple(sorted([
+ ('pl', u'polski'),
+ ('de', u'Deutsch'),
+ ('en', u'English'),
+ ('lt', u'lietuvių'),
+ ('fr', u'français'),
+ ('ru', u'русский'),
+ ('es', u'español'),
+ ('uk', u'українська'),
+], key=lambda x: x[0]))
SITE_ID = 1
# CSS and JavaScript file groups
COMPRESS_CSS = {
'all': {
- 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css',),
+ 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css', 'css/facelist_2-0.css',),
'output_filename': 'css/all.min?.css',
},
'book': {
'output_filename': 'js/jquery.min.js',
},
'all': {
- 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js',
- 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
+ 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js',
+ 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
+ 'js/jquery.marquee.js',
'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',
),
'output_filename': 'js/all?.min.js',