GrampsLocale: Use absolute address for importing grampslocale
so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py svn: r21486
This commit is contained in:
parent
4eb3e7c926
commit
c0aa613e4a
@ -217,7 +217,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