gtk.glade.bindtextdomain
svn: r1427
This commit is contained in:
parent
84f55e1079
commit
7b8aa74a1d
@ -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")
|
||||
|
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user