From 9148eaf18f7baa6346d2d318adeca65f9a7dc225 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 21 Jul 2013 20:49:01 +0000 Subject: [PATCH] add the missing import to the 3139 fix I added, sigh svn: r22713 --- gramps/gen/utils/cast.py | 2 ++ po/POTFILES.in | 1 + po/POTFILES.skip | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps/gen/utils/cast.py b/gramps/gen/utils/cast.py index d7d2015b7..799db27af 100644 --- a/gramps/gen/utils/cast.py +++ b/gramps/gen/utils/cast.py @@ -41,6 +41,8 @@ LOG = logging.getLogger(".") # Gramps modules # #------------------------------------------------------------------------- +from ..const import GRAMPS_LOCALE as glocale +_ = glocale.translation.gettext from ..datehandler import codeset from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE diff --git a/po/POTFILES.in b/po/POTFILES.in index 51aef46ac..c974217cd 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -307,6 +307,7 @@ gramps/gen/proxy/private.py gramps/gen/relationship.py gramps/gen/simple/_simpleaccess.py gramps/gen/utils/alive.py +gramps/gen/utils/cast.py gramps/gen/utils/db.py gramps/gen/utils/docgen/odstab.py gramps/gen/utils/image.py diff --git a/po/POTFILES.skip b/po/POTFILES.skip index 64dfc5539..9c6b65838 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -247,7 +247,6 @@ gramps/gen/simple/_simpledoc.py gramps/gen/utils/__init__.py gramps/gen/utils/callback.py gramps/gen/utils/callman.py -gramps/gen/utils/cast.py gramps/gen/utils/config.py gramps/gen/utils/debug.py gramps/gen/utils/file.py