From d29b5e0a07b8c8e01a287f5ade236a18426c90d4 Mon Sep 17 00:00:00 2001
From: bwarsaw
Date: Fri, 1 Jun 2001 07:14:03 +0000
Subject: RestrictedListMessage(): Fixed a typo (missing open paren), and
converted to multiline strings for ease of translation.
---
Mailman/HTMLFormatter.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index 5d47d475f..9c870d1dc 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -244,13 +244,14 @@ class HTMLFormatter:
def RestrictedListMessage(self, which, restriction):
if not restriction:
- return ""
+ return ''
elif restriction == 1:
return _(
- "The %(which)s is only available to the list members.)")
+ '''(The %(which)s is only available to the list
+ members.)''')
else:
- return _("The %(which)s is only available to the list"
- " administrator.")
+ return _('''(The %(which)s is only available to the list
+ administrator.)''')
def FormatRosterOptionForUser(self, lang):
return self.RosterOption(lang).Format()
--
cgit v1.2.3-70-g09d2