+# -*- 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