diff options
Diffstat (limited to 'Mailman/Cgi/admin.py')
| -rw-r--r-- | Mailman/Cgi/admin.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 916eb4e9d..93ae9c636 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -228,21 +228,19 @@ def admin_overview(msg=''): greeting = _("Welcome!") welcome = [] + mailmanlink = Link(mm_cfg.MAILMAN_URL, _('Mailman')).Format() if not advertised: welcome.extend([ greeting, - _('<p>There currently are no publicly-advertised '), - Link(mm_cfg.MAILMAN_URL, _('Mailman')), - _(' mailing lists on %(hostname)s.'), + _('''<p>There currently are no publicly-advertised %(mailmanlink)s + mailing lists on %(hostname)s.'''), ]) else: welcome.extend([ greeting, - _('<p>Below is the collection of publicly-advertised '), - Link(mm_cfg.MAILMAN_URL, _('Mailman')), - _(' mailing lists on %(hostname)s.'), - _(''' Click on a list name to visit the configuration pages for - that list.'''), + _('''<p>Below is the collection of publicly-advertised + %(mailmanlink)s mailing lists on %(hostname)s. Click on a list + name to visit the configuration pages for that list.'''), ]) creatorurl = Utils.ScriptURL('create') |
