Add provisions for local mo files for Windows
svn: r6797
This commit is contained in:
parent
ba3fc60e51
commit
58e213e22b
@ -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>
|
2006-05-26 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/IndivComplete.py: Add event notes.
|
* src/plugins/IndivComplete.py: Add event notes.
|
||||||
|
|
||||||
|
@ -63,6 +63,8 @@ sys.path.append(os.path.abspath(os.path.basename(__file__)))
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
if os.environ.has_key("GRAMPSI18N"):
|
if os.environ.has_key("GRAMPSI18N"):
|
||||||
loc = os.environ["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:
|
else:
|
||||||
loc = "/usr/share/locale"
|
loc = "/usr/share/locale"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user