From 2b9b870f3bf0c8ed7c69884d8e9ec64f6b5cfb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 18 Oct 2013 08:52:28 +0000 Subject: [PATCH] NameError on translated strings (logging) svn: r23335 --- src/DateHandler/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DateHandler/__init__.py b/src/DateHandler/__init__.py index 5840cf101..a57c6832b 100644 --- a/src/DateHandler/__init__.py +++ b/src/DateHandler/__init__.py @@ -33,6 +33,8 @@ import logging # import prerequisites for localized handlers from _DateHandler import (LANG, LANG_SHORT, LANG_TO_PARSER, LANG_TO_DISPLAY, register_datehandler) + +from gen.ggettext import gettext as _ # Import all the localized handlers import _Date_ar