From 761f88ab2d79a9c70f2a686249a061de5f98e1cd Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 26 Nov 2001 03:26:02 +0000 Subject: [PATCH] New intl.py svn: r585 --- gramps/src/intl.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gramps/src/intl.py diff --git a/gramps/src/intl.py b/gramps/src/intl.py new file mode 100644 index 000000000..be9f0d004 --- /dev/null +++ b/gramps/src/intl.py @@ -0,0 +1,29 @@ +import sys + +ver = sys.version[0:3] + +try: + if ver == "1.5": + from intl15 import * + elif ver == "2.0": + from intl20 import * + elif ver == "2.1": + from intl21 import * + else: + def gettext(s): + return s + + def textdomain(s): + return + + def bindtextdomain(s,x): + return +except: + def gettext(s): + return s + + def textdomain(s): + return + + def bindtextdomain(s,x): + return