From aed97fc00a894d1d1d1ebb9016c70d2024bddf9d Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 12 Dec 2002 03:32:48 +0000 Subject: main(): Once we know which mailing list we're talking about, set the i18n language to its preferred language. This fixes the generated archives to the right language and also outputs the status messages in that language. --- bin/arch | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/arch b/bin/arch index 677d4fde2..be430f680 100644 --- a/bin/arch +++ b/bin/arch @@ -144,6 +144,7 @@ def main(): if mbox is None: mbox = mlist.ArchiveFileName() + i18n.set_language(mlist.preferred_language) # lay claim to the archive's lock file. this is so no other post can # mess up the archive while we're glomming it. we pick a suitably # long period of time for the lock lifetime, however we really don't -- cgit v1.3.1