VirtualMailManager/Alias.py
changeset 32 ceb700bc4a80
parent 12 44161dbb1518
child 34 6d74e20c5b3b
--- a/VirtualMailManager/Alias.py	Sat May 10 02:56:33 2008 +0000
+++ b/VirtualMailManager/Alias.py	Tue May 13 03:20:02 2008 +0000
@@ -13,10 +13,16 @@
 __revision__ = 'rev '+'$Rev$'.split()[1]
 __date__ = '$Date$'.split()[1]
 
+import gettext
+
 from Exceptions import VMMAliasException
 from Domain import Domain
 import constants.ERROR as ERR
 
+gettext.bindtextdomain('vmm', '/usr/local/share/locale')
+gettext.textdomain('vmm')
+_ = gettext.gettext
+
 class Alias:
     """Class to manage e-mail accounts."""
     def __init__(self, dbh, address, destination=None):