summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/HandlerAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/HandlerAPI.py')
-rw-r--r--Mailman/Handlers/HandlerAPI.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py
index ca455a281..09eaeb705 100644
--- a/Mailman/Handlers/HandlerAPI.py
+++ b/Mailman/Handlers/HandlerAPI.py
@@ -24,6 +24,7 @@ from Mailman import mm_cfg
from Mailman import Errors
from Mailman.Logging.Syslog import syslog
from Mailman.pythonlib.StringIO import StringIO
+from Mailman.i18n import _
@@ -37,7 +38,7 @@ class MessageHeld(HandlerError):
def __str__(self):
return self.__class__.__doc__
- rejection = 'Your message was rejected'
+ rejection = _('Your message was rejected')
def rejection_notice(self, mlist):
return self.__class__.rejection