diff options
| author | bwarsaw | 2001-11-21 17:20:14 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-11-21 17:20:14 +0000 |
| commit | 669e05450d4764f780354f734d721611d6426faa (patch) | |
| tree | 8a86cdee294b5833835dd67a5c70812d1528986b /Mailman | |
| parent | 711eb2ab5c5262c4027a07ba31cd424b2caf7e23 (diff) | |
| download | mailman-669e05450d4764f780354f734d721611d6426faa.tar.gz mailman-669e05450d4764f780354f734d721611d6426faa.tar.zst mailman-669e05450d4764f780354f734d721611d6426faa.zip | |
hold_for_approval(): In setting up the initial interpolation
dictionary, translate `reason' through i18n.
Diffstat (limited to 'Mailman')
| -rw-r--r-- | Mailman/Handlers/Hold.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py index 9edd11988..6c78ed8d6 100644 --- a/Mailman/Handlers/Hold.py +++ b/Mailman/Handlers/Hold.py @@ -195,7 +195,7 @@ def hold_for_approval(mlist, msg, msgdata, exc): # deal with the held message. d = {'listname' : listname, 'hostname' : mlist.host_name, - 'reason' : reason, + 'reason' : _(reason), 'sender' : sender, 'subject' : msg.get('subject', _('(no subject)')), 'admindb_url': mlist.GetScriptURL('admindb', absolute=1), |
