X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/91d7e239af13516e98a9df25336274937ed80720..7131d5dd34875f57384c7c7a49469825f9fa69f2:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index b7c55fdab..b3be7095d 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Django settings for wolnelektury project. from os import path @@ -33,16 +34,16 @@ LANGUAGE_CODE = 'pl' 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 @@ -153,8 +154,8 @@ COMPRESS_JS = { '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',