From: Radek Czajka Date: Fri, 13 Aug 2010 10:39:37 +0000 (+0200) Subject: Fixes #733: tooltips with language names X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7131d5dd34875f57384c7c7a49469825f9fa69f2?ds=inline;hp=089e42600c995f8b8b23c69ba93419167c0ae5be Fixes #733: tooltips with language names --- diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 8a82221b9..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 @@ -34,14 +35,14 @@ LANGUAGE_CODE = 'pl' gettext = lambda s: s LANGUAGES = tuple(sorted([ - ('pl', gettext('Polish')), - ('de', gettext('German')), - ('en', gettext('English')), - ('lt', gettext('Lithuanian')), - ('fr', gettext('French')), - ('ru', gettext('Russian')), - ('es', gettext('Spanish')), - ('uk', gettext('Ukrainian')), + ('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])) diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index da5ab63a7..393eec52d 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -51,7 +51,7 @@
{% spaceless %} {% for lang in LANGUAGES %} - {% endfor %}