This website requires JavaScript.
Explore
Help
Register
Sign In
Cyclone-Team
/
gramps
Watch
2
Star
0
Fork
0
You've already forked gramps
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
62bafc0491
gramps
/
mac
/
launcher.sh
5 lines
93 B
Bash
Raw
Normal View
History
Unescape
Escape
Add MacOSX build modules, bundle description, and ancilary files needed to build and bundle Gramps with Gtk-OSX and ige-mac-bundler. svn: r16318
2010-12-28 04:12:13 +05:30
#!/bin/sh
Bug #4302: Language settings are wrong when an english variant is first Rewrote the launcher in python with much improved language handling; renamed it to rungramps.py, and replaced launcher.sh with a minimal shell launcher. Any english selection will now have $LANG set to "C", while $LC_ALL will be set to whatever english variant the user selected (and en_US if she specified just "en"). For languages other than English, $LC_ALL will be set to xx_XX if the language selection had no region (e.g., if the language selection is de, $LANG will be de and $LC_ALL will be de_DE. $LANG will be truncated if the language selection has a region that Gramps doesn't support, but does support the bare language (e.g., if the language selection is de_DE, $LANG will be de because there is no de_DE translation. Gettext is smart enough to get this right without the help, but the check is necessary to ensure that we don't skip over a supported generic language. The language settings can now be overridden for gramps by using the defaults system. svn: r17342
2011-04-30 02:51:33 +05:30
PWD
=
`
dirname
$0
`
Improvements to new python launcher svn: r17379
2011-05-03 00:17:14 +05:30
export
PYTHON
=
"
$PWD
/python
"
exec
"
$PYTHON
"
"
$PWD
/rungramps.py
"
$@
Reference in New Issue
Copy Permalink