diff options
| author | bwarsaw | 2003-01-24 00:09:19 +0000 |
|---|---|---|
| committer | bwarsaw | 2003-01-24 00:09:19 +0000 |
| commit | 0312e4547a1c8098dbffd5f094cb220b362d1d38 (patch) | |
| tree | 2cc15dde28ddf82946de6104764a1ee934f07c20 /Mailman/Cgi/options.py | |
| parent | 516bc8f473a0c70c14d21ba67fc6df6c00ff533e (diff) | |
| download | mailman-0312e4547a1c8098dbffd5f094cb220b362d1d38.tar.gz mailman-0312e4547a1c8098dbffd5f094cb220b362d1d38.tar.zst mailman-0312e4547a1c8098dbffd5f094cb220b362d1d38.zip | |
I18n fixes for the digester, based on Tokio Kikuchi's patch #668819.
I've modified it though, so any brokenness is my fault. Specifically,
KEEP: Removed in favor of Default.py.in's MIME_DIGEST_KEEP_HEADERS.
process(): Use Generator.flatten() instead of the deprecated __call__
syntax.
send_i18n_digest(): Make sure things like the Subject headers in the
toc are coerced to the language the digest is being sent in (i.e. the
list's preferred language). Make sure the masthead, header and footer
attachments also get the right matching charset attribute. Make sure
that the username extracted from the From header is also in the right
character set. Use the Header object for proper wrapping of the
Subject lines in the toc, not Utils.wrap() which was broken and not
i18n aware.
Add a blank line between entries in the toc (might be controversial).
Send messages in the plain text digest through the scrubber so
attachments (and their MIME goo) don't mess up the plain text digests.
lheader(): New convenience function.
Diffstat (limited to 'Mailman/Cgi/options.py')
0 files changed, 0 insertions, 0 deletions
