diff options
Diffstat (limited to 'Mailman/Cgi/create.py')
| -rw-r--r-- | Mailman/Cgi/create.py | 6 |
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)]) |
