From 7b8aa74a1d1bae920ed5f65818f337852575e6c7 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 6 Apr 2003 05:07:36 +0000 Subject: [PATCH] gtk.glade.bindtextdomain svn: r1427 --- src/gramps.py | 1 - src/gramps_main.py | 2 +- src/intl.py | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gramps.py b/src/gramps.py index fcdbf22fa..930fc1a26 100755 --- a/src/gramps.py +++ b/src/gramps.py @@ -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") diff --git a/src/gramps_main.py b/src/gramps_main.py index 64d8557ce..718669e21 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -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 diff --git a/src/intl.py b/src/intl.py index 4258e5f87..59837a8cd 100644 --- a/src/intl.py +++ b/src/intl.py @@ -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):