gtk.glade.bindtextdomain

svn: r1427
This commit is contained in:
Don Allingham 2003-04-06 05:07:36 +00:00
parent c32dcf052f
commit 063a2a7362
3 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,6 @@ if os.environ.has_key("GRAMPSI18N"):
else:
loc = "/usr/share/locale"
gtk.glade.bindtextdomain("gramps",loc)
intl.bindtextdomain("gramps",loc)
intl.bind_textdomain_codeset("gramps",'UTF-8')
intl.textdomain("gramps")

View File

@ -536,7 +536,7 @@ class Gramps:
pixbuf = gtk.gdk.pixbuf_new_from_file(const.logo)
if const.translators[0:11] == "TRANSLATORS":
trans = ""
trans = ''
else:
trans = const.translators

View File

@ -23,6 +23,7 @@ Abstracts the i18n library, providing a non-translated fallback if
everything else fails.
"""
import sys
import gtk
ver = sys.version[0:3]
_trans = None
@ -57,6 +58,7 @@ except:
return foo.textdomain(s)
def bindtextdomain(s,x):
gtk.glade.bindtextdomain(s,x)
return foo.bindtextdomain(s,x)
def null(s):