From 3e3a438ff93a2a649f36fc4df36ba5a694858a4c Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sat, 31 Aug 2013 04:27:20 +0000 Subject: [PATCH] Define default gettext domain in one place --- i2p2www/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index 5dbf0cc02..b8a31b1af 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -64,7 +64,7 @@ class MyFlask(Flask): app = application = MyFlask('i2p2www', template_folder=TEMPLATE_DIR, static_url_path='/_static', static_folder=STATIC_DIR) app.debug = bool(os.environ.get('APP_DEBUG', 'False')) -babel = Babel(app, default_domain='priority') +babel = Babel(app, default_domain=DEFAULT_GETTEXT_DOMAIN) cache = Cache(app, config={ 'CACHE_DEFAULT_TIMEOUT': 600, #'CACHE_TYPE': '', # See http://packages.python.org/Flask-Cache/#configuring-flask-cache -- GitLab