From ebcd0bb11931e00c61c94f2b3c6dbbbff1b904c3 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 28 Feb 2013 19:22:21 +0000 Subject: [PATCH] [r21486]GrampsLocale: Use absolute address for importing grampslocale so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py svn: r21494 --- gramps/gen/const.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/const.py.in b/gramps/gen/const.py.in index 1f142aae4..80aedaafb 100644 --- a/gramps/gen/const.py.in +++ b/gramps/gen/const.py.in @@ -223,7 +223,7 @@ LICENSE_FILE = os.path.join(DOC_DIR, 'COPYING') # Init Localization # #------------------------------------------------------------------------- -from .utils.grampslocale import GrampsLocale +from gramps.gen.utils.grampslocale import GrampsLocale GRAMPS_LOCALE = GrampsLocale() _ = GRAMPS_LOCALE.get_translation().sgettext