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