diff options
| author | bwarsaw | 2000-12-26 17:27:39 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-12-26 17:27:39 +0000 |
| commit | 1c8ca76cbce54a02780d481ffceaa390357aa9d9 (patch) | |
| tree | 83b728b65123098afe429e54bee29e5606bd1643 | |
| parent | 693c5d0536c0bcb15beee46486d47f0725a71d7a (diff) | |
| download | mailman-1c8ca76cbce54a02780d481ffceaa390357aa9d9.tar.gz mailman-1c8ca76cbce54a02780d481ffceaa390357aa9d9.tar.zst mailman-1c8ca76cbce54a02780d481ffceaa390357aa9d9.zip | |
main(): Call maketext() with the list's preferred language.
| -rwxr-xr-x | bin/newlist | 2 | ||||
| -rwxr-xr-x | cron/checkdbs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/newlist b/bin/newlist index a07a67edd..654129b35 100755 --- a/bin/newlist +++ b/bin/newlist @@ -207,7 +207,7 @@ def main(): 'listinfo_url': mlist.GetScriptURL('listinfo', absolute=1), 'requestaddr' : "%s-request@%s" % (listname, mlist.host_name), 'hostname' : mlist.host_name, - }) + }, mlist.preferred_language)) msg = Message.UserNotification( owner_mail, 'mailman-owner@' + mlist.host_name, diff --git a/cron/checkdbs b/cron/checkdbs index ba259746d..43107293f 100755 --- a/cron/checkdbs +++ b/cron/checkdbs @@ -48,7 +48,7 @@ def main(): 'host_name': mlist.host_name, 'adminDB' : mlist.GetScriptURL('admindb', absolute=1), 'real_name': mlist.real_name, - }) + }, mlist.preferred_language) text = text + '\n' + pending_requests(mlist) subject = '%d %s admin request(s) waiting' % ( count, mlist.real_name) |
