diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | bin/newlist | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -158,6 +158,10 @@ Internationalization - Fixed the command line scripts add_members, sync_members and clone_member to properly handle banned addresses (1904737). + - Fixed bin/newlist to add the list's preferred language to the list's + available_languages if it is other than the server's default language + (1906368). + Miscellaneous - Brad Knowles' mailman daily status report script updated to 0.0.17. diff --git a/bin/newlist b/bin/newlist index 70e9cb8c..08b86e08 100755 --- a/bin/newlist +++ b/bin/newlist @@ -193,7 +193,11 @@ def main(): oldmask = os.umask(002) try: try: - mlist.Create(listname, owner_mail, pw) + if lang == mm_cfg.DEFAULT_SERVER_LANGUAGE: + langs = [lang] + else: + langs = [lang, mm_cfg.DEFAULT_SERVER_LANGUAGE] + mlist.Create(listname, owner_mail, pw, langs=langs) finally: os.umask(oldmask) except Errors.BadListNameError, s: |