X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/01d7c5f6d52a56a9800ea7eccfeb25762261813d..f88f26e37b7f97e31ff75742eecd21d7f3fe4f16:/wolnelektury/settings.py?ds=sidebyside diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 1608b5fad..07b1ef004 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -47,6 +47,8 @@ LANGUAGES = tuple(sorted([ ('ru', u'русский'), ('es', u'español'), ('uk', u'українська'), + ('jp', u'日本語'), + ('it', u'italiano'), ], key=lambda x: x[0])) @@ -198,12 +200,20 @@ COMPRESS_CSS = { 'css/book_box.css', 'css/catalogue.css', 'css/sponsors.css', + 'css/logo.css', 'css/social/shelf_tags.css', 'css/ui-lightness/jquery-ui-1.8.16.custom.css', ], 'output_filename': 'css/all.min?.css', }, + 'screen': { + 'source_filenames': ['css/screen.css'], + 'output_filename': ['css/screen.min?.css'], + 'extra_context': { + 'media': 'screen and (min-width: 800px)', + }, + }, 'ie': { 'source_filenames': [ 'css/ie.css', @@ -211,12 +221,16 @@ COMPRESS_CSS = { 'output_filename': 'css/ie.min?.css', }, 'book': { - 'source_filenames': ('css/master.book.css',), + 'source_filenames': [ + 'css/logo.css', + 'css/master.book.css', + ], 'output_filename': 'css/book.min?.css', }, 'player': { 'source_filenames': [ 'jplayer/jplayer.blue.monday.css', + 'css/player.css', ], 'output_filename': 'css/player.min?.css', }, @@ -272,17 +286,6 @@ COMPRESS_VERSION = True COMPRESS_CSS_FILTERS = None THUMBNAIL_QUALITY = 95 -THUMBNAIL_EXTENSION = 'png' - -THUMBNAIL_PROCESSORS = ( - # Default processors - 'sorl.thumbnail.processors.colorspace', - 'sorl.thumbnail.processors.autocrop', - 'sorl.thumbnail.processors.scale_and_crop', - 'sorl.thumbnail.processors.filters', - # Custom processors - 'sponsors.processors.add_padding', -) TRANSLATION_REGISTRY = "wolnelektury.translation"