#2269 wrong localisation directory with custom prefix

svn: r10981
This commit is contained in:
Jérôme Rapinat 2008-08-13 06:01:11 +00:00
parent 6f0c3922c9
commit 1e3c17204c

View File

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