From 1e3c17204c4439a1b0fcf54378e0685c73b88dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 13 Aug 2008 06:01:11 +0000 Subject: [PATCH] #2269 wrong localisation directory with custom prefix svn: r10981 --- src/gramps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gramps.py b/src/gramps.py index b03fd4103..1f060ff52 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -67,7 +67,7 @@ if "GRAMPSI18N" in os.environ: 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')