X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..ce097db0af8c96297501b569ec49477b76c1ceec:/src/wolnelektury/settings/locale.py?ds=sidebyside diff --git a/src/wolnelektury/settings/locale.py b/src/wolnelektury/settings/locale.py index 0a4876671..65b8200ea 100644 --- a/src/wolnelektury/settings/locale.py +++ b/src/wolnelektury/settings/locale.py @@ -1,6 +1,5 @@ -# -*- 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. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from os import path from .paths import PROJECT_DIR @@ -11,7 +10,7 @@ USE_I18N = True USE_L10N = True LOCALE_PATHS = [ - path.join(PROJECT_DIR, 'locale-contrib') + path.join(PROJECT_DIR, 'locale') ] # Language code for this installation. All choices can be found here: @@ -19,18 +18,15 @@ LOCALE_PATHS = [ LANGUAGE_CODE = 'pl' -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]))