* src/gramps.py: handle python versions with broken setlocale()

* src/po/Makefile.am: don't pass -v to msgfmt


svn: r2351
This commit is contained in:
Don Allingham
2003-11-19 17:20:05 +00:00
parent 02ddd38c12
commit 02cded3948
2 changed files with 7 additions and 3 deletions

View File

@ -54,7 +54,11 @@ if os.environ.has_key("GRAMPSI18N"):
else:
loc = "/usr/share/locale"
locale.setlocale(locale.LC_ALL,'')
try:
locale.setlocale(locale.LC_ALL,'')
except ValueError:
pass
gettext.bindtextdomain("gramps",loc)
gtk.glade.bindtextdomain("gramps",loc)