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 b3da6648f..5d934b3b0 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 5c03f76fa..34d6190d1 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