X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..1b2102e996789db8a8c6bc1e71f1798a87731a22:/src/wolnelektury/settings/locale.py?ds=inline diff --git a/src/wolnelektury/settings/locale.py b/src/wolnelektury/settings/locale.py index 5069051f9..16ca0c27d 100644 --- a/src/wolnelektury/settings/locale.py +++ b/src/wolnelektury/settings/locale.py @@ -1,4 +1,6 @@ -# -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from os import path from .paths import PROJECT_DIR @@ -15,17 +17,19 @@ LOCALE_PATHS = [ # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'pl' -gettext = lambda s: s + +def gettext(s): + return s 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'українська'), -# ('jp', u'日本語'), - ('it', u'italiano'), + ('pl', 'polski'), + ('de', 'Deutsch'), + ('en', 'English'), + ('lt', 'lietuvių'), + ('fr', 'français'), + ('ru', 'русский'), + ('es', 'español'), + ('uk', 'українська'), + # ('jp', '日本語'), + ('it', 'italiano'), ], key=lambda x: x[0]))