From 58e213e22beac1e3019df4eac15b4f8fc9a24e15 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 27 May 2006 21:04:44 +0000 Subject: [PATCH] Add provisions for local mo files for Windows svn: r6797 --- ChangeLog | 3 +++ src/gramps.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 90e6d0fd7..1bef5a618 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-05-27 Brian Matherly + * src/gramps.py: Add provisions for local mo files for Windows + 2006-05-26 Brian Matherly * src/plugins/IndivComplete.py: Add event notes. diff --git a/src/gramps.py b/src/gramps.py index 2b2f31c83..0ce7e387d 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -63,6 +63,8 @@ sys.path.append(os.path.abspath(os.path.basename(__file__))) #------------------------------------------------------------------------- if os.environ.has_key("GRAMPSI18N"): loc = os.environ["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"