VirtualMailManager/Transport.py
changeset 32 ceb700bc4a80
parent 8 7e3ce56f49e6
child 34 6d74e20c5b3b
--- a/VirtualMailManager/Transport.py	Sat May 10 02:56:33 2008 +0000
+++ b/VirtualMailManager/Transport.py	Tue May 13 03:20:02 2008 +0000
@@ -14,9 +14,15 @@
 __revision__ = 'rev '+'$Rev$'.split()[1]
 __date__ = '$Date$'.split()[1]
 
+import gettext
+
 from Exceptions import VMMTransportException
 import constants.ERROR as ERR
 
+gettext.bindtextdomain('vmm', '/usr/local/share/locale')
+gettext.textdomain('vmm')
+_ = gettext.gettext
+
 class Transport:
     """A wrapper class thats provide access to the transport table"""
     def __init__(self, dbh, tid=None, transport=None):