Add provisions for local mo files for Windows

svn: r6797
This commit is contained in:
Brian Matherly 2006-05-27 21:04:44 +00:00
parent 5060c054d4
commit c7ca6baf3e
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2006-05-27 Brian Matherly <brian@gramps-project.org>
* src/gramps.py: Add provisions for local mo files for Windows
2006-05-26 Brian Matherly <brian@gramps-project.org>
* src/plugins/IndivComplete.py: Add event notes.

View File

@ -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"