gtk.glade.bindtextdomain
svn: r1427
This commit is contained in:
parent
c32dcf052f
commit
063a2a7362
@ -23,7 +23,6 @@ if os.environ.has_key("GRAMPSI18N"):
|
|||||||
else:
|
else:
|
||||||
loc = "/usr/share/locale"
|
loc = "/usr/share/locale"
|
||||||
|
|
||||||
gtk.glade.bindtextdomain("gramps",loc)
|
|
||||||
intl.bindtextdomain("gramps",loc)
|
intl.bindtextdomain("gramps",loc)
|
||||||
intl.bind_textdomain_codeset("gramps",'UTF-8')
|
intl.bind_textdomain_codeset("gramps",'UTF-8')
|
||||||
intl.textdomain("gramps")
|
intl.textdomain("gramps")
|
||||||
|
@ -536,7 +536,7 @@ class Gramps:
|
|||||||
pixbuf = gtk.gdk.pixbuf_new_from_file(const.logo)
|
pixbuf = gtk.gdk.pixbuf_new_from_file(const.logo)
|
||||||
|
|
||||||
if const.translators[0:11] == "TRANSLATORS":
|
if const.translators[0:11] == "TRANSLATORS":
|
||||||
trans = ""
|
trans = ''
|
||||||
else:
|
else:
|
||||||
trans = const.translators
|
trans = const.translators
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ Abstracts the i18n library, providing a non-translated fallback if
|
|||||||
everything else fails.
|
everything else fails.
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
|
import gtk
|
||||||
|
|
||||||
ver = sys.version[0:3]
|
ver = sys.version[0:3]
|
||||||
_trans = None
|
_trans = None
|
||||||
@ -57,6 +58,7 @@ except:
|
|||||||
return foo.textdomain(s)
|
return foo.textdomain(s)
|
||||||
|
|
||||||
def bindtextdomain(s,x):
|
def bindtextdomain(s,x):
|
||||||
|
gtk.glade.bindtextdomain(s,x)
|
||||||
return foo.bindtextdomain(s,x)
|
return foo.bindtextdomain(s,x)
|
||||||
|
|
||||||
def null(s):
|
def null(s):
|
||||||
|
Loading…
Reference in New Issue
Block a user