diff options
| author | bwarsaw | 2001-05-16 21:55:30 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-16 21:55:30 +0000 |
| commit | 3678cfa7fa6d263c8adc48317aa2af5324aa99d3 (patch) | |
| tree | c467bc67c0ee17617541d488aee1139ae5f7bbf1 | |
| parent | d354477eec6e94d2d87439f417d48f3ddb0880b8 (diff) | |
| download | mailman-3678cfa7fa6d263c8adc48317aa2af5324aa99d3.tar.gz mailman-3678cfa7fa6d263c8adc48317aa2af5324aa99d3.tar.zst mailman-3678cfa7fa6d263c8adc48317aa2af5324aa99d3.zip | |
admin_overview(): Application of SF patch #420396, submitted by Tokio
Kikuchi. Japanese translations have difficulty when the sentences are
split.
| -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') |
