#2269 wrong localisation directory with custom prefix

svn: r10980
This commit is contained in:
Jérôme Rapinat 2008-08-13 06:00:23 +00:00
parent e370435634
commit a9443514ab

View File

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