Add provisions for local mo files for Windows

svn: r6797
This commit is contained in:
Brian Matherly committed 2006-05-27 21:04:44 +00:00
1 parent ba3fc60e51
commit 58e213e22b
2 files changed
+5

No files matched your search

+3
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.
+2
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"