From 65c75f77a4d3cd24614b72efd35891c3af46533e Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 19 Nov 2002 00:36:49 +0000 Subject: RestrictedListMessage(), RosterOption(), GetStandardReplacements(): Applied patch #600368 by Simone Piunno to ease translations for some languages. --- Mailman/HTMLFormatter.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Mailman/HTMLFormatter.py') diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index 03818ff4f..7dbd59b9e 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -272,10 +272,10 @@ class HTMLFormatter: return '' elif restriction == 1: return _( - '''(The %(which)s is only available to the list + '''(%(which)s is only available to the list members.)''') else: - return _('''(The %(which)s is only available to the list + return _('''(%(which)s is only available to the list administrator.)''') def FormatRosterOptionForUser(self, lang): @@ -298,8 +298,9 @@ class HTMLFormatter: only = _('the list administrator') whom = _('Admin address:') # Solicit the user and password. - container.AddItem(self.RestrictedListMessage(_('subscribers list'), - self.private_roster) + container.AddItem( + self.RestrictedListMessage(_('The subscribers list'), + self.private_roster) + _("

Enter your ") + whom[:-1].lower() + _(" and password to visit" @@ -387,7 +388,7 @@ class HTMLFormatter: '' : '', '' : self.FormatSubscriptionMsg(), '' : \ - self.RestrictedListMessage(_('current archive'), + self.RestrictedListMessage(_('The current archive'), self.archive_private), '' : `member_len`, '' : `dmember_len`, -- cgit v1.2.3-70-g09d2