summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/create.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-07-18 11:46:44 -0400
committerBarry Warsaw2007-07-18 11:46:44 -0400
commit50d84950d1060129da8eb3c3c490a7395b0837e5 (patch)
tree0902bb4b1a5c8f7caa05191e9de9d3d0f76fe648 /Mailman/Cgi/create.py
parent012fcb71e7e634b985219a7d5cf0deda87a2aa90 (diff)
downloadmailman-50d84950d1060129da8eb3c3c490a7395b0837e5.tar.gz
mailman-50d84950d1060129da8eb3c3c490a7395b0837e5.tar.zst
mailman-50d84950d1060129da8eb3c3c490a7395b0837e5.zip
Diffstat (limited to 'Mailman/Cgi/create.py')
-rw-r--r--Mailman/Cgi/create.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index 978f1b9ac..a25f240ed 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -361,14 +361,14 @@ def request_creation(doc, cgidata=dummy, errmsg=None):
# invocations.
checked = [0] * len(langs)
checked[langi] = 1
- deflang = _(config.languages.get_language_data(
- config.DEFAULT_SERVER_LANGUAGE)[0])
+ deflang = _(
+ config.languages.get_description(config.DEFAULT_SERVER_LANGUAGE))
ftable.AddRow([Label(_(
"""Initial list of supported languages. <p>Note that if you do not
select at least one initial language, the list will use the server
default language of $deflang""")),
CheckBoxArray('langs',
- [_(config.languges.get_language_data(code)[0])
+ [_(config.languges.get_description(code))
for code in langs],
checked=checked,
values=langs)])