From a9443514ab3be24f1019c1fa14bf1b845357952f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 13 Aug 2008 06:00:23 +0000 Subject: [PATCH] #2269 wrong localisation directory with custom prefix svn: r10980 --- src/gramps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gramps.py b/src/gramps.py index 24ce3dd8b..f75fb4966 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -67,7 +67,7 @@ if os.environ.has_key("GRAMPSI18N"): elif os.path.exists( os.path.join(const.ROOT_DIR, "lang") ): loc = os.path.join(const.ROOT_DIR, "lang") else: - loc = "/usr/share/locale" + loc = os.path.join(const.PREFIXDIR, "share/locale") try: locale.setlocale(locale.LC_ALL,'C')