summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2001-03-02 05:12:13 +0000
committerbwarsaw2001-03-02 05:12:13 +0000
commit13bdefec7b460c51f92e62955ea35c74fb105749 (patch)
treee63e54cad9df9fa4690623b74ad0c5b830f63016 /Mailman/HTMLFormatter.py
parentaeeae284875b76c41a05b6f46111d4bb81246b2d (diff)
downloadmailman-13bdefec7b460c51f92e62955ea35c74fb105749.tar.gz
mailman-13bdefec7b460c51f92e62955ea35c74fb105749.tar.zst
mailman-13bdefec7b460c51f92e62955ea35c74fb105749.zip
Lots of i18n changes. Specifically,
We have to play module global footsie with _() so that the rejection notices are marked as translatable, but aren't actually translated until later. Administrivia.rejection_notice(), MessageTooBig.rejection_notice(): Convert to interpolating local variables. hold_for_approval(): Conversion to the new way of i18n'ing. The language context at this point is the user's preferred language, so we craft his notification first before temporarily changing contexts to the list's preferred (for the admin). We no longer need to duplicate the code as was done before, but some things need to be re-translated in the context of the list's preferred language. Also, translate the exception str() and rejection_notice for real here.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions