[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
This commit is contained in:
John Ralls 2013-02-28 19:22:21 +00:00
parent fc8eb4f445
commit ebcd0bb119

View File

@ -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