UTF-8 support for translations, clean up gettext, improved gallery handling

svn: r1204
This commit is contained in:
Don Allingham
2002-11-25 04:30:36 +00:00
parent 4b4c7f8f8a
commit dbe98f4068
79 changed files with 2579 additions and 2750 deletions

View File

@@ -6,16 +6,19 @@
#
#-------------------------------------------------------------------------
import os
import intl
import locale
import gtk.glade
import intl
if os.environ.has_key("GRAMPSI18N"):
loc = os.environ["GRAMPSI18N"]
else:
loc = "locale"
intl.textdomain("gramps")
intl.bindtextdomain("gramps",loc)
intl.bind_textdomain_codeset("gramps",'UTF-8')
intl.textdomain("gramps")
locale.setlocale(locale.LC_NUMERIC,"C")
#-------------------------------------------------------------------------