[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:
parent
fc8eb4f445
commit
ebcd0bb119
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user