VirtualMailManager/Alias.py
changeset 129 4ffb50de00d5
parent 122 30abf0abf8f8
child 133 2d5c4745efec
--- a/VirtualMailManager/Alias.py	Fri Aug 21 17:42:22 2009 +0000
+++ b/VirtualMailManager/Alias.py	Fri Aug 21 18:41:33 2009 +0000
@@ -120,9 +120,9 @@
             self._dbh.commit()
         else:
             if self._dest is None:
-                msg = u"The alias »%s« doesn't exists." % self._addr
+                msg = _(u"The alias »%s« doesn't exists.") % self._addr
             else:
-                msg = u"The alias »%(a)s« with destination »%(d)s« doesn't\
- exists." % {'a': self._addr, 'd': self._dest}
-            raise VMMAE(_(msg), ERR.NO_SUCH_ALIAS)
+                msg = _(u"The alias »%(a)s« with destination »%(d)s« doesn't\
+ exists.") % {'a': self._addr, 'd': self._dest}
+            raise VMMAE(msg, ERR.NO_SUCH_ALIAS)