--- a/VirtualMailManager/Config.py Sat May 10 02:56:33 2008 +0000
+++ b/VirtualMailManager/Config.py Tue May 13 03:20:02 2008 +0000
@@ -17,6 +17,7 @@
__date__ = '$Date$'.split()[1]
import sys
+import gettext
from shutil import copy2
from ConfigParser import ConfigParser
from cStringIO import StringIO
@@ -24,6 +25,10 @@
from Exceptions import VMMConfigException
import constants.ERROR as ERR
+gettext.bindtextdomain('vmm', '/usr/local/share/locale')
+gettext.textdomain('vmm')
+_ = gettext.gettext
+
class VMMConfig(ConfigParser):
"""This class is for configure the Virtual Mail Manager.