summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/edithtml.py
diff options
context:
space:
mode:
authorbwarsaw2001-05-18 20:14:53 +0000
committerbwarsaw2001-05-18 20:14:53 +0000
commit99bf4f49b61b79f8af5a7a9e609b4ac1b3fe231d (patch)
tree50be09adfc735966ef8df7d44b61a0c4cbd14955 /Mailman/Cgi/edithtml.py
parent7a8f2a6322f8ec7b67021dbec84d56bb874a3075 (diff)
downloadmailman-99bf4f49b61b79f8af5a7a9e609b4ac1b3fe231d.tar.gz
mailman-99bf4f49b61b79f8af5a7a9e609b4ac1b3fe231d.tar.zst
mailman-99bf4f49b61b79f8af5a7a9e609b4ac1b3fe231d.zip
Better support for command line scripts which want to set the default
language to the value of $LANGUAGE (or any of the other gettext module supported environment variables). Specifically, set_language(): Allow the `language' parameter to default to None, which tells gettext.translation() to use its own defaults. When the module global _translation is None, call set_language() with no arguments.
Diffstat (limited to 'Mailman/Cgi/edithtml.py')
0 files changed, 0 insertions, 0 deletions